{"$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":"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"InputExtensions.GetButtonName (cyclomatic 195): InputExtensions.GetButtonName has cyclomatic complexity 195 (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":"ShapeEngine/Input/InputExtensions.cs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"867344f4df36e0f6820e250dbc10c58c78675b97193cff95888e7c1a2536a454"}},{"ruleId":"D1","level":"warning","message":{"text":"StripedShapeDrawingExample.OnDrawGameExample (cyclomatic 97): StripedShapeDrawingExample.OnDrawGameExample has cyclomatic complexity 97 (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":"Examples/Scenes/ExampleScenes/StripedShapeDrawingExample.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5887e7aac55b98bb4a660ad0322a40e21724d6a5f31a4d88846334fcbaa23d3d"}},{"ruleId":"D1","level":"warning","message":{"text":"TextFont.DrawTextWrapChar (cyclomatic 58): TextFont.DrawTextWrapChar has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a55aaccb576657286cede36096c973dbf1c79da55e9c223354c36ba760da65"}},{"ruleId":"D1","level":"warning","message":{"text":"Polygon.GenerateStripedSegments (cyclomatic 57): Polygon.GenerateStripedSegments has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2cc57be3c181e078308f9badbd7f2f1495bee5dbcdffc608076c042ec12eaf"}},{"ruleId":"D1","level":"warning","message":{"text":"InputExtensions.GetButtonName (cyclomatic 53): InputExtensions.GetButtonName has cyclomatic complexity 53 (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":"ShapeEngine/Input/InputExtensions.cs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"f107f88580b00442f42efa2e88e0f3a2b4e370cecc5fad1429fbc5410e4d167d"}},{"ruleId":"D1","level":"warning","message":{"text":"GameloopExamples.Update (cyclomatic 45): GameloopExamples.Update has cyclomatic complexity 45 (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":"Examples/GameloopExamples.cs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ecd484f93b15670bd56b9fc74769bc42901b63e8b894441bf3d67cf494ef46"}},{"ruleId":"D1","level":"warning","message":{"text":"AdaptiveFpsLimiter.Update (cyclomatic 44): AdaptiveFpsLimiter.Update has cyclomatic complexity 44 (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":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aacbdbb526e43ae488a180b6267a99c7458ee473f3522018d595c3390d3d1d2"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlNode.InternalUpdate (cyclomatic 43): ControlNode.InternalUpdate has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"db29c416f548ff8cc8c291e0fba9d76477ed24f4adf6da663f3183257c844acd"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.GenerateStripedSegments (cyclomatic 41): Circle.GenerateStripedSegments has cyclomatic complexity 41 (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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a226a329c5f7836bed0b47965dc77c986120e0d734d493e50a2d66ca5c72fed"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.GenerateStripedSegments (cyclomatic 41): Quad.GenerateStripedSegments has cyclomatic complexity 41 (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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce09c6c5e4fa94d0c242f46c3a68831e8ff33336fcee6760845c52074f1cd87e"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.GenerateStripedSegments (cyclomatic 41): Rect.GenerateStripedSegments has cyclomatic complexity 41 (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":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9285eb798abff37b1b91acc664d8efcbcc50ec4c78dcfb9a2bcd4ed404280db"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.GenerateStripedSegments (cyclomatic 41): Triangle.GenerateStripedSegments has cyclomatic complexity 41 (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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af0b5c529a2431fa64e8632cf60b3c0cf9fbf51650f244b9504b57c021a505b"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.RunGameloop (cyclomatic 40): Game.RunGameloop has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8ff91b2c632766e12695316852cd86224af974d816d11c687b7516aac51ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.ConstructUnpackCommand (cyclomatic 38): Program.ConstructUnpackCommand has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d4c654987fd1193cb700b51f1d289470b6eca17e59ca7bd3012285f7e1083e"}},{"ruleId":"D1","level":"warning","message":{"text":"PolylineInflationExample.OnDrawGameExample (cyclomatic 36): PolylineInflationExample.OnDrawGameExample has cyclomatic complexity 36 (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":"Examples/Scenes/ExampleScenes/PolylineInflationExample.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1aa2ea1c179872e451a81c945dd432dd20c176411d2ba555551bc61244c65e"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.ConstructPackCommand (cyclomatic 35): Program.ConstructPackCommand 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":"ResourcePacker/Program.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecef73d874d13417cb18f27c2d06245d11bcf09dbadfeed9469c25ea066de88"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.DrawLinesPercentageHelper (cyclomatic 34): Triangle.DrawLinesPercentageHelper has cyclomatic complexity 34 (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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e836532cad2ab162b96bae66e02e009296bd6c21faff187abe182378e4dd6fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlNodeContainer.OnChildNavigated (cyclomatic 34): ControlNodeContainer.OnChildNavigated has cyclomatic complexity 34 (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":"ShapeEngine/UI/ControlNodeContainer.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa51c46d4e0c7eafd6990c8943bfbdd6f01b163783f7ed0637afa264db8bc34"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.IntersectShape (cyclomatic 32): Quad.IntersectShape has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca60c91613f6a6ca678847fa644dbe0f59dcc6250874ba9f372887e28eaa98db"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.IntersectShape (cyclomatic 32): Quad.IntersectShape has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"74966019171dcc0135d7fdb4cac7529928a6a203a9b50fac1a928ff98e9e9ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.IntersectShape (cyclomatic 32): Rect.IntersectShape has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6bc10e007c576d6cd120f511189b6201d9fedbd95b23c5ab16cf6f6e7acb2b"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.IntersectShape (cyclomatic 32): Rect.IntersectShape has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"60885b7ce87003a8d38936607c604fc36195d29bc4da302f3612e8d4d7bbc20d"}},{"ruleId":"D1","level":"warning","message":{"text":"InputExtensions.GetButtonName (cyclomatic 32): InputExtensions.GetButtonName has cyclomatic complexity 32 (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":"ShapeEngine/Input/InputExtensions.cs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a6e252757a63024ee584d5ee6d6dae3ad72fe3b8e1c53f7f55eb1bc5285cb4"}},{"ruleId":"D1","level":"warning","message":{"text":"EndlessSpaceCollision.OnUpdateExample (cyclomatic 32): EndlessSpaceCollision.OnUpdateExample has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1551aabb1a651fa18f200001d9677c201ffe8a98967aa4cc5494b0e17096fb0"}},{"ruleId":"D1","level":"warning","message":{"text":"SavegameExample.OnDrawUIExample (cyclomatic 31): SavegameExample.OnDrawUIExample has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/SavegameExample.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"752f88be6970e84a80ffe7db4ab8c8b6144724761bfa9c70ff4dc3a78b93e8e0"}},{"ruleId":"D1","level":"warning","message":{"text":"InputSystem.Update (cyclomatic 29): InputSystem.Update 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":"ShapeEngine/Input/InputSystem.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c8ac0453ca596bf1479013ea5fe10791546fd651ec60be5f0c05ae929e86c5"}},{"ruleId":"D1","level":"warning","message":{"text":"AsteroidMiningExample.OnHandleInputExample (cyclomatic 29): AsteroidMiningExample.OnHandleInputExample 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":"Examples/Scenes/ExampleScenes/AsteroidMiningExample.cs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaca2d1816a2ff9c1c55a976a46d0ac3909ae5275f980a35999e282c81ba7dfd"}},{"ruleId":"D1","level":"warning","message":{"text":"TextPackManager.Unpack (cyclomatic 28): TextPackManager.Unpack 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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d983343200006ed18b035f3ddd9b660d948dbf8cc93288bb05a16fdab0cff4"}},{"ruleId":"D1","level":"warning","message":{"text":"TextPackManager.UnpackParallel (cyclomatic 28): TextPackManager.UnpackParallel has cyclomatic complexity 28 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 9 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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5ea0be392ad5d16f4b522564f6e84ffdc44794be53f7cea18b7f6f1a7bd8d3"}},{"ruleId":"D1","level":"warning","message":{"text":"InputGesture.Update (cyclomatic 27): InputGesture.Update has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputGesture.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb5bda91d5a0a0eed17adc8e5d8f161db42a8ec19a71d5499e5e44a7ed95dc4"}},{"ruleId":"D1","level":"warning","message":{"text":"GameloopExamples.LoadContent (cyclomatic 27): GameloopExamples.LoadContent has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/GameloopExamples.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4b370b5a91e06315d69910b252d4faaac36548c1b950bc38efd7bfdde6355a"}},{"ruleId":"D1","level":"warning","message":{"text":"Autogun.FindNextTarget (cyclomatic 27): Autogun.FindNextTarget has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Autogun.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"70de44bfc8e19e47639944c6ff3ba165bacf4dd0ac08da24285dad1207b10cb6"}},{"ruleId":"D1","level":"warning","message":{"text":"LaserBeam.Update (cyclomatic 27): LaserBeam.Update has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/LaserBeam.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74a056dbafa4cdf8918d951b6a6bf83e938a8c838a7e22fcc897c3c58034cb3"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapeIntersectionExample.OnDrawGameExample (cyclomatic 27): ShapeIntersectionExample.OnDrawGameExample has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"5792b10f444a5d01039feceaeefc46db41bfb6961aa5d06b5dff4b29f99fc0a4"}},{"ruleId":"D1","level":"warning","message":{"text":"FramerateSettings.FramerateSettings.ctor (cyclomatic 26): FramerateSettings.FramerateSettings.ctor 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":"ShapeEngine/Core/Structs/FramerateSettings.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8c7e09a6a67a8c0c52a08bb6ce6100c10abffe1501713834f469f63a0173d1"}},{"ruleId":"D1","level":"warning","message":{"text":"TextFont.DrawTextWrapWord (cyclomatic 26): TextFont.DrawTextWrapWord 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":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"9975bdfd1cde1b4ae7c6905d88497165c09f575a2a2709ed476c26c996503eb3"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.DrawChamferedCornersRelative (cyclomatic 25): Quad.DrawChamferedCornersRelative has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"804f62e140c8f0488d065eed37fe950d267a8f602178f57cd7d3796ef4d74c8a"}},{"ruleId":"D1","level":"warning","message":{"text":"GamepadDevice.WasGamepadUsed (cyclomatic 25): GamepadDevice.WasGamepadUsed has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"408dc00e5e0699052af7dbe0304d8a033430444884b4517ec67da5afee809f3d"}},{"ruleId":"D1","level":"warning","message":{"text":"InputAction.UpdateAction (cyclomatic 25): InputAction.UpdateAction has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputAction.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edd3626c07efc0668750ecb65a3728e756402ddc2c9c104aa14443d5ce1a3af"}},{"ruleId":"D1","level":"warning","message":{"text":"IntersectionPoints.Filter (cyclomatic 24): IntersectionPoints.Filter has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dc2ff9164c11c211fde5c3de9b0371ceb4e8c2398f5b4f3316d0bf5ba1d00e"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.IntersectShape (cyclomatic 24): Quad.IntersectShape has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"703f9b092cedf42976b2e46c021cd74bcfec3f959fe7a09bb6b7c8966e576779"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.IntersectShape (cyclomatic 24): Rect.IntersectShape has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"256bb318586e1efea78c8db8f7e4998a32ee651bc191082a142de0b48e565ed5"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.IntersectShape (cyclomatic 24): Triangle.IntersectShape has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Triangle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdffbfbdedc676354a7b4bdcd1fc43e3ca1ee828bc6034d8ce31105a6487b8c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.IntersectShape (cyclomatic 24): Triangle.IntersectShape has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Triangle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa6dc668a99cb51848586e58a2a9ad28d1357cbf61e64e1aecb32125201fa2b"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyboardDevice.WasKeyboardUsed (cyclomatic 24): KeyboardDevice.WasKeyboardUsed has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/KeyboardDevice.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"95887cf75aecf717fed99f564026be261913ac197b4c692462ce3f6d9a4e8b51"}},{"ruleId":"D1","level":"warning","message":{"text":"MouseDevice.WasMouseUsed (cyclomatic 24): MouseDevice.WasMouseUsed has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/MouseDevice.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d565c8ac9afe94260ef27b44a269007da4545f2b1cbdec129d0d27c0c219694e"}},{"ruleId":"D1","level":"warning","message":{"text":"MouseDevice.GetValue (cyclomatic 24): MouseDevice.GetValue has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/MouseDevice.cs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c94af7756e134571cdd3a842f78bbc08bbb4e90720375f1fd91c4c3b179d640"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentPack.UnpackTextToMemoryParallel (cyclomatic 23): ContentPack.UnpackTextToMemoryParallel has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8f4248c39bc262f5d8e9a18bd88d79942c4af8203fdad21f2d37da6e0ae3e4"}},{"ruleId":"D1","level":"warning","message":{"text":"CollisionHandler.ProcessCollisionObjectThreadSafe (cyclomatic 23): CollisionHandler.ProcessCollisionObjectThreadSafe 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. This shape REPEATS in the file: one other method here (CollisionHandler.ProcessCollisionObject) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf57556f5abda4981007b21cb1e473ab3cfad9abbb9c89920edc0f5ce42ca31"}},{"ruleId":"D1","level":"warning","message":{"text":"CollisionHandler.ProcessCollisionObject (cyclomatic 23): CollisionHandler.ProcessCollisionObject 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. This shape REPEATS in the file: one other method here (CollisionHandler.ProcessCollisionObjectThreadSafe) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fb74b59444bde5966b751d1b17f9a9dfe45c92073a8c749e9416b86fe37bcd"}},{"ruleId":"D1","level":"warning","message":{"text":"EndlessSpaceCollision.OnHandleInputExample (cyclomatic 23): EndlessSpaceCollision.OnHandleInputExample 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":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a1011898e1502ebc194d16ac622484f38d2dc274c8c21449a456788ef6fd01"}},{"ruleId":"D1","level":"warning","message":{"text":"TextExampleScene.OnHandleInputExample (cyclomatic 23): TextExampleScene.OnHandleInputExample 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":"Examples/Scenes/TextExampleScene.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa56ce7b7e05c4d0a3686510cf67873b29c566705215fb3cd9164d8496cea22"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.DrawCorners (cyclomatic 22): Quad.DrawCorners has cyclomatic complexity 22 (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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad677927a651b2e2483489935b370571afd537b4bd7575fa3f979d1bffaa154"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.DrawCorners (cyclomatic 22): Triangle.DrawCorners has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Triangle.DrawCornersRelative) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6027381bbc469a5aab5a7d935e57afd8c0c827ac23b5a9b36505e80e2e262502"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.DrawCornersRelative (cyclomatic 22): Triangle.DrawCornersRelative has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Triangle.DrawCorners) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a3f1eb72fd9448a09b8b6c900a74f8073cc791f173cc189c59479fb702cec1"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.Main (cyclomatic 22): Program.Main has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"881562fab392f4e1a981b89eb7663d4b37a8c6eed49092feaf431ff4d5f8e540"}},{"ruleId":"D1","level":"warning","message":{"text":"GameWindow.CheckForWindowConfigFlagChanges (cyclomatic 21): GameWindow.CheckForWindowConfigFlagChanges has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7b3f3aba63b2b5d08b81f5b81675437ab13bab1d8a5421e8b95a7ea5f44775"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.DrawChamferedCorners (cyclomatic 21): Quad.DrawChamferedCorners has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"349dd0cb36247687b77dc8e46c1160343d73c68d373c1ab77a26fe63b8a1873a"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.DrawLinesHelper (cyclomatic 20): Triangle.DrawLinesHelper has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0e613ba93fb2d3688e97e3a9ccd2ef946cf1f7d2775f9a4c2b22d4591c6651"}},{"ruleId":"D1","level":"warning","message":{"text":"GameWindow.CheckForCursorChanges (cyclomatic 19): GameWindow.CheckForCursorChanges has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdabbe1bd089b623a6c8d7a1e01b275c284a7a32180ea5239232fabd72430ff9"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.OverlapQuadQuad (cyclomatic 19): Quad.OverlapQuadQuad 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":"ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"360245f4500f019106ff17f0954486f283c3f90c66e500df13858ac31dcd460d"}},{"ruleId":"D1","level":"warning","message":{"text":"Segment.DrawSegmentSeparateCaps (cyclomatic 19): Segment.DrawSegmentSeparateCaps 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":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cd04fd90662d0fdaf97d29936a6fcd0d4e54be85592b92ec456e1f5740b5e4"}},{"ruleId":"D1","level":"warning","message":{"text":"Autogun.Update (cyclomatic 19): Autogun.Update has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Autogun.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad042dd6ef2441384fcbf55b29ecbec6f3813e3d49bf00edd1bbf3ac64fef633"}},{"ruleId":"D1","level":"warning","message":{"text":"Ship.Update (cyclomatic 19): Ship.Update has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PhysicsExampleSource/Ship.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80df0babb0065603791a3bcfec9a12f53209e4c757095655b711c98190632ef"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.DrawStriped (cyclomatic 18): Circle.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Circle.DrawStriped, Circle.DrawStriped, Circle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e491d604123027d38e3e1d092259a14491a10a0bea6f2b9e9519c2ee460354"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.DrawStriped (cyclomatic 18): Circle.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Circle.DrawStriped, Circle.DrawStriped, Circle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e300fbd23dce31f44c3e7db520f8a7a92af800894d06d54bd12416366b29b47"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.DrawStriped (cyclomatic 18): Circle.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Circle.DrawStriped, Circle.DrawStriped, Circle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0b5bc9de8e1e2cd369ef0fae9fa94ea40ef1d3acfb17753adfe45ead2d8f1a"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.DrawStriped (cyclomatic 18): Circle.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Circle.DrawStriped, Circle.DrawStriped, Circle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba99012bbaf3d906203afc54ce01964a95997bc8b283a8e23dc8ec11257a23fc"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.DrawStriped (cyclomatic 18): Quad.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Quad.DrawStriped, Quad.DrawStriped, Quad.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"135d977471e1887c317652f24f4552cf1b5995c04a9fe2c8ae6a5caa8b92b05b"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.DrawStriped (cyclomatic 18): Quad.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Quad.DrawStriped, Quad.DrawStriped, Quad.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee24174fa237ef7cba754df0595691ca1ea5733dae5ff03c799e22cc6f3995d"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.DrawStriped (cyclomatic 18): Quad.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Quad.DrawStriped, Quad.DrawStriped, Quad.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbfa9fd086f3dc0b97b56bb87414e937715ad76235ad846932c5e2b128b4e1a"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.DrawStriped (cyclomatic 18): Quad.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Quad.DrawStriped, Quad.DrawStriped, Quad.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1881307d121e7d03f796489fa82527149c49c0b70f76abbce942522a337f9b"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.OverlapShape (cyclomatic 18): Quad.OverlapShape 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. This shape REPEATS in the file: one other method here (Quad.OverlapShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac23d2d94b5e67acdbb2d027e0b32966e6dbcc9013dd874470ad458799a823f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.OverlapShape (cyclomatic 18): Quad.OverlapShape 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. This shape REPEATS in the file: one other method here (Quad.OverlapShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e43850e754597d1f4d17be8f93f8e701988d43a4aab46b82a05937b88f371ea"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.DrawStriped (cyclomatic 18): Rect.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Rect.DrawStriped, Rect.DrawStriped, Rect.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"b399043e3c7b99dfacb96a9e5b5da4c1d4659a1c42d2affb0f12200f082b3336"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.DrawStriped (cyclomatic 18): Rect.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Rect.DrawStriped, Rect.DrawStriped, Rect.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ced50543a4118b10ca3b67e9c7f5184bd29973dbcde18bbca0c910417b0eb3"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.DrawStriped (cyclomatic 18): Rect.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Rect.DrawStriped, Rect.DrawStriped, Rect.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e2fb699487c0edc046252a2f082ef14d1d87a7e8e2acb420789cebd6ee4960"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.DrawStriped (cyclomatic 18): Rect.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Rect.DrawStriped, Rect.DrawStriped, Rect.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"324ea02c23f47b9561eb5285888a73ec89fc1f0cebe9fe02219f5a0ccaf8a39c"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.DrawStriped (cyclomatic 18): Triangle.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Triangle.DrawStriped, Triangle.DrawStriped, Triangle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d7fa9d447e3a534f187bb7b8ec4e52289f53035bece2001e5154e95f07f420"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.DrawStriped (cyclomatic 18): Triangle.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Triangle.DrawStriped, Triangle.DrawStriped, Triangle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df18cc417005ec6ea5e129984df318a10e91eeab0ce12d656c47e34ed6f9bdb"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.DrawStriped (cyclomatic 18): Triangle.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Triangle.DrawStriped, Triangle.DrawStriped, Triangle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2345a24258b2b2c25983817cac264f98f8c00f9f69d06a51657a309f39afc7f"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.DrawStriped (cyclomatic 18): Triangle.DrawStriped has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Triangle.DrawStriped, Triangle.DrawStriped, Triangle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad402fc51160cf1f9d3fcb1f0517879cdeee5a2afa3402f4346998945150229"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.IntersectShape (cyclomatic 18): Triangle.IntersectShape has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1f4ed88d1a8f9a6bb0722bbb8924bc311f6b689a9df9b2b30658ea848dcc14"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleStat.ApplyModifierBounds (cyclomatic 18): SimpleStat.ApplyModifierBounds has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/SimpleStat.cs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"b479ba748c12656ff33f5afc83e774ac2dcfb4da09c3f854016742766586e06c"}},{"ruleId":"D1","level":"warning","message":{"text":"Stat.Recalculate (cyclomatic 18): Stat.Recalculate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/Stat.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a422373f9a36f7dd861010fdca7571be3f1369ba1d60d1b9abf25b2f049d73f0"}},{"ruleId":"D1","level":"warning","message":{"text":"PathfinderExample.OnHandleInputExample (cyclomatic 18): PathfinderExample.OnHandleInputExample 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":"Examples/Scenes/ExampleScenes/PathfinderExample.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"788b9a3eb199faf13a02d7a9fbb85a83231bd7f5e60a4f35eec3174a1ff161d9"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.ProcessArguments (cyclomatic 18): Program.ProcessArguments has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d9786a69e51cf77fad93b3330f6291826e9a09146975cebf08be96652b93e5"}},{"ruleId":"D1","level":"warning","message":{"text":"TextPackManager.PackParallel (cyclomatic 18): TextPackManager.PackParallel has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f056ba4db926e36decc2518ee1721ac6092d4ca876f7e265b51230b906273"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.IntersectShape (cyclomatic 17): Circle.IntersectShape has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Circle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1edbcc3250b2548dd831162da5d01c75f430de1aebc0b1032fd5d29a1673541"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.IntersectShape (cyclomatic 17): Circle.IntersectShape has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Circle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"59acee2d545942ab9e936d58260cbbe31fe7582688e6271c0fa48da0be4d2417"}},{"ruleId":"D1","level":"warning","message":{"text":"Polyline.DrawGappedOutline (cyclomatic 17): Polyline.DrawGappedOutline has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbe6de988c92da6cc0498499a676225f46fa9a2caa3fc7d2dea247d75884b78"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.DrawLinesPercentage (cyclomatic 17): Quad.DrawLinesPercentage 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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58e6cd7b8b6c064defab4205d16f2e66a5afe7b30e1c4cc839a09874102c95b"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.IntersectShape (cyclomatic 17): Quad.IntersectShape has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8bd413a3d13b6d2952c0f036fb80cb18bd07a32498404b9e10236527570501"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.IntersectShape (cyclomatic 17): Quad.IntersectShape 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. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3740e4c5654926eba20b37f9e0243740fdd6b9c1ac68f75be403f4038ea83fe"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.IntersectShape (cyclomatic 17): Quad.IntersectShape 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. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0f8773c6d671b880244c6371b34322a7bfcfa80ec9f2f49d42083ccf942015"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.IntersectShape (cyclomatic 17): Rect.IntersectShape has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5538f1fda380155f293a9e2a20b8c52864c7f0e9ce383abf4d697f17941b140"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.IntersectShape (cyclomatic 17): Rect.IntersectShape 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. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"70791f5c29374340397e856b02edc6ee64c71b5bb0cf97b06a25c77977c0a37b"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.IntersectShape (cyclomatic 17): Rect.IntersectShape 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. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76f5589c4ccb3d69b8729d58c30a1e3292130303a38fc77fc6ba764234bd3ed"}},{"ruleId":"D1","level":"warning","message":{"text":"Segment.DrawMasked (cyclomatic 17): Segment.DrawMasked has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8273897284f2a9891a421bf6ae4194239ae3cc5bc9cd8613218a38b85fcd292"}},{"ruleId":"D1","level":"warning","message":{"text":"AStar.GetPath (cyclomatic 17): AStar.GetPath has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (AStar.GetPathAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb65af8843a5be65348423803bfdc8eb1d2b76ae06b0aa91f741590de50f101"}},{"ruleId":"D1","level":"warning","message":{"text":"AStar.GetPathAsync (cyclomatic 17): AStar.GetPathAsync has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 183). 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. This shape REPEATS in the file: one other method here (AStar.GetPath) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0444983311af406ee1e37c438bd5708aa47fd3a249944a03b36f0667dd4e793a"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlNodeNavigator.GetNeighborDistance (cyclomatic 17): ControlNodeNavigator.GetNeighborDistance has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f888e4e48412728c84e5cbdd016b1cb545000b609c77733441adb7cdf909925e"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapeIntersectionExample.OnHandleInputExample (cyclomatic 17): ShapeIntersectionExample.OnHandleInputExample has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"325faf4b16240a674eb7ca97214eee58dec667b87f52306fdf673c7ecf047795"}},{"ruleId":"D1","level":"warning","message":{"text":"BinaryPackManager.Unpack (cyclomatic 17): BinaryPackManager.Unpack has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc789dbefe5a85317c0dc45107b510f9cafb7339991a615aa40b8306ee7a7e7"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.Game.ctor (cyclomatic 16): Game.Game.ctor has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"16eba2bcc2cf29d83923cc3070d4de0803d44476f6258ed155bb2e498c1e273e"}},{"ruleId":"D1","level":"warning","message":{"text":"SpawnArea.Update (cyclomatic 16): SpawnArea.Update has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/SpawnArea.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc51f064582b32e1470f6ae70cc7330af7632e7cfa5f23be1653aae4e906e15e"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.DrawStriped (cyclomatic 16): Circle.DrawStriped has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce63d28fccfb51ba6a389207e00bd6ed1a61f583f78698a694ad1e1bef27074"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.IntersectShape (cyclomatic 16): Circle.IntersectShape has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Circle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a30e028938e0b4446680d4595539c6f628f4bb03606c341b4f5ff0b362a1da2"}},{"ruleId":"D1","level":"warning","message":{"text":"Circle.IntersectShape (cyclomatic 16): Circle.IntersectShape has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Circle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffee73aa7403f82211fea5099643229402869a6e8fcca7dff2090f7c4efd95e9"}},{"ruleId":"D1","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.AddCollider (cyclomatic 16): BroadphaseDynamicSpatialHash.AddCollider has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"68009c326308d08595f1d7b4b0b17b2cbbef36cd67e6c2f56169f927d73f4d9c"}},{"ruleId":"D1","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cyclomatic 16): CollisionHandler.IntersectSpace has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8e0fe1d2e13c34d5d674a1200ee69c9b209064e6e8014196055e72bff62f55"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.GetClosestPoint (cyclomatic 16): Quad.GetClosestPoint has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Quad.GetClosestPoint) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"748c99e3f5937aeeae7c0e05263cc9e14e04b979dddbb4bdbdf2ff64222bb985"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.GetClosestPoint (cyclomatic 16): Quad.GetClosestPoint has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Quad.GetClosestPoint) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fc64dafdd472f45636c4b4b27a539ae0c89a7a9ca12249c231777874e00566"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.DrawStriped (cyclomatic 16): Quad.DrawStriped has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7776234d15e07a2880b8021d1d4783c092a78a74662f42d3390bdaca226bbd6"}},{"ruleId":"D1","level":"warning","message":{"text":"Quad.IntersectShape (cyclomatic 16): Quad.IntersectShape has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0098c1e5ec5e1dbc2725b1585a70eace5cb110115efcae3fb58582e8a72dc12"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.GetClosestPoint (cyclomatic 16): Rect.GetClosestPoint has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Rect.GetClosestPoint) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectClosestPoint.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"973111f9b51938f0082eec5933f4efe2aae000b1ed06c57ecb095856332924c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.GetClosestPoint (cyclomatic 16): Rect.GetClosestPoint has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Rect.GetClosestPoint) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectClosestPoint.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1a67c4ceb8730ed165260f515073ca42c2d1eedc74ca08f0f3cfc900ac589f"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.DrawStriped (cyclomatic 16): Rect.DrawStriped has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9714c91855e5f395ecf3c0c1f1b83ef93fdfa27606d8285dcf1f3f451191ce3"}},{"ruleId":"D1","level":"warning","message":{"text":"Rect.IntersectShape (cyclomatic 16): Rect.IntersectShape has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c230c1141dcb09689290f175a9f5a498daa17092169f3c309fb9ef61cd7b420"}},{"ruleId":"D1","level":"warning","message":{"text":"Triangle.DrawStriped (cyclomatic 16): Triangle.DrawStriped has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dda17832ed61820d9f01420f89d92c021667626e91b87e155adb3c2d261bf6c"}},{"ruleId":"D1","level":"warning","message":{"text":"StatSet.Test_DirtyTracking_OnlyRecalculatesAffectedStats (cyclomatic 16): StatSet.Test_DirtyTracking_OnlyRecalculatesAffectedStats has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 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":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6c448b39324bfd9fc860570153815ae3da8dcfde2141f407bd08f7fd3daeeb"}},{"ruleId":"D1","level":"warning","message":{"text":"BitmapFont.DrawWithWrap (cyclomatic 16): BitmapFont.DrawWithWrap has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c832fcfdeb0b29f087112a6a758a65633b8f2568609d8a4ed64fb78f941194da"}},{"ruleId":"D1","level":"warning","message":{"text":"BinaryPackManager.Pack (cyclomatic 16): BinaryPackManager.Pack has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed161afd1c3798c11004d96f2a5d1bb462cfffbac091da41e0e776300ae68920"}},{"ruleId":"D1","level":"warning","message":{"text":"TextPackManager.Pack (cyclomatic 16): TextPackManager.Pack has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"725a2a7d6e19b8de8864ea42e439d4d37ce2a9fc5ca9c031a37c879c66db7659"}},{"ruleId":"D2","level":"warning","message":{"text":"TextFont.DrawTextWrapChar (cognitive 324): TextFont.DrawTextWrapChar has cognitive complexity 324 (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":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8695744ffa687f508beec062195362f08f3f5affaa46a130b97eb1962993fdc"}},{"ruleId":"D2","level":"warning","message":{"text":"StripedShapeDrawingExample.OnDrawGameExample (cognitive 302): StripedShapeDrawingExample.OnDrawGameExample has cognitive complexity 302 (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":"Examples/Scenes/ExampleScenes/StripedShapeDrawingExample.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"889edab42ba47fa7d1b2c85e625f710d103c20c73b15e22377d335d9dcee8047"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.GenerateStripedSegments (cognitive 186): Polygon.GenerateStripedSegments has cognitive complexity 186 (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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"df55580d0f32fe96fee753d952c3708fb515c7856b99b515ae86255f6521370e"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.ConstructUnpackCommand (cognitive 182): Program.ConstructUnpackCommand has cognitive complexity 182 (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":"ResourcePacker/Program.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9ce101ba01c93f65f72d3b908a273640740c95e7eb1bac38e4be19fbb90052"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.ConstructPackCommand (cognitive 148): Program.ConstructPackCommand has cognitive complexity 148 (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":"ResourcePacker/Program.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14cb6a9edcc96b4bdeb88f89057c822704d0e8046d80c5a2679645c0eb700df"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Main (cognitive 131): Program.Main has cognitive complexity 131 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c721bef1a63962253f674388894a5e3f405c598f348e87020f674dda653a5f"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.RunGameloop (cognitive 112): Game.RunGameloop has cognitive complexity 112 (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":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae1533c09aeab058afe22cb0ffe8763cafa5fa9399970d911894bc8d027826c"}},{"ruleId":"D2","level":"warning","message":{"text":"AdaptiveFpsLimiter.Update (cognitive 98): AdaptiveFpsLimiter.Update has cognitive complexity 98 (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":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a0d8cf2ca5dce16dda8575ba2162d292bd08ac30f760f02f6d39d5f54a72a6"}},{"ruleId":"D2","level":"warning","message":{"text":"TextFont.DrawTextWrapWord (cognitive 97): TextFont.DrawTextWrapWord has cognitive complexity 97 (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":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"541a8d229cfd67dd02264b127df3c560d1a65ffc1a3d0ddb710a2bb14ea84945"}},{"ruleId":"D2","level":"warning","message":{"text":"Autogun.FindNextTarget (cognitive 94): Autogun.FindNextTarget has cognitive complexity 94 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Autogun.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab199195d82365e34643ab6532e59051234c6329455d0f5afe1dd0afa2cad79c"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.GenerateStripedSegments (cognitive 92): Circle.GenerateStripedSegments has cognitive complexity 92 (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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7941c8262f5a4ab1ef8495dec0f7a0ace8f2fa86bc184e5040a720f29205c8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.GenerateStripedSegments (cognitive 92): Quad.GenerateStripedSegments has cognitive complexity 92 (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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5752a67b5a64257bf6e9bea9f72d30d9bb71d984c4b39a40af41775394ee407b"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.GenerateStripedSegments (cognitive 92): Rect.GenerateStripedSegments has cognitive complexity 92 (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":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"29719a7ecef28daa7085fd37f1fdf78f2d7807d0a318af80eef219e92cf9f571"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.GenerateStripedSegments (cognitive 92): Triangle.GenerateStripedSegments has cognitive complexity 92 (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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa54bd704db2f0b89e9adec3b441e0f4b03b77f29df43bb900bbbbc92fecd80"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlNode.InternalUpdate (cognitive 92): ControlNode.InternalUpdate has cognitive complexity 92 (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":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5b309773ce8b463105e53bce896c39a5a1620322cdf3a3f1db8b19abbe8dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"PolylineInflationExample.OnDrawGameExample (cognitive 91): PolylineInflationExample.OnDrawGameExample has cognitive complexity 91 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PolylineInflationExample.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb5c97eaa33cc87ad6eef9d673ea44e62132b53c17b9336a602d0a6273691ab"}},{"ruleId":"D2","level":"warning","message":{"text":"InputExtensions.GetButtonName (cognitive 83): InputExtensions.GetButtonName has cognitive complexity 83 (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":"ShapeEngine/Input/InputExtensions.cs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7345ff05ae31da76a32433a5edcda3b721b793fd2a02fb14aaf0f28ca0390d2"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.ProcessCollisionObjectThreadSafe (cognitive 79): CollisionHandler.ProcessCollisionObjectThreadSafe has cognitive complexity 79 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (CollisionHandler.ProcessCollisionObject) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc4ce454025e1830b038dd107f260eba997fc0723696c6ee4e9411c0c84502d"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.ProcessCollisionObject (cognitive 79): CollisionHandler.ProcessCollisionObject has cognitive complexity 79 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (CollisionHandler.ProcessCollisionObjectThreadSafe) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e8a52b23a233fd71eab8974e45429e7543ce51b626f2768d0c77aec9d27b02"}},{"ruleId":"D2","level":"warning","message":{"text":"AsteroidMiningExample.OnHandleInputExample (cognitive 77): AsteroidMiningExample.OnHandleInputExample has cognitive complexity 77 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/AsteroidMiningExample.cs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"828e0ed3b69fdbadfd45ad26946a2ec0ebd5c710bdad72fdc46a73188e5df1c5"}},{"ruleId":"D2","level":"warning","message":{"text":"InputGesture.Update (cognitive 68): InputGesture.Update has cognitive complexity 68 (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":"ShapeEngine/Input/InputGesture.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9bed8cf11b3af361f6eb821f0be6f35d46a5cb49329c5875b5fada4913719f"}},{"ruleId":"D2","level":"warning","message":{"text":"GameloopExamples.Update (cognitive 67): GameloopExamples.Update has cognitive complexity 67 (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":"Examples/GameloopExamples.cs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3ed82b109d71f5674a01ae452992d3639e4517bca7e3eea61e1ed72a245762"}},{"ruleId":"D2","level":"warning","message":{"text":"EndlessSpaceCollision.OnUpdateExample (cognitive 62): EndlessSpaceCollision.OnUpdateExample 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":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"7411c7b17f676975f05571e1a8aa99289d920503a69ccdbb8157bc7889f40cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"InputSystem.Update (cognitive 58): InputSystem.Update has cognitive complexity 58 (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":"ShapeEngine/Input/InputSystem.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a154ee1d252ed76c1dd16fcbe60dff177e96f04038aac87a4a61c4847bdbdf20"}},{"ruleId":"D2","level":"warning","message":{"text":"LaserBeam.Update (cognitive 57): LaserBeam.Update has cognitive complexity 57 (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":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/LaserBeam.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4b3b0faf5da95fb38c48286ed8af7a8957966225760076b4f6fff70aff1c36"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawLinesPercentageHelper (cognitive 56): Triangle.DrawLinesPercentageHelper has cognitive complexity 56 (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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eebe8da2fc867b5ebe06462cbe36d23490063067a60005dbb4f139c96ebcf1d"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlNodeContainer.OnChildNavigated (cognitive 56): ControlNodeContainer.OnChildNavigated has cognitive complexity 56 (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":"ShapeEngine/UI/ControlNodeContainer.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac535731622cef6a570bf06a020c796e1b9e4b38ed5027787bbe749c812a092"}},{"ruleId":"D2","level":"warning","message":{"text":"TextPackManager.Unpack (cognitive 54): TextPackManager.Unpack has cognitive complexity 54 (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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc25f024929b02664a40cb9b69d2260ff869c4ba9ae9846f77d57f28e4e2ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"InputExtensions.GetButtonName (cognitive 53): InputExtensions.GetButtonName has cognitive complexity 53 (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":"ShapeEngine/Input/InputExtensions.cs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fd1a82ad1fddd4cdea7e7aa63bd3fa2d1c23df23b82ee6356926c3f219571c"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPack.UnpackTextToMemoryParallel (cognitive 52): ContentPack.UnpackTextToMemoryParallel has cognitive complexity 52 (threshold 15). Of this number, 50 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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"8736a39260fb136798380a847e8e0b5ea1ae5bfd94c2cdbe86ab99458b67446f"}},{"ruleId":"D2","level":"warning","message":{"text":"SavegameExample.OnDrawUIExample (cognitive 52): SavegameExample.OnDrawUIExample has cognitive complexity 52 (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":"Examples/Scenes/ExampleScenes/SavegameExample.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"962740b50f7493ae13c67d990bbc64a1c7d4957ae28dd638f73e86b7195bc6fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeIntersectionExample.OnDrawGameExample (cognitive 52): ShapeIntersectionExample.OnDrawGameExample 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":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2756cec0f50f11a89b597cc0e8b0dbbd3b4bb4fc16d6ee893d3f97276ceedab"}},{"ruleId":"D2","level":"warning","message":{"text":"GamepadDevice.WasGamepadUsed (cognitive 51): GamepadDevice.WasGamepadUsed has cognitive complexity 51 (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":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f23ee7cafaea171045b9901e85bd92284595fc0cc1a318f4ce66c204c9e5a84"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardDevice.WasKeyboardUsed (cognitive 51): KeyboardDevice.WasKeyboardUsed has cognitive complexity 51 (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":"ShapeEngine/Input/KeyboardDevice.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7104cb6eff5f5005ef05b6e28dbdda2f47c562a8968c4301fa38f8fe1f6cc80c"}},{"ruleId":"D2","level":"warning","message":{"text":"MouseDevice.WasMouseUsed (cognitive 51): MouseDevice.WasMouseUsed has cognitive complexity 51 (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":"ShapeEngine/Input/MouseDevice.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ae2355ef063b81ad35adcda396bba58d4f4b7738c44025a44eb0427efa4c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"Polyline.DrawGappedOutline (cognitive 50): Polyline.DrawGappedOutline has cognitive complexity 50 (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":"ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14fb84c02e181f751149624e6f5766de3bb2b222dcf076b367378193d3697f3"}},{"ruleId":"D2","level":"warning","message":{"text":"AStar.GetPath (cognitive 48): AStar.GetPath has cognitive complexity 48 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AStar.GetPathAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5f24efd99f7aef7c5fd1494bdc7376dac7411fc952c7a67c23201a7ae24856"}},{"ruleId":"D2","level":"warning","message":{"text":"AStar.GetPathAsync (cognitive 48): AStar.GetPathAsync has cognitive complexity 48 (threshold 15). None of this is in the body itself: all 48 points belong to one function literal inside it that branches (line 183). 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. This shape REPEATS in the file: one other method here (AStar.GetPath) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66ee1fb1d20a068158624297481bdb87e40f77771531360a7a760a98457d73a"}},{"ruleId":"D2","level":"warning","message":{"text":"MouseDevice.GetValue (cognitive 47): MouseDevice.GetValue has cognitive complexity 47 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/MouseDevice.cs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"140dae88acabc297624ef4fa98f1765f02de4ba33f75b25923a38d7519897fd9"}},{"ruleId":"D2","level":"warning","message":{"text":"TextExampleScene.OnHandleInputExample (cognitive 47): TextExampleScene.OnHandleInputExample 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":"Examples/Scenes/TextExampleScene.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3aa9854b9bde2fca8e123a54f21b6d0861e3e5f9bc675fa55d53eb3688ec6ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 46): Quad.IntersectShape has cognitive complexity 46 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5904f92d0bcf4d241fa49148a43e856bf642158c8537d58d46e34c4d5e376aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 46): Quad.IntersectShape has cognitive complexity 46 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec084276d3b04e01bef99db39cb3e3690f116836c34f93c83d4d4161904142a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 46): Rect.IntersectShape has cognitive complexity 46 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"513d030e15704a9bacb0bc891665df0716bd70b7480448a0ceed261668ffeb3c"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 46): Rect.IntersectShape has cognitive complexity 46 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"03478419e5c90d0209d18ac6749c57425cfd2f8b82715f302f3153add80e0df0"}},{"ruleId":"D2","level":"warning","message":{"text":"TextPackManager.UnpackParallel (cognitive 46): TextPackManager.UnpackParallel has cognitive complexity 46 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 18 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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3c6b118c42f8619b86debea9bc5fa331b1335e24672b532cdfffc9d70d7bff"}},{"ruleId":"D2","level":"warning","message":{"text":"InputAction.UpdateAction (cognitive 41): InputAction.UpdateAction has cognitive complexity 41 (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":"ShapeEngine/Input/InputAction.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4bf4f4c094327c91f7d161ca983fcb5c803dfc627a9d5aa6b1f655a636b5ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlNodeNavigator.Update (cognitive 41): ControlNodeNavigator.Update has cognitive complexity 41 (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":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cb06fd9a9d538b867c5ff68d4ba630e58c71bd868de07ad3698cac065f354d"}},{"ruleId":"D2","level":"warning","message":{"text":"GameloopExamples.LoadContent (cognitive 41): GameloopExamples.LoadContent has cognitive complexity 41 (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":"Examples/GameloopExamples.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3004cb2ad952af67425622be5e542e520137cb33b8c73cd4cb946b4f830370"}},{"ruleId":"D2","level":"warning","message":{"text":"FramerateSettings.FramerateSettings.ctor (cognitive 39): FramerateSettings.FramerateSettings.ctor has cognitive complexity 39 (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":"ShapeEngine/Core/Structs/FramerateSettings.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f21f194d0e100fb28bda0d5e7aafee37afd25bdb7845a42efd61b23398035ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawCorners (cognitive 39): Triangle.DrawCorners has cognitive complexity 39 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Triangle.DrawCornersRelative) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc79e78f2aa62eb86a7000b44e25548f982ba0a700f4e1891db26b091faf4508"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawCornersRelative (cognitive 39): Triangle.DrawCornersRelative has cognitive complexity 39 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Triangle.DrawCorners) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64f47ad6690c7021a697843918b7e42c1ad5164905953b78bcaeafcd3b8b21c"}},{"ruleId":"D2","level":"warning","message":{"text":"Ship.Update (cognitive 39): Ship.Update has cognitive complexity 39 (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":"Examples/Scenes/ExampleScenes/PhysicsExampleSource/Ship.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a26225567314475a02c80a1f56306fff790b8ef71fa51e92760264d822fb08"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.Game.ctor (cognitive 37): Game.Game.ctor has cognitive complexity 37 (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":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b1762b5f9a2e71ed33723c3dec3d6ce256117f559f627534954a973b00990f"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 37): CollisionHandler.IntersectSpace has cognitive complexity 37 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"267ba33b74151b6727190267ebaf632c12cfbfac36e7d846a052de1da5a01e32"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawLinesHelper (cognitive 37): Triangle.DrawLinesHelper has cognitive complexity 37 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8649e24a1d0ae95249384b89c9c29640fa0749eb8c04424c017bf2e2a70afdf"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawLinesPercentage (cognitive 36): Quad.DrawLinesPercentage has cognitive complexity 36 (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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2944b4d7d48e3d9bc25070c55ec6166cc1c1c01ddc0b7c113ee0267c4126b97"}},{"ruleId":"D2","level":"warning","message":{"text":"CellCollisionSystem.ResolveColliderCollisions (cognitive 35): CellCollisionSystem.ResolveColliderCollisions has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"339f8487cd84b20308f6b292f3a132de8e205a426e1aa07b6e87dfdfbab1ff3a"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.DrawStriped (cognitive 35): Circle.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Circle.DrawStriped, Circle.DrawStriped, Circle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"db06027434a789d9cade6989e283bf4f94c00df12f28f4204ffb8ee6fe1eabde"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.DrawStriped (cognitive 35): Circle.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Circle.DrawStriped, Circle.DrawStriped, Circle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dec3f11ed6eee8da413335cb9ad72a2272f660b5fe3d7664d7b1d5cabe7493c"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.DrawStriped (cognitive 35): Circle.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Circle.DrawStriped, Circle.DrawStriped, Circle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"a167a74d71b2a3b65a55cf167001c8d973a7e9edeb89722fd992407445bbba0f"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.DrawStriped (cognitive 35): Circle.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Circle.DrawStriped, Circle.DrawStriped, Circle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33b971de63084e66bcf202d81b75288fd913af381f1dd368c005753bba209f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawStriped (cognitive 35): Quad.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Quad.DrawStriped, Quad.DrawStriped, Quad.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d9195a1743e9244a5a8c2025bc7f7c4e77192cfd7e88ba718128acaed18f7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawStriped (cognitive 35): Quad.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Quad.DrawStriped, Quad.DrawStriped, Quad.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"98845180a5917af6aaafe63a4614d7aecbfb10f7bbd82e1a2f8321c8d4971c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawStriped (cognitive 35): Quad.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Quad.DrawStriped, Quad.DrawStriped, Quad.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df0e314e930b7fd5dc0fb7d58696082bfdd87b40de23200841448bc0505717f"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawStriped (cognitive 35): Quad.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Quad.DrawStriped, Quad.DrawStriped, Quad.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e26632adcdf6cfaaf7767bbe38f4b543608fdc51f44f4376476f3df33f193f"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.DrawStriped (cognitive 35): Rect.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Rect.DrawStriped, Rect.DrawStriped, Rect.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aee82a6611ce358328ada93583fe0fb4523e6934108cdc6a3955ac8e751bba"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.DrawStriped (cognitive 35): Rect.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Rect.DrawStriped, Rect.DrawStriped, Rect.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"68233ab5f7b775bcef16b52b7b0d3e1bbd0deff995e3f301c570c2bcf21ac90f"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.DrawStriped (cognitive 35): Rect.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Rect.DrawStriped, Rect.DrawStriped, Rect.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2e83b218ccc8e50f6edc61093bf66d600f2892d4a06bf4a867819a48124aea"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.DrawStriped (cognitive 35): Rect.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Rect.DrawStriped, Rect.DrawStriped, Rect.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1512ff3bed98961ce7496f415e69d1f705c4e96c7009344e1f810e38294e1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.DrawMasked (cognitive 35): Segment.DrawMasked has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46554a04fc2e77b521585f5f48d19c50d793cf9172989f301d44c2a35e6961f"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawStriped (cognitive 35): Triangle.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Triangle.DrawStriped, Triangle.DrawStriped, Triangle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"633acb0befa3409f8e66419e7b62e123d3196ff5433724f42cd21456de8c1418"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawStriped (cognitive 35): Triangle.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Triangle.DrawStriped, Triangle.DrawStriped, Triangle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4611c8a9114e3f53e5f131d4f7e803437bf0b409abdb823e47c628fbdae7e14"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawStriped (cognitive 35): Triangle.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Triangle.DrawStriped, Triangle.DrawStriped, Triangle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7593e56aec226aa8926b9c5eb2b4d323c83ee819ceda7d8d657de9ad51cf84"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawStriped (cognitive 35): Triangle.DrawStriped has cognitive complexity 35 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Triangle.DrawStriped, Triangle.DrawStriped, Triangle.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc3083150ca37ee4e6acba110779f69d4b0cb93c66cab183712ba9e074f65f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawChamferedCornersRelative (cognitive 34): Quad.DrawChamferedCornersRelative has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab8f4ad9c52666293341c0c6a170bc3af80115be87cc402d863c25f0d42b07a"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 34): Quad.IntersectShape has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e511c26320cab9eacf8ddd4a0ddb7f17cbc70d3a86e108bdecad4784e31e44"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 34): Rect.IntersectShape has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a751242169f537fb9b43e57b900566098a628a5b4819c3c4802a6e87d406b20"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.IntersectShape (cognitive 34): Triangle.IntersectShape has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Triangle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d8877d67651712e37922a6f9fd0a8814fc0f9eca7c3f1b2fe0322ea3d1c09a"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.IntersectShape (cognitive 34): Triangle.IntersectShape has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Triangle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4b14d4ed80749abbbf9ffb4873afe594758ec660a990d75a403b0b30c7cbd8"}},{"ruleId":"D2","level":"warning","message":{"text":"EndlessSpaceCollision.OnHandleInputExample (cognitive 34): EndlessSpaceCollision.OnHandleInputExample has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc9a8a847edd33871e0044f7917e69ddb242c2507aaa96df89614edb63c1131"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.DrawStriped (cognitive 33): Circle.DrawStriped has cognitive complexity 33 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daa1b0ef0ac921af55c814e558a7805babe110626152a60d9a043c532862350"}},{"ruleId":"D2","level":"warning","message":{"text":"IntersectionPoints.Filter (cognitive 33): IntersectionPoints.Filter has cognitive complexity 33 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"187e36905acf3bbd5ab8c74934caf154193abc1985ae9483d97b5aee1d51559b"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawStriped (cognitive 33): Quad.DrawStriped has cognitive complexity 33 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f7a7acbd704c1686f34cb74883210643b723f577c549fa738afdfa0af716e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.DrawStriped (cognitive 33): Rect.DrawStriped has cognitive complexity 33 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa87e0e069d86e7ebf92aa0aaa2de208a8436462666302aa25123a8c392de41c"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawStriped (cognitive 33): Triangle.DrawStriped has cognitive complexity 33 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76c8bf02f4b4a3779d595d1bc4732d7ffa344f684e67383a7ef5e282a1946be"}},{"ruleId":"D2","level":"warning","message":{"text":"Autogun.Update (cognitive 33): Autogun.Update has cognitive complexity 33 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Autogun.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e73c5050b253d7a8cf142132a5a4ee5acc2dcac1bca5cc7b518c351d6e48fe4"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 32): CollisionHandler.CastSpace has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CollisionHandler.CastSpace) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"617d034cd4fa20a7ea014b6cd10d604a2a45cca6819eca85216c9f1a61352669"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 32): CollisionHandler.CastSpace has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CollisionHandler.CastSpace) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d8ec55338b39447562653e1b13f325042dfca3317c9690f999a9edbfdbeaee"}},{"ruleId":"D2","level":"warning","message":{"text":"Points.TriangulatePointCloud (cognitive 32): Points.TriangulatePointCloud has cognitive complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to 2 function items 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":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"302f9c00c4b738eb2aa2f7500292fed00a71d368e96e5f50aa515d31e01e86dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawStriped (cognitive 32): Polygon.DrawStriped has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ec524cf9f482017b07a4c0d9f23e2afa97cf0ef6381c320614e99509e50559"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawGappedOutline (cognitive 31): Polygon.DrawGappedOutline has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"58800e73ea4fa0bf23302dc3a9fe53e5121756bf7eb444b5c84ec27fd4ec6ada"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawGappedOutline (cognitive 31): Quad.DrawGappedOutline has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3667d9b25b2d5440361eedf84eabe99b23fa5b888c43caef43a2cedf2ee4349"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.DrawGappedOutline (cognitive 31): Rect.DrawGappedOutline has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbe1660f622f2ac6b194e87029358078be6b929f17ebf48e307df9c64da9f53"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.DrawGappedOutline (cognitive 31): Triangle.DrawGappedOutline has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca324ae3d176a1a76fc88dac648f5a96a28ea024bdaffde0d3b6663d200f2d75"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawChamferedCorners (cognitive 30): Quad.DrawChamferedCorners has cognitive complexity 30 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f6ebf4961e95a9f7832589079f60e06eb4dfbec07c118e10b7d53608d57258"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapFont.DrawWithWrap (cognitive 29): BitmapFont.DrawWithWrap has cognitive complexity 29 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d32b2e37b83a5cf2afdb8237680e088d658b1580bb0979e79c522acd82f5b2"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended (cognitive 28): BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 7 other methods here (BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fd1ba3e0352a3fc84bc97b1880c0047d51af45993f2002760c4ef26f1bc9a6"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended (cognitive 28): BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 7 other methods here (BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d8bbb9c74b80bc3a58d497f825e7cd4b7837d597d00fd5e98404344f1b3bae"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended (cognitive 28): BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 7 other methods here (BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"3654133938a5e32e336a6159a4235e6c54521b76404eb9e153dd78a7e4a9adf1"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended (cognitive 28): BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 7 other methods here (BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a33d50e76a013e087614a523f3f32aee0847ca2498da1954726202043f71d3"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended (cognitive 28): BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 7 other methods here (BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41765464ddef017bd0b95f67fcad7001b8525287eda056a31b88f5733e2b888"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended (cognitive 28): BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 7 other methods here (BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caf5fd7c0f763d97dd2c87426f89263ad2bdf2d764009ee036f358bb4977426"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended (cognitive 28): BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 7 other methods here (BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dbcf41359c7bdf497cd68206c14fe419be777c88ebd8734b083393944f6408"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended (cognitive 28): BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 7 other methods here (BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, BroadphaseDynamicSpatialHash.GetCandidateBucketsExtended, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81d9210dce3899c172bbcf74d2fb340061fa2c7d79506cdb9a8a7f945c8d56d"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawCornerAbsoluteTransparent (cognitive 28): Polygon.DrawCornerAbsoluteTransparent has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"494ce2b6b9da8f4117be4f9f1213424cd5b82862af59b3f96fb495de4f318547"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawStriped (cognitive 28): Polygon.DrawStriped has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Polygon.DrawStriped, Polygon.DrawStriped, Polygon.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"b058af86af87ee710849018632d47d2a349ea1e0dbc8f0c42be8e4b08f7e51db"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawStriped (cognitive 28): Polygon.DrawStriped has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Polygon.DrawStriped, Polygon.DrawStriped, Polygon.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66808ab8dc6958f4ec7a5344e10ba3a22acacffebc7028565997c2ddeb3c110"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawStriped (cognitive 28): Polygon.DrawStriped has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Polygon.DrawStriped, Polygon.DrawStriped, Polygon.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad11388cb8eab6a13ca1f3aff4741d015940641aa8d92fcd7b2bdef76d08a21e"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawStriped (cognitive 28): Polygon.DrawStriped has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Polygon.DrawStriped, Polygon.DrawStriped, Polygon.DrawStriped) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad4c6c5605d4c64fc8cc0a9572ac6f847b8871e429308f0b38f3eb4c6d51c40"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawCorners (cognitive 28): Quad.DrawCorners 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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"127b2f5379adba0fecd16e8d15222f8199ef876ccba72ed8e840752ad90af053"}},{"ruleId":"D2","level":"warning","message":{"text":"OutlineDrawingExample.OnDrawGameExample (cognitive 28): OutlineDrawingExample.OnDrawGameExample has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b2bd5fe29b64b6c6d890be01524ceec9447e99cba662f8ee22181a9732e55c"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.AddColliderToBucket (cognitive 27): BroadphaseDynamicSpatialHash.AddColliderToBucket has cognitive complexity 27 (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":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c995f039d369464d438679cdeab9d79426a28a5293c97be7fc974cf8c859223d"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 27): CollisionHandler.CastSpace has cognitive complexity 27 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0db3332816eef505c2ad665ee9d1fcf323045a3e0f9942be730389edf393a53"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawCorners (cognitive 27): Quad.DrawCorners has cognitive complexity 27 (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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"944e025da6d97fdd1cbefac4a50febfd08464b0dc48119ae38397c59a9cc8420"}},{"ruleId":"D2","level":"warning","message":{"text":"SpaceShip.Update (cognitive 27): SpaceShip.Update has cognitive complexity 27 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8f0cee92c52197df0cf3e46d17ed4aebc043f4b7ed84a5a063329a389b96e9"}},{"ruleId":"D2","level":"warning","message":{"text":"GameObjectHandlerExample.OnHandleInputExample (cognitive 27): GameObjectHandlerExample.OnHandleInputExample has cognitive complexity 27 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e075cd851e9756b9e450bb1a80f4ce49a0bb9508997a083e59e398db2f1891"}},{"ruleId":"D2","level":"warning","message":{"text":"Ship.Update (cognitive 27): Ship.Update has cognitive complexity 27 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffb24325795cd9d467afc737b96fd2151a505e01c48a44cb5d1c4a7aafb3c58"}},{"ruleId":"D2","level":"warning","message":{"text":"GameWindow.CheckForWindowConfigFlagChanges (cognitive 26): GameWindow.CheckForWindowConfigFlagChanges 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":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"720e8aa6d71a3eee6fa4912849d85a1b3a990334f0ae5207ae7d0a43f6b2d6d6"}},{"ruleId":"D2","level":"warning","message":{"text":"GameWindow.CheckForCursorChanges (cognitive 26): GameWindow.CheckForCursorChanges 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":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"527524f1728fd387dff615d87788b3dd5d6907ff2a8f5abdec7085144c7316a1"}},{"ruleId":"D2","level":"warning","message":{"text":"CellCollisionSystem.RemoveCollider (cognitive 26): CellCollisionSystem.RemoveCollider has cognitive complexity 26 (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":"ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"8071284c743a54265e046ac6b56a3b8b7ae1274d6bf3262e80117007205692a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.DrawGappedOutline (cognitive 26): Circle.DrawGappedOutline 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":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f371d515003ea30caca0cb71a61479c95f50ca33712554f86d530f5d471d5ff"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.AddCollider (cognitive 26): BroadphaseDynamicSpatialHash.AddCollider 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":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0933884ad916d8bad3fa846a31f8a7b5c1a9ce15b42cdc44a276163986306d"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.DrawSegmentSeparateCaps (cognitive 26): Segment.DrawSegmentSeparateCaps has cognitive complexity 26 (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":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1d29328aa0346905e7ce7d02c6abdf84d15d0c0ed9184107b0568ddaca0679"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryPackManager.Unpack (cognitive 26): BinaryPackManager.Unpack 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":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"86050e9e7b56ba027e0370932191c5c8ae892cd36585cbabd2fbcc8866b17bd1"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.ProcessArguments (cognitive 26): Program.ProcessArguments 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":"ResourcePacker/Program.cs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d12d5cd3092e597d2ea15b73001186d34c8b9cf6f2cf8aa72d2c927e5ad361"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.IntersectShape (cognitive 25): Triangle.IntersectShape has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc23215d8307216908a6c0b6db94e3f898d91b92389a1fbd784c4af9eab042f"}},{"ruleId":"D2","level":"warning","message":{"text":"GameloopExamples.OnGameTextureResized (cognitive 25): GameloopExamples.OnGameTextureResized has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/GameloopExamples.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ff667c8f793b2ffa457411fbc7653aa9916b3f15972b0e1e8308db44c3020c"}},{"ruleId":"D2","level":"warning","message":{"text":"PathfinderExample2.AddAsteroids (cognitive 25): PathfinderExample2.AddAsteroids has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1c2493ec48f03b35dfcfe5ce11f4ca704b5050f58c6117799fddf4a9af02c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.DrawToScreen (cognitive 24): Game.DrawToScreen has cognitive complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 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":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f5e7da82850b4b301962a7343122794ce2a02438f835085abe09e8525ef3cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.IntersectShape (cognitive 24): Circle.IntersectShape has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Circle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3c8a113bdb65b61fc7ef92252f53a3054504fc4180ae4f3e54841977459cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.IntersectShape (cognitive 24): Circle.IntersectShape has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Circle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"211d4d661a325c1f933a38f61a9d254cf891d404956f3e5d1fc250d2df5b9dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 24): CollisionHandler.IntersectSpace has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96bd1cabbae7bf03691458c117f4dd8fe1f10ebafbc953ff2e4e9c480b21b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 24): Quad.IntersectShape has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5f55d6c419b6c8786c65c71201ebc10de29520304138e5e08b9023924f1e4c"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 24): Rect.IntersectShape has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"69703ddfc2111a990aec8f74fc686e4e973ac6224cfe5cca59562a8083e81405"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.DrawGappedSegment (cognitive 24): Segment.DrawGappedSegment has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bbfd75b2c9607093e79d17f81c274bbd52e5cb45aac1767849c9be2d4eb61a"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapFont.DrawWithWrap (cognitive 24): BitmapFont.DrawWithWrap has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3f977790f9e56ebf10d30191a973ede81836ec67d5bfb314b187cde1fefec0"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlNodeNavigator.GetNeighborDistance (cognitive 24): ControlNodeNavigator.GetNeighborDistance has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5448f0c5a49f9b038e370e91e7a9c5d0745bec4133068fc4b7d4c0be2940c5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"SpawnArea.Update (cognitive 23): SpawnArea.Update has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/SpawnArea.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"adecba40134007977f26cb7f8f75b6d41c3c2c4777d7fcb89670b7c73af4aef0"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 23): CollisionHandler.IntersectSpace has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9760a0f977768d14d79391e45a7970520c3f31cd971fb4fb1d5af6d50050a2db"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 23): CollisionHandler.IntersectSpace has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cac675bde2dc8f3eebaa6e899e9c2e1acb4458cd2922fea4f6d318f8ff453a1"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 23): CollisionHandler.IntersectSpace has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"85620dd693d9a945c64682b79ab5b4b03e6ef8c641a4329c5a144ae25cb6d408"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 23): CollisionHandler.IntersectSpace has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac7c0457a09f1d739122501133496aeb4f4e1ade06aafb5fc3b9ff966fdbc18"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 23): CollisionHandler.IntersectSpace has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb283e2dda3eec7e02fd83b50f8b2f583628c2025c104b3d7f3dd7149047dcd8"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 23): CollisionHandler.IntersectSpace has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea191a2b92d0044577dbe31f3ae3ed0f7f4cf935444b51386d4354d7dea2677c"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 23): CollisionHandler.IntersectSpace has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e201b9697553280302dba9d9843bb56e7c44ef3c68c2412b4e24b8a827dc1333"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 23): CollisionHandler.IntersectSpace has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"68100833e957154f1671b65abf543c8d31298d480a59e75ab28d001a55bb33cf"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.IntersectSpace (cognitive 23): CollisionHandler.IntersectSpace has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, CollisionHandler.IntersectSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"c313cdb00d1d43b04349f11dcc3dc5e1ab2e293a2195e9ca74d19a16d13fb14b"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.GetIncircle (cognitive 23): Polygon.GetIncircle has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"480e494487f110c96a6c06e3bb1acf4e1b71278e7527abed1df252aa81834552"}},{"ruleId":"D2","level":"warning","message":{"text":"PathfinderExample2.OnUpdateExample (cognitive 23): PathfinderExample2.OnUpdateExample has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5013d7f2587c7eaec07b93a45a6187e0d8f8a8d9fda4d683a367156e3fce6f"}},{"ruleId":"D2","level":"warning","message":{"text":"SavegameExample.OnUpdateExample (cognitive 23): SavegameExample.OnUpdateExample has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/SavegameExample.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5538d54b3c8283990cbadf9fba64e9547703a18e9c2cf424032c77201337f1"}},{"ruleId":"D2","level":"warning","message":{"text":"TextPackManager.PackParallel (cognitive 23): TextPackManager.PackParallel has cognitive complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ca1a83ba0f64fb2d9c80c3fafcde2103ea568667a79f2e2c7ade710f9ca1c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.IntersectShape (cognitive 22): Circle.IntersectShape 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. This shape REPEATS in the file: one other method here (Circle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c318eb1a31433cce0dde407cf39ce8db7e8e1b8f842264626e940399c4bf8f5"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.IntersectShape (cognitive 22): Circle.IntersectShape 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. This shape REPEATS in the file: one other method here (Circle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7917b0b4957011f99a0b1abe6c2db102389fe973e1983492acb1378b0e9a31"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.IntersectShape (cognitive 22): Polygon.IntersectShape 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. This shape REPEATS in the file: one other method here (Polygon.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2ed5db3f03ad311e7931786e9fa18e04356ecba8b7a902cdd8e646a3602680"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.IntersectShape (cognitive 22): Polygon.IntersectShape 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. This shape REPEATS in the file: one other method here (Polygon.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fea6d15fbfa8c57f32f7a74664feb780298735e0141e91a4914a54267d2f01c"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.OverlapShape (cognitive 22): Polygon.OverlapShape 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":"ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b5c05060cb9bbc6f1f18e02b0fbfd5f63ed25499ca097dec4c9d48af0f9cac"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.OverlapPolygonPolygon (cognitive 22): Polygon.OverlapPolygonPolygon 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":"ShapeEngine/Geometry/PolygonDef/PolygonOverlapStatic.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5738c4fd5a4a9fff3b9eb7793289a35fb2809b0667bd33a1daf36b5cab285b"}},{"ruleId":"D2","level":"warning","message":{"text":"Polyline.IntersectShape (cognitive 22): Polyline.IntersectShape 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. This shape REPEATS in the file: one other method here (Polyline.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a70329cea0963b6e075dd9beceb5ebe2785e99404e48d15aa4deea5cc88a38"}},{"ruleId":"D2","level":"warning","message":{"text":"Polyline.IntersectShape (cognitive 22): Polyline.IntersectShape 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. This shape REPEATS in the file: one other method here (Polyline.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4e8220c071ac3553745859bc06f829aa6984034974c7458c390b7b53d41ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 22): Quad.IntersectShape 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"992af9911312c8e1c8b6173d24795cee90de2b8757cada7bc8a98c8965cca2a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 22): Quad.IntersectShape 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. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d08a2e27d664a6e915e9c4288c8048b8d9d1e6cbb81a95176f55134edcec0df"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 22): Quad.IntersectShape 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. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a5bc73be23ec4a66a0fc7638da5fabeb096c010afc7ba28df73ddb27465aca"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 22): Quad.IntersectShape 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f7433eefe0c3edd362a216b7fb1cfd396da2f6f4d484f7bc1e90db3f1b6599"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 22): Rect.IntersectShape 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":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec564633e60634455a4189b8c7f2ad7245e7d6f9f173aa81282791c50e7037b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 22): Rect.IntersectShape 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. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb3b3ff6c1317f2291d70743eb8bf484e7baac40521d9524ab5b8f152ad4f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 22): Rect.IntersectShape 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. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"272f0e67e924acea3797fd39ed6a64b4d07277c4d8e8ebbd90818bcb042a7002"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 22): Rect.IntersectShape 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":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a18c40d3c4595e8408bebd8ca29c55ae874c6a67b91462dcbe961fbbdebd99"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.DrawMasked (cognitive 22): Segment.DrawMasked 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. This shape REPEATS in the file: 3 other methods here (Segment.DrawMasked, Segment.DrawMasked, Segment.DrawMasked) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dbc4aa99cb5d161b1759a3c2df521e318db6db9dc870da76cfc5681986a48a"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.DrawMasked (cognitive 22): Segment.DrawMasked 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. This shape REPEATS in the file: 3 other methods here (Segment.DrawMasked, Segment.DrawMasked, Segment.DrawMasked) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b51c561125805b404a44744e77947f50057224249e4e990dee3c84eee99cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.DrawMasked (cognitive 22): Segment.DrawMasked 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. This shape REPEATS in the file: 3 other methods here (Segment.DrawMasked, Segment.DrawMasked, Segment.DrawMasked) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2529b29269623dbc19866ca2d8d2c0ae53186db0652a56af165bfffda96e6310"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.DrawMasked (cognitive 22): Segment.DrawMasked 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. This shape REPEATS in the file: 3 other methods here (Segment.DrawMasked, Segment.DrawMasked, Segment.DrawMasked) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a6e5987719096f0cbd7fef61227bef04a2cab0d5dc1bd9201ea47da5e55faf"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenTexture.DrawOnTexture (cognitive 22): ScreenTexture.DrawOnTexture 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":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"620121cdb1e72b6c98a058893d87e49c0f2f25daf1a914528444903b4c7e9751"}},{"ruleId":"D2","level":"warning","message":{"text":"MainScene.HandleInput (cognitive 22): MainScene.HandleInput 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":"Examples/Scenes/MainScene.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce69c460521dddb4213a60460a6843b61fe3e3d7e1bdd879d805b9d68b34c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPack.UnpackTextToMemory (cognitive 21): ContentPack.UnpackTextToMemory 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. This shape REPEATS in the file: one other method here (ContentPack.UnpackTextToMemoryAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"932c06921df4dca9d0bd9a1b5235f118b70f3809b4d4a4bb1f5618261c9d29cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPack.UnpackTextToMemoryAsync (cognitive 21): ContentPack.UnpackTextToMemoryAsync 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. This shape REPEATS in the file: one other method here (ContentPack.UnpackTextToMemory) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"24554e5f699e2bb765ec6b0f7fbac2c4fa9418c9978f3a54b385fa97d2811705"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.UpdateGamepadMappings (cognitive 21): Game.UpdateGamepadMappings 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":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"40506a7c348ed44e85863afce2dc8a5644b9c5f844770bf69729af4daa5566f1"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 21): CollisionHandler.CastSpace 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":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5088065df0675bc14bc3db05a20991b4d135c62006702c279a455d4d5392f5bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ModifierKeySet.AppendModifierKeyNames (cognitive 21): ModifierKeySet.AppendModifierKeyNames 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":"ShapeEngine/Input/ModifierKeySet.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05d9ee3e20aea7ff60e42fd22cc63bc9171e8786f641adb34e40cc0987adf8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlNodeContainer.UpdateLayoutConstants (cognitive 21): ControlNodeContainer.UpdateLayoutConstants 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":"ShapeEngine/UI/ControlNodeContainer.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac967f82ffcc8a527b01d6b2219e39bb57719c3b453e5287eb320b457b169b38"}},{"ruleId":"D2","level":"warning","message":{"text":"Ship.Update (cognitive 21): Ship.Update 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":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Ship.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e523e0ba72bf93ffb068471dfec9201e399616549c32f8d7c7204a7a45a608a"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeIntersectionExample.OnHandleInputExample (cognitive 21): ShapeIntersectionExample.OnHandleInputExample 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":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"13efc11c3774c715b7158f9b4a4ac8374aea55cb590caa79f3ae29fd6d17da97"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeIntersectionExample.TestForCrash (cognitive 21): ShapeIntersectionExample.TestForCrash 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":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f46100f9df99b0b6b28de091bf6f419a474ec0e031a8ab856c1d1721a109ca"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryPackManager.Pack (cognitive 21): BinaryPackManager.Pack 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":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19cf5bfc05e4acc5e69ad1659e1fee0cbf13b38d7cafa38c5377e16dd3533c5"}},{"ruleId":"D2","level":"warning","message":{"text":"TextPackManager.Pack (cognitive 21): TextPackManager.Pack 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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda5268b52bce2627756a3cd290de26f2417d4fffe7c8a09793409d8c292cdb2"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawStriped (cognitive 20): Polygon.DrawStriped 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"1faa9ffebaa6e5e41b72cc9932d3aea2b62728e5eb740ef97bc42c6e3ed6dcb0"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleStat.ApplyModifierBounds (cognitive 20): SimpleStat.ApplyModifierBounds 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":"ShapeEngine/Stats/SimpleStat.cs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4f0737928dca90318a30f9f52a63916d8b27cd84d3a801a51cf5bc3f95a673"}},{"ruleId":"D2","level":"warning","message":{"text":"Stat.Recalculate (cognitive 20): Stat.Recalculate 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":"ShapeEngine/Stats/Stat.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e7cee8140eaf9ecfee5c735530a86d8de5d7b3a0416cdd9a982ddad918aed0"}},{"ruleId":"D2","level":"warning","message":{"text":"PayloadDeliverySystem.Update (cognitive 20): PayloadDeliverySystem.Update 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":"Examples/PayloadSystem/PayloadDeliverySystem.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d8e6d71412932519ef45f45ef6b7107d5d7c3ca5b27fd77cfe82270bfbcfd8"}},{"ruleId":"D2","level":"warning","message":{"text":"SFXLoop.Update (cognitive 19): SFXLoop.Update 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":"ShapeEngine/Audio/SFXLoop.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9d5daff89bef7183fdd00d26e8b683137952f733bfb9b5252c428b0e54740c"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentManager.TryLoadFont (cognitive 19): ContentManager.TryLoadFont 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":"ShapeEngine/Content/ContentManager.cs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"d140fbda77ca7940208973bacd625b0c91c1672633984c2f7c1fa64b3569f563"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseDynamicSpatialHash.GetCandidateBuckets (cognitive 19): BroadphaseDynamicSpatialHash.GetCandidateBuckets 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":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d014912236fd5245996b5e7bc42aaa71442d69cf9fac97dd93908847ddd28f"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionInformation.Validate (cognitive 19): CollisionInformation.Validate 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":"ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c4d72b231a37d1a2d5fc90f3e30ab0db6ea90c647a13d5fb83b23cbbda146c"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.CaluclateDrawCornerAbsoluteParameters (cognitive 19): Polygon.CaluclateDrawCornerAbsoluteParameters 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c3991ad68a61f098ca15ad554d6d62b046a6160191889172a5ac8ca9ac5102"}},{"ruleId":"D2","level":"warning","message":{"text":"PathfinderExample.OnHandleInputExample (cognitive 19): PathfinderExample.OnHandleInputExample 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":"Examples/Scenes/ExampleScenes/PathfinderExample.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3251f01fbc57b00545bec989379c85a29f7952b60fabd6e0129b596f58afd86c"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPack.ReadLastLineLargeFile (cognitive 18): ContentPack.ReadLastLineLargeFile 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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9f8214e2695350d23a219466749deef7a634fa4f08745757858c5b1b9d50f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.IntersectShape (cognitive 18): Circle.IntersectShape 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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2d893135e7bc8d5724066bc91f2ba7c089eade257703463e6166e9c506baa0"}},{"ruleId":"D2","level":"warning","message":{"text":"Points.ConvexHull_JarvisMarch (cognitive 18): Points.ConvexHull_JarvisMarch 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. This shape REPEATS in the file: one other method here (Points.ConvexHull_JarvisMarch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a449e75293d80e143dba8ae308794cd854c2b03f34fa9182b79b2295f1f7dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Points.ConvexHull_JarvisMarch (cognitive 18): Points.ConvexHull_JarvisMarch 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. This shape REPEATS in the file: one other method here (Points.ConvexHull_JarvisMarch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b4bd79059658012a48eb47b91ed38fe4185299fb432773b87bc3221affdedd"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawStriped (cognitive 18): Polygon.DrawStriped 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e2d0b2f3f01f1f9c228b20c803be60d2cbc2f0da6afaf685f8bf91e9d7c531"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.OverlapQuadQuad (cognitive 18): Quad.OverlapQuadQuad 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":"ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a110e33a2c5c2a44e0e702589c85b7f1e355b56379d2349ff549a1d5fb5d635"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.IntersectShape (cognitive 18): Triangle.IntersectShape 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":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a275ad562d96bd74796e8ea039759804f4af57800e2fb17625745cac5782be3"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraFollowerSingle.Update (cognitive 18): CameraFollowerSingle.Update 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":"ShapeEngine/Screen/CameraFollowerSingle.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d304df284a92429813b393f1bbda2341e7e68a3d2f1841cb84dac1f9ed444673"}},{"ruleId":"D2","level":"warning","message":{"text":"TextFont.DrawTextWrapNone (cognitive 18): TextFont.DrawTextWrapNone 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":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42d68d744968a283891347472b1cb153dc19789ac2e170eba2d74a233574f70"}},{"ruleId":"D2","level":"warning","message":{"text":"ExampleScene.OnDrawUI (cognitive 18): ExampleScene.OnDrawUI 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":"Examples/Scenes/ExampleScene.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"176eb3656aad718b24f6fd6bf4a96248b09afb998b18aba54d5811880c7e3acc"}},{"ruleId":"D2","level":"warning","message":{"text":"Chaser.Update (cognitive 18): Chaser.Update 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":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b515af6b46c2d88cf1cf125e59174d99064e5e9e58125d9cecd3856a600c132e"}},{"ruleId":"D2","level":"warning","message":{"text":"Asteroid.Update (cognitive 18): Asteroid.Update 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":"Examples/Scenes/ExampleScenes/PhysicsExampleSource/Asteroid.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e8b7a85de24684d34402821412781f7570d4be18bef05c49e43f96cb6239b1"}},{"ruleId":"D2","level":"warning","message":{"text":"TextPackManager.ReadLastLineLargeFile (cognitive 18): TextPackManager.ReadLastLineLargeFile 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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcd9994eb672602a351306c534289156588848b1d07aa2a1ba1f2a3c742b7f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPack.UnpackFileToMemory (cognitive 17): ContentPack.UnpackFileToMemory 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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c26d15b5aa44703806c0bd59faba3cffbfcdf6e615900d148bed0796b382dcf"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.DrawStripedRing (cognitive 17): Circle.DrawStripedRing 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":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"33038a2f060fb7fa19b7c207d8004aa2233acce91b4d35d37ddd3b468e12efe1"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadphaseSpatialHash.Add (cognitive 17): BroadphaseSpatialHash.Add 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":"ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bfeb6f035b846deb0fe1663557690fef02824cb6c6e967fbfbc62c30a68c03"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 17): CollisionHandler.CastSpace has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.CastSpace, CollisionHandler.CastSpace, CollisionHandler.CastSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"471f2020f455b8dc44d38aaba52b2cee68b7a42ad49d329496649df034f90b34"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 17): CollisionHandler.CastSpace has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.CastSpace, CollisionHandler.CastSpace, CollisionHandler.CastSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"809c218f8a25d02378b0eb94db3f54e014efbf55094c60c5fd35eec9f64ea6c1"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 17): CollisionHandler.CastSpace has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.CastSpace, CollisionHandler.CastSpace, CollisionHandler.CastSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0721eec5a41baa1ba2d3a50ec84d23a202bc89818a5c457639b70cfe2f2496"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 17): CollisionHandler.CastSpace has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.CastSpace, CollisionHandler.CastSpace, CollisionHandler.CastSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6162187dd44b86f97dc9d83773aa32e4ef8c471e6837cc83bf4ea07d64cfcf7"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 17): CollisionHandler.CastSpace has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.CastSpace, CollisionHandler.CastSpace, CollisionHandler.CastSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"521d8fc2585b1938f8f371ac85caafa2603d0f42ca98c84113767645df3882b1"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 17): CollisionHandler.CastSpace has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.CastSpace, CollisionHandler.CastSpace, CollisionHandler.CastSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"894d1b1fb2a78d2917f5e06be541b9d249b8b6cf6a8a4143e0c5fcb948d98fca"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 17): CollisionHandler.CastSpace has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.CastSpace, CollisionHandler.CastSpace, CollisionHandler.CastSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c7adf83865335e865b9a50faa6449af1231de6a00245f1cf5783476480907f"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 17): CollisionHandler.CastSpace has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.CastSpace, CollisionHandler.CastSpace, CollisionHandler.CastSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1a87a345591625e8d68265cd57a2b11047ab3833205248fcd943bd40927c24"}},{"ruleId":"D2","level":"warning","message":{"text":"CollisionHandler.CastSpace (cognitive 17): CollisionHandler.CastSpace has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 8 other methods here (CollisionHandler.CastSpace, CollisionHandler.CastSpace, CollisionHandler.CastSpace, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 9 times rather than 9 independent problems. Splitting this body alone leaves the other 8 exactly as they are. Where these are variations on one operation, the change that clears all 9 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb61e5d8ed3a4bd0e90bb9ccfe619439f98af32b7fa52ddf8f2029da038455b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Line.IntersectLineQuad (cognitive 17): Line.IntersectLineQuad has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6b68d65c953b7f3c09cd146200f6736dfb08d7eab359fea547a88b8fa54abe"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.GenerateStripedSegments (cognitive 17): Polygon.GenerateStripedSegments has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Polygon.DrawStriped) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d5459ab9e8dad33b75f4c937163693f44b64bca84feef0c453da7428e5492b"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.DrawStriped (cognitive 17): Polygon.DrawStriped has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Polygon.GenerateStripedSegments) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1ea53e531415de0fb289b220fdc9d14f8438a025476ead6fac5d160efe4c66"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.IntersectShape (cognitive 17): Polygon.IntersectShape 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":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06b0577eb44f30d0f008abe437496d978cd2f78da8ebe06607ed87da6c97aec"}},{"ruleId":"D2","level":"warning","message":{"text":"Polygon.CalculatePolygonMaxLineThickness (cognitive 17): Polygon.CalculatePolygonMaxLineThickness 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":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0f02eca3711c592d6e9f39da373ba4cc05011b846b41d7bf7976f164d8abb2"}},{"ruleId":"D2","level":"warning","message":{"text":"Polyline.IntersectShape (cognitive 17): Polyline.IntersectShape 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":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0222278c63c4ab48b795b3fb8ab8551f71d6a15abdb044f28872c949dba8eef"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.OverlapShape (cognitive 17): Quad.OverlapShape 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. This shape REPEATS in the file: one other method here (Quad.OverlapShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cda69f0e5da1faea4c18217387e2ae486a5858494a9e8971fa968a14454c1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.OverlapShape (cognitive 17): Quad.OverlapShape 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. This shape REPEATS in the file: one other method here (Quad.OverlapShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2933fad079843d6148e44031bec8edf7d5ce1089d0bbe3899614987116c9c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Ray.IntersectRayQuad (cognitive 17): Ray.IntersectRayQuad has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad1007d5d90500ff627dfaf4709b4726f7fa0c006e322f9acd8d7353bfc49c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.IntersectSegmentQuad (cognitive 17): Segment.IntersectSegmentQuad has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6973aca8a10f39ef731243d9beeee0b6415cecdbefd8ec8de5ef20a61deaa36"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.IntersectShape (cognitive 17): Triangle.IntersectShape has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Triangle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c4ce76e7e01e7a698449500a7a3e88a126c359f0f483f4c1df08d1f75604ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.IntersectShape (cognitive 17): Triangle.IntersectShape has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Triangle.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d87189bd5bfbc0ffa8f60da886bc3a521d2a5628c972afa2e39c2fdf883604"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.IntersectShape (cognitive 17): Triangle.IntersectShape 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":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8876079aaafe45354208a3eb103059c214493151f248f34709bb61bdd796e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangulation.Subdivide (cognitive 17): Triangulation.Subdivide 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":"ShapeEngine/Geometry/TriangulationDef/Triangulation.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"89aaa4d8473fc727f911f8847a13493e13be77dfa3b39e4f7fe4e931b44389ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangulation.GetClosestTriangle (cognitive 17): Triangulation.GetClosestTriangle 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":"ShapeEngine/Geometry/TriangulationDef/TriangulationClosestPoint.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9ab003dfb970d76d87355cd9074875a915b178d03f7e6d689776d860b4d5f6"}},{"ruleId":"D2","level":"warning","message":{"text":"DataObjectDict.PickRandomEntries (cognitive 17): DataObjectDict.PickRandomEntries 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":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb295037b26e66a5c112077f78b4058f43bd4c4b630004325f0dc2e7ab858db"}},{"ruleId":"D2","level":"warning","message":{"text":"DataObjectList.PickRandomEntries (cognitive 17): DataObjectList.PickRandomEntries 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":"ShapeEngine/Serialization/DataObjectList.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"226bc66eb6183a9ba70903ae860db5f29db681e51ae54bc027b5d0354e5c3640"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleStat.AdjustModifierStacks (cognitive 17): SimpleStat.AdjustModifierStacks 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":"ShapeEngine/Stats/SimpleStat.cs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ada1e2d07561b4fccdbfba8fb96b6a357fabb946e0cdf2c025bfb8c9d7bdbb"}},{"ruleId":"D2","level":"warning","message":{"text":"Pds.DrawUI (cognitive 17): Pds.DrawUI has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Pds.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"611d0fb1809b76518a7502c6b15a5169a2c5b63b569c897aefb0df87314f5f75"}},{"ruleId":"D2","level":"warning","message":{"text":"Rock.Collision (cognitive 17): Rock.Collision 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":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b4f132cc9a2c8da560aa2071cae9907cb70b2ce0db238e27921c97a77cce38"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryPackManager.PackParallel (cognitive 17): BinaryPackManager.PackParallel has cognitive complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5765bf9e9edbdde08c77f17d385e60d507cc5e13705b6da1c67c263b59b39ed4"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryPackManager.UnpackParallel (cognitive 17): BinaryPackManager.UnpackParallel has cognitive complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8ec7dec9603161cfb3a24fbd969592ac0d7c5730dd8e9e2ddce208a70ae10f"}},{"ruleId":"D2","level":"warning","message":{"text":"Circle.IntersectShape (cognitive 16): Circle.IntersectShape 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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"54990b34f0cc8ea170699ca166a954710d09682e5db9f03cc817d569f75f2517"}},{"ruleId":"D2","level":"warning","message":{"text":"IntersectionPoints.Filter (cognitive 16): IntersectionPoints.Filter 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":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5a0ec6f500c052e361b48f0876ebfd8bc7f72563b2254abbbbb7f052520d85"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.DrawVignette (cognitive 16): Quad.DrawVignette has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f575c8d291421ad304801178a7e73daa3c264f5bcb5d5ebbb58472037199a2"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 16): Quad.IntersectShape has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd16d9be4d7da876668ec7ff306be92ea980611b4f9f35a9dafb986a02d0f43"}},{"ruleId":"D2","level":"warning","message":{"text":"Quad.IntersectShape (cognitive 16): Quad.IntersectShape has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Quad.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6b7fdb8a481e43e74e3c4c0adfad02f509dcab44cfa40cb155cc8b7492c3e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 16): Rect.IntersectShape has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3251ae415298c53582b76a9f227cd9124639380a980ebc8f3fa0272b44c7bc5"}},{"ruleId":"D2","level":"warning","message":{"text":"Rect.IntersectShape (cognitive 16): Rect.IntersectShape has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Rect.IntersectShape) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a58522f08a0605b59198073057b1cc85e96dda972a23267d74e31f8998d83ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Triangle.IntersectShape (cognitive 16): Triangle.IntersectShape 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":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2e63ac79ee521a4962fa6aebd4093c79ce6109dd5a2fdd74dab2b9d42667c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.GetClosestTraversableCell (cognitive 16): Node.GetClosestTraversableCell 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":"ShapeEngine/Pathfinding/Node.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"99584894ba8fc73f260363c8efe5ef70f56dbb72f72d16a634351690c2c2efb9"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeClipper2D.ToPolylinePerimeter (cognitive 16): ShapeClipper2D.ToPolylinePerimeter 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":"ShapeEngine/ShapeClipper/ShapeClipper2D.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19d5e64236e41ce274e0871fc9c3a490cf209605321a5bb6f7a2e57db133192"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapFont.Draw (cognitive 16): BitmapFont.Draw 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. This shape REPEATS in the file: one other method here (BitmapFont.DrawUniform) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"add38c4bca0837c0f0e5b44514f7c62b80278e8b51e8511e9a1fc33c58360b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapFont.DrawUniform (cognitive 16): BitmapFont.DrawUniform 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. This shape REPEATS in the file: one other method here (BitmapFont.Draw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece781bf9302a959d749b4064d8494b491f28befff333353d7f65d210c58a12d"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapFontAtlas.DrawWithLineWrapNoWordSplit (cognitive 16): BitmapFontAtlas.DrawWithLineWrapNoWordSplit 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":"ShapeEngine/Text/BitmapFontAtlas.cs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7119f4d88713ec4add210d0674e20e45c5c9b5b5473fc868f6826f82c793cc5"}},{"ruleId":"D2","level":"warning","message":{"text":"DelaunayExample.OnHandleInputExample (cognitive 16): DelaunayExample.OnHandleInputExample 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":"Examples/Scenes/ExampleScenes/DelaunayExample.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b676675acb20ced43edd4688f907850354620ac80aa279b765c96bf4ffd5c1"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeIntersectionExample.NextAutomatedTest (cognitive 16): ShapeIntersectionExample.NextAutomatedTest 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":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c9b2c23ae283012def8af452dbdd912434b331bdf5eae83c2768a869ee7eec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Rect: TooManyMethods \u2014 3685 significant lines (blank, comment-only and punctuation-only lines excluded), 299 methods, declared across 15 files: RectDef/Rect.cs (74), RectDef/RectDrawing.cs (42), RectDef/RectMath.cs (41), RectDef/RectOverlap.cs (24), \u002B11 more file(s). The bar is 30 methods; this is 269 over it, 9.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3958790c8b7f81762f8253e8e76d61aac984dbe399a9a5d50337c3e39a19d56e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Polygon: TooManyMethods \u2014 3185 significant lines (blank, comment-only and punctuation-only lines excluded), 288 methods, declared across 12 files: PolygonDef/Polygon.cs (64), PolygonDef/PolygonMath.cs (45), PolygonDef/PolygonDrawing.cs (32), PolygonDef/PolygonClipping.cs (25), \u002B8 more file(s). The bar is 30 methods; this is 258 over it, 9.60\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98c6809878c01f24b0c1584f60cbaa382b94e5ffbd7ede2b035b6c9f81371f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Circle: TooManyMethods \u2014 2991 significant lines (blank, comment-only and punctuation-only lines excluded), 266 methods, declared across 13 files: CircleDef/Circle.cs (58), CircleDef/CircleDrawing.cs (49), CircleDef/CircleIntersectShape.cs (25), CircleDef/CircleOverlap.cs (23), \u002B9 more file(s). The bar is 30 methods; this is 236 over it, 8.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a866c4c6ff86e5227ec215371a54a326d663826b64970465a4be147b00c062f7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Triangle: TooManyMethods \u2014 3576 significant lines (blank, comment-only and punctuation-only lines excluded), 260 methods, declared across 10 files: TriangleDef/Triangle.cs (66), TriangleDef/TriangleMath.cs (54), TriangleDef/TriangleIntersectShape.cs (25), TriangleDef/TriangleOverlap.cs (23), \u002B6 more file(s). The bar is 30 methods; this is 230 over it, 8.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5369c5b5c85741d6218cb5287a9fbdd791db0c1085917427c8ddcd73a1c1b7c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Quad: TooManyMethods \u2014 4093 significant lines (blank, comment-only and punctuation-only lines excluded), 246 methods, declared across 10 files: QuadDef/Quad.cs (51), QuadDef/QuadMath.cs (42), QuadDef/QuadDrawing.cs (33), QuadDef/QuadIntersectShape.cs (25), \u002B6 more file(s). The bar is 30 methods; this is 216 over it, 8.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadad6ff8ac141e5914887678b225932697a4185e719ea99b4aa21931ee09c13"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Segment: TooManyMethods \u2014 1964 significant lines (blank, comment-only and punctuation-only lines excluded), 231 methods, declared across 10 files: SegmentDef/Segment.cs (45), SegmentDef/SegmentMath.cs (34), SegmentDef/SegmentDrawing.cs (31), SegmentDef/SegmentIntersectShape.cs (25), \u002B6 more file(s). The bar is 30 methods; this is 201 over it, 7.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ebe5b92c671fd5817ec1866fc397c54426d60ae22901021ddea71e34c8acef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Line: TooManyMethods \u2014 1088 significant lines (blank, comment-only and punctuation-only lines excluded), 162 methods, declared across 9 files: LineDef/Line.cs (35), LineDef/LineIntersectShape.cs (25), LineDef/LineOverlap.cs (24), LineDef/LineIntersectionStatic.cs (21), \u002B5 more file(s). The bar is 30 methods; this is 132 over it, 5.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/Line.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"803b21ae5476c92f4bea137f60820abec5946e367fbe698b9195b51160bfe039"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ray: TooManyMethods \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded), 159 methods, declared across 9 files: RayDef/Ray.cs (32), RayDef/RayIntersectShape.cs (25), RayDef/RayOverlap.cs (24), RayDef/RayIntersectionStatic.cs (21), \u002B5 more file(s). The bar is 30 methods; this is 129 over it, 5.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/Ray.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeffbf8218573f32075f70168db0383261402e3fe8a367db8065d68d4a512b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Polyline: TooManyMethods \u2014 1245 significant lines (blank, comment-only and punctuation-only lines excluded), 134 methods, declared across 8 files: PolylineDef/Polyline.cs (25), PolylineDef/PolylineOverlap.cs (24), PolylineDef/PolylineMath.cs (18), PolylineDef/PolylineClosestPoint.cs (17), \u002B4 more file(s). The bar is 30 methods; this is 104 over it, 4.47\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/Polyline.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"958f3341e3821062503bd8b43bdbb5bc5813f305e5226307fa17608f52221621"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Triangulation: TooManyMethods \u2014 981 significant lines (blank, comment-only and punctuation-only lines excluded), 133 methods, declared across 7 files: TriangulationDef/TriangulationMath.cs (33), TriangulationDef/TriangulationOverlap.cs (24), TriangulationDef/Triangulation.cs (23), TriangulationDef/TriangulationClosestPoint.cs (20), \u002B3 more file(s). The bar is 30 methods; this is 103 over it, 4.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de509058575f2d441f1fd45f4b416370841daf7c6ffb701f987ffff6a70a89e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Game: TooManyMethods \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded), 128 methods, declared across 7 files: GameDef/GameVirtual.cs (33), GameDef/GameResolve.cs (29), GameDef/Game.cs (27), GameDef/GameSavegameSystem.cs (17), \u002B3 more file(s). The bar is 30 methods; this is 98 over it, 4.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameVirtual.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8872d01bdad31f76e4fff5fbd9813720abb08232c52c5feb78c03dedf3c30189"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Segments: TooManyMethods \u2014 1049 significant lines (blank, comment-only and punctuation-only lines excluded), 123 methods, declared across 7 files: SegmentsDef/SegmentsIntersectShape.cs (24), SegmentsDef/Segments.cs (23), SegmentsDef/SegmentsOverlap.cs (23), SegmentsDef/SegmentsMath.cs (20), \u002B3 more file(s). The bar is 30 methods; this is 93 over it, 4.10\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70490689aafdaf39f8ab0cc5ec929032537bf015760ce19c6353daa3570bc71a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Points: TooManyMethods \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded), 105 methods, declared across 3 files: PointsDef/Points.cs (45), PointsDef/PointsMath.cs (45), PointsDef/PointsClosestPoint.cs (15). The bar is 30 methods; this is 75 over it, 3.50\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0c5a59dbe80e1c88b8eeb3e72923d88de027f54eda77bd028e34bd63770951"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ControlNode: TooManyMethods \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 92 methods. The bar is 30 methods; this is 62 over it, 3.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cec28c7981e4d7f4a520d865b3ccc1cdc166b8f63a9cb7cec9fbcf4e8b73ac1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CollisionSystem/Collider.cs: FileTooLong \u2014 1306 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 806 over it, 2.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d7009483a30d4c4356ad1b4ce93defcb005ff3d1cadc5dd69009207a27d01d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Pathfinder: TooManyMethods \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods. The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13251c071eeeefbe618ca189f3eb7eebf9b73ee4ea051d785f2a5c11b11076bc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Collider: TooManyMethods \u2014 1294 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd25d05491d25acfa2540038522f287a208c1d01051ac01f8bc2a93ab98fe98"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ColorRgba: TooManyMethods \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 74 methods. The bar is 30 methods; this is 44 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorRgba.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1686aea01a6ba17fa86faac80e5ee98af6065ce84ba57e03ef65d686e02e98"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Scene: TooManyMethods \u2014 157 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Scene.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bee2c91fbb8d3b8211809283e9a9149ed0cd08956836721000cf57210ec2f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContentLoader: TooManyMethods \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b45b44d637af1ff4fc4e3c0b57a9c14f6ceab39f221d9c78d747013ccca90f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Size: TooManyMethods \u2014 199 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/Size.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"050e4015abaa4c4a7316668739304c5bb91fb81b320b4b9d0124d7e73df73b0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QuadDef/QuadDrawing.cs: FileTooLong \u2014 1159 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 659 over it, 2.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a85440b497e8f4f8bee8b5304dee88e090e8260a4ecbd3c8bc178561a8f6a4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Transform2D: TooManyMethods \u2014 267 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/Transform2D.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a91a11aa0d877efce347c26ce16507aa30d114ea951b3185aac5c86663231d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Rng: TooManyMethods \u2014 280 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/Rng.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"486e39d9f00be72585a83daf3320068d4838647a735de456bdbb006c3b9c1314"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShapePhysics: TooManyMethods \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f4ff399c2f09da9a37f0e81405f30444b01353f58a3f888662bccbbb7f34af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShapeMath: TooManyMethods \u2014 192 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeMath.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfd6bfdebdcda2decd2dc94307024c0d4a58b194a1e530eb3257e24859536cb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TriMesh: TooManyMethods \u2014 287 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/TriMesh.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09118b29444a305ef22342bca44c519cf5a045efc964b460937e4b90a853194"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BroadphaseSpatialHash: TooManyMethods \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods. The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4865aaae119352993cf50c253c72cf14a75a75439cfc4d079ff60deba8613f07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Content/ContentPack.cs: FileTooLong \u2014 959 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 459 over it, 1.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01412aa0a24f7bb2e9da6668177cb6191e0756485287f87431338e0a8bb52aed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CollisionHandler: TooManyMethods \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods, declared across 3 files: CollisionHandlerDef/CollisionHandlerCastSpace.cs (23), CollisionHandlerDef/CollisionHandler.cs (21), CollisionHandlerDef/CollisionHandlerIntersectSpace.cs (11). The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5132af21714b114094b9067d2b9fe2bac2b3545b708c3758659a777c23d7a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShapeFileManager: TooManyMethods \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5de9cdf5e9cedc414f6a0bda93d374f7a16401365f7ad1608d2e10ee40cb376"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RectNode: TooManyMethods \u2014 231 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/RectNode.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b0e10d307bb52fa90d162ddd85c3c918ac904a27523c10fa4396c560fda419"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QuadDef/QuadIntersectShape.cs: FileTooLong \u2014 854 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 354 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"958c17f75cb9043326af2422597e487e665a3f87a1f9107944a17e66b9ae64e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContentPack: TooManyMethods \u2014 953 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b4de04a774fdd7667f607c1e30a5b50c1cc86e5ba9226af4ccd7ca752e02e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GameWindow: TooManyMethods \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0bc70e38981534fa99bfb7cee3249b029041cf634525e67d0ed165134157b4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ValueRange: TooManyMethods \u2014 154 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ValueRange.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a18ba46383231107a2ec49529f91e92658a9cfe80e6434d309ddee7bebbe12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Polygon.GenerateStripedSegments: MethodTooLong \u2014 GenerateStripedSegments runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"379319d9979085bed79cf19f627c4c21c4b0439685450558edec80378f0353a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InputAction: TooManyMethods \u2014 328 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputAction.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa70d5105453bae8b2e8e5d4e32fc81cb4c4e30d1317ae2a6f3d7be9fb62fd1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GamepadDevice: TooManyMethods \u2014 373 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e9fe6fcdc50a4cee0cf086cc756e789e159ee870a577750dcb0e9d68c2fcb6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Triangle.DrawLinesPercentageHelper: MethodTooLong \u2014 DrawLinesPercentageHelper runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"846b05f0dedd358ae971d7db5ec0f3371eecff17d043a6cb11295ee6feee21c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextFont.DrawTextWrapChar: MethodTooLong \u2014 DrawTextWrapChar runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"72af27b79c8c5a6e15240381f70b6ff400f977132e70bb41c0d7a7c7a182ff3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AudioDevice: TooManyMethods \u2014 345 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. 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":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fd16d57f0096a360b77ca5e52fe5f3f350e5cfbb8558af8753abd795ac1c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Program.ConstructUnpackCommand: MethodTooLong \u2014 ConstructUnpackCommand runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e54fd0ed1ee3b0629a20c4e535237b195e69f0d02fe9599b2ddaa2cb6f4710e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QuadDef/QuadClosestPoint.cs: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 233 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"830d13311c17f1633aface6154221606b8842815ae60b5dfeaa2c2d486d75368"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RectDef/RectClosestPoint.cs: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 233 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectClosestPoint.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba2740d6ccf147bf6af6d853d20ede7da8312f8d55407ec7496d8ca2799ec3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ValueRangeInt: TooManyMethods \u2014 138 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ValueRangeInt.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9757f05f46fb78ba2bdbb45e4b4c584542459bd7203a8911271e9131939900"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Program.ConstructPackCommand: MethodTooLong \u2014 ConstructPackCommand runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"363f71cb4a592a4e5db36ac3f2b01421bafd32dc9e0afd2bd8cf6f49c498e5c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Quad.DrawCorners: MethodTooLong \u2014 DrawCorners runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9ef6b35c8baeff4f9b3ff6b41276b33119710cb14d3a3adfe82720c74f9367"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Triangle.DrawCorners: MethodTooLong \u2014 DrawCorners runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfab07bea66f105e451a16145f2142f11c62b9e939e1da9f6d23d4c0eba95ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Quad.DrawCorners: MethodTooLong \u2014 DrawCorners runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc118d1b7eba8b56f5763e86204f754817d6b4062d2c5bc7aae4a49740e75d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TriangleDef/TriangleDrawing.cs: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 199 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cf7b9bd9c55ac69d02276d0409446b1f8bde43784a69f6f77047e7f087e6d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Triangle.DrawCornersRelative: MethodTooLong \u2014 DrawCornersRelative runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bcdbec15aa390ea572a0a33468cbcbacadd2ed55de9aac632eaa8466f46d10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CircleDef/CircleDrawing.cs: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac7d9b7a362ac0d1afabbdae0019c2b524fcd128b2a0c3706e3f43244edf9a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TriangleDef/TriangleIntersectShape.cs: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50716f797fb373d8c1db1d94a2e826a1e8f4c4202a08e53b31a09ae756c8815c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Dimensions: TooManyMethods \u2014 120 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/Dimensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e33d90852fd5635750ff2924cdcd65a12f47ea07052e0fc58cd3a73df394f6c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BitmapFont: ClassTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 146 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a309099281b644f22f94084d86fa07d9a1377de40766558d13c60a66d388c521"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ControlNodeNavigator: TooManyMethods \u2014 289 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaab98df3dbc44f1df1f2ed6bd5f83d3b57ead3d798dc393aad912b640c6cae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpawnArea: TooManyMethods \u2014 216 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/SpawnArea.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d077b51dcff042d611ada474ee7b18d4a176b395de576ca8978d1e5172e6b5c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitFlagLong: TooManyMethods \u2014 95 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/BitFlagLong.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00494218eb5ff4cf5dcc821289c40578f11fbece5ad2ab326781de894c17bfc5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnchorPoint: TooManyMethods \u2014 76 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/AnchorPoint.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0fafec05a3f6280b1dcf4ef56d7a55c0b1b6a494aefab8fb4e6147678c1f67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/GameWindow.cs: FileTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 161 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e48b99d959fbf1f2673f41337bc741f57b51e719d00d416286c5085dce85883"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QuadDef/QuadDrawingStriped.cs: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 158 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2b39642e8763f29cc7b14032371494532c56201818f2f5417698b6b6a89981"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TriangleDef/TriangleDrawingStriped.cs: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 156 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaf669878b23ddd2111172457474f02a1f3071d741630efb019ef7126991ffc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IntersectionPoints: TooManyMethods \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d97b32073ad3f2efdaffda4ac904daecc73f70219837b9a30c96c17328c48cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MouseDevice: TooManyMethods \u2014 293 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/MouseDevice.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac4bb3bad9387cee1e92007a6c1fcf5e754f37105f0c18d6ac8ee502fd35659"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitFlag: TooManyMethods \u2014 94 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/BitFlag.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e41839b08fc555a32e56b1efa46edc8985b264280aaea3e7613c3fdd402393a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RectDef/RectDrawingStriped.cs: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 149 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca84ca8e930924630abafe7e3a381bd758bec4eeddff28cb93c92fd8f0ed9241"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Quad.DrawLinesPercentage: MethodTooLong \u2014 DrawLinesPercentage runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c026c0d5912255e5f3adeb6e8047d8efea97970a41acdc625c88f58f7ebf3712"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CircleDef/CircleDrawingStriped.cs: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 139 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7eacc14ffed1b5a9e88480c00ae02fa04161cf036a43ea1da0a3e4f2d86f075"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShapeLogger: TooManyMethods \u2014 119 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeLogger.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a209a9766be7a0bdd6e84e6a71cc41dd5dc5def1001553088783a4074ea3d009"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Quad.GetClosestPoint: MethodTooLong \u2014 GetClosestPoint runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a0c74f338624cafc236742880c60e1451d678924a4965cd2f04d2f14d7534d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Quad.GetClosestPoint: MethodTooLong \u2014 GetClosestPoint runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a1b265b94cb7d75f1a5b09d673518ea43ee871111f3bf4b99d07624434dd1d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Rect.GetClosestPoint: MethodTooLong \u2014 GetClosestPoint runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectClosestPoint.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd3ed16429a0fbc38f0c3d58d6ea29e9635e1714a3784b96804b8bb06d067e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Rect.GetClosestPoint: MethodTooLong \u2014 GetClosestPoint runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectClosestPoint.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ae170bc393a241633a8a56e87db9ddcae7abf9e6ac62e2c9313685629960b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Game.Game(\u2026): MethodTooLong \u2014 Game(\u2026) runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7df7f53510b76339aa980821b35fa1d615b2df39546a3f8a28aba706deea88"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Game.RunGameloop: MethodTooLong \u2014 RunGameloop runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f5fd34458eae725c72be0ffff99d75576ecd561a34ee7b1fef1068cf62af91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BroadphaseDynamicSpatialHash: TooManyMethods \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5df7c333a48c44fb005ea9893163276e908d4d050278ad2ce6b39a06b7a086"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShapeTween: TooManyMethods \u2014 169 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeTween.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ef2e09ccf57c9424f02ec8ec1e3c7086cbcf69073e50272024e346adb18655"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IntersectionPoint: TooManyMethods \u2014 101 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoint.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f71802776703e26523de86f3577aa8b3f3a636027dec605ec70dd36c8af83cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PolarCoordinates: TooManyMethods \u2014 96 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/PolarCoordinates.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f610764d18f333d266e188933b8cb0d139513dd89d97765f95d4922aba9f11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PolygonDef/PolygonDrawingStriped.cs: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a3b7ea327d77fe4bcbbcbde019a1f4d49e7bbf472257eecdb81e703728d257"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Logger: TooManyMethods \u2014 100 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ca5c6fbd1ca5f5ba2f9c85e08e9d5402b68ee4305e01deeef9a96dcd21de3d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Program: ClassTooLong \u2014 471 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 71 over it, 1.18\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf28eefd30c0ed19f8a71209526615bafdcc795637e5219050cc3d023215f55"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CollisionObject: TooManyMethods \u2014 199 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7414be959b2d4cca73c8b0225acca4b139c706c13109bf490bd847322903fb44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Pathfinding/Pathfinder.cs: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a859b443dec3ebd30c97cdcde078799ecff6b80e742477112dba07eb9c804c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TriangleDef/TriangleClosestPoint.cs: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 72 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"544cc3c851f11dadca78892e64564ca20e664974690e80bd065a90ee2f91751d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StaticLib/ShapePhysics.cs: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8342ad9a38af90eaa85453f91bb5f73d6699bddfcbd4f17e5447bb7e86f04671"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShapeCamera: TooManyMethods \u2014 164 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ShapeCamera.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abda1aeeb4d52a9e7789a8e5b5e65520d728b18698bce5c08234738a639e7f27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Content/ContentLoader.cs: FileTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 65 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8f36ca2127c1bae902417946e1b6d9283a2edba7a7748b397ab686c87769d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransformMatrix2D: TooManyMethods \u2014 176 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd617fd977d6df7d31cfc47848378b3915a243b0ff82e8efbf7e25852150a26"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Coordinates: TooManyMethods \u2014 130 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/Coordinates.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc340af50d68ed24b12080c952a98c643ebb4faffa36e3b699a4e6e762e95ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CollisionSystem/IntersectionPoints.cs: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1291bfd4251f2ab32cffd5c0535bfac55002eba1c78aac6d63841ce7890554b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Triangle.DrawLinesHelper: MethodTooLong \u2014 DrawLinesHelper runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"e951bd08c7ea81e0269ca8d3d1488c1395c56144e4826bab860759ca074aed59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UI/ControlNode.cs: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"058bf3572ee1c9979ee6bfb82aa59a49200b3dfc32cd0c83177f7e586876c490"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextFont: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 15 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7b955cdb31755b74dce85b37e9356194b03d486cee82dd4c12465a4f3694bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IntersectSpaceResult: TooManyMethods \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03b1fc074f845abaf0961edff925879736ec2fb6604deb2b20aa6a4a98ccebf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Circle.GenerateStripedSegments: MethodTooLong \u2014 GenerateStripedSegments runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39f82c066d18ac04017e0e2099c8e4284c3b8d7e054931998068b3f477f320b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Quad.GenerateStripedSegments: MethodTooLong \u2014 GenerateStripedSegments runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7193e965a4bafa7abc5536210a79f064e19141a5fcd102a83d1721665afcdd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Rect.GenerateStripedSegments: MethodTooLong \u2014 GenerateStripedSegments runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"464ec8bc2201c7a90de5ca3e58b4add67d2b22c142a57eb8ce3b1fd906e7495d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Triangle.GenerateStripedSegments: MethodTooLong \u2014 GenerateStripedSegments runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2487a119f93adfae7a899b199b0626fe250af2576b16f569dc6098af7c7e9030"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RectDef/RectIntersectShape2.cs: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3818c4291cc5f2d263d664c75a40a618d82b209811ca6e6ae743da51f31758d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (17 members, 13 shared lines): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:600-727 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:740-852 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:864-976 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:988-1100 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:615-743 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:755-867 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:879-992 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1004-1117 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:611-724 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:736-848 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:860-972 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:984-1096 | ShapeEngine/Geometry/SegmentsDef/Segments.cs:385-459 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:614-728 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:740-852 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:864-977 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:989-1102 \u2014 These 17 members are variants of one another: a block of 13 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 17 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"2461a5efd03deb15bc4a65d94cd2a39ec8abd7d594da9b019ce6563de4737af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (16 members, 35 shared lines): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:600-727 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:740-852 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:864-976 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:988-1100 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:615-743 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:755-867 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:879-992 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1004-1117 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:611-724 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:736-848 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:860-972 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:984-1096 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:614-728 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:740-852 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:864-977 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:989-1102 \u2014 These 16 members are variants of one another: a block of 35 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 16 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e1cf7c516dc68a8902199d25d8091c2df9105e82a88c5f0fddf74fd18d9cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 29 shared lines): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:44-79 | ShapeEngine/Geometry/LineDef/LineOverlap.cs:136-171 | ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:141-176 | ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs:154-189 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:124-159 | ShapeEngine/Geometry/RayDef/RayOverlap.cs:127-162 | ShapeEngine/Geometry/RectDef/RectOverlap.cs:146-181 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:121-156 | ShapeEngine/Geometry/SegmentsDef/SegmentsOverlap.cs:114-149 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:183-218 \u2014 These 10 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d68a80d6ef237c9bb93e497bea471edb96b82eca4b7e6da23645a6d28238763"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 33 shared lines): ShapeEngine/Geometry/CollisionSystem/Collider.cs:934-969 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:976-1011 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1018-1053 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1060-1095 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1102-1137 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1144-1179 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1186-1221 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1228-1263 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1270-1305 \u2014 These 9 members are variants of one another: a block of 33 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec076de9df7577567fe124acc20faea7f016bfca0d2b667146a2fec93a9c1d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 28 shared lines): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:416-451 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:372-407 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:48-83 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:31-66 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:748-783 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:312-347 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:27-62 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:395-430 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:675-710 \u2014 These 9 members are variants of one another: a block of 28 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6c6ab9ca78cf0c6209ef2995a32ef12f9c99f61b06e8cf04a1880ca83451c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 16 shared lines): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:151-195 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:208-252 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:265-309 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:322-366 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:379-423 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:436-480 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:493-537 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:550-594 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:607-651 \u2014 These 9 members are variants of one another: a block of 16 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dae5b5225e51268319c002ba874ab48f07f1754bc12d46b78065bcc8cc7f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 57 shared lines): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:128-315 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1113-1192 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:132-318 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1129-1209 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:132-319 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1108-1187 \u2014 These 6 members are variants of one another: a block of 57 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e31abe6449ce46f14856bc26d04722c6cbf8c3dabc23a4736f943f32b7f17b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 8 shared lines): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:741-754 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:768-781 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:795-808 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:822-835 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:849-862 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:877-890 \u2014 These 6 members are variants of one another: a block of 8 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8566d030cd9a3f8cdd88043447cc4e226711a6fd2c26d2594cc5c7a548d800"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 54 shared lines): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:965-1057 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:269-388 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:2071-2168 | ShapeEngine/Geometry/RectDef/RectDrawing.cs:667-762 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:838-934 \u2014 These 5 members are variants of one another: a block of 54 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"64606d81f5519c844ae75d59f4d37c1eedc241bd30342cd9ab3a53c42f4a0460"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 35 shared lines): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:783-849 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:862-928 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:941-1007 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1020-1086 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1099-1170 \u2014 These 5 members are variants of one another: a block of 35 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b755d02371c7f94fe07c09d07eb75df41cd99486d63a14729e4c158366f519"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 34 shared lines): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:150-429 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:783-849 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:862-928 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:941-1007 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1020-1086 \u2014 These 5 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea7bbe4c342050ef51229a837be9517b9bde58be3e9549036e500bfa0dbea01"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 114 shared lines): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:128-315 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:132-318 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:132-319 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:132-318 \u2014 These 4 members are variants of one another: a block of 114 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff1028fad0e9b46639c4ce0dce6a8487b4237358f1676509a7ad7f396ee4a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 36 shared lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1005-1104 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1113-1245 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:906-981 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:994-1094 \u2014 These 4 members are variants of one another: a block of 36 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"05826fe4c9d8c513f250623d85bfaf0966b815e99cb7e501c50a992e9fd7de20"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 32 shared lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:287-375 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:511-628 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:284-351 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:466-555 \u2014 These 4 members are variants of one another: a block of 32 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db2e7c2ac3320ad2a9b3be9f17404729b422f8d980f0b086860a89aa9547f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 24 shared lines): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:31-63 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:31-67 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:31-67 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:31-67 \u2014 These 4 members are variants of one another: a block of 24 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1568d9d8ed5e3791336a7923eb03e9188ad464e5d71715d9ab4d299f4039b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 24 shared lines): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:74-110 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:78-114 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:78-114 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:78-114 \u2014 These 4 members are variants of one another: a block of 24 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"60385ddd91ca883be96f9efc356623a8ac51a8b168aed14512a2d2bdef905272"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 14 shared lines): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:78-114 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:455-487 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:497-531 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:540-576 \u2014 These 4 members are variants of one another: a block of 14 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"613bc237a57a2bb256c5d666fec81d26abbee54055be971209d226be50493591"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 14 shared lines): ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:78-114 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:453-485 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:495-529 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:538-575 \u2014 These 4 members are variants of one another: a block of 14 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"942e48501a4bdc4262e9af910613e6866a8d276a5242dffd9716506d6dffdbb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (154 shared lines): ResourcePacker/Program.cs:184-425 | ResourcePacker/Program.cs:427-681 \u2014 These two members are variants of one another: 154 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"49878fd66515363d273900bc5aab83443b02594a9768e2d2b4a29004a417cd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (104 shared lines): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1159-1324 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1385-1554 \u2014 These two members are variants of one another: 104 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bccbff01d3ea16e8038e03b8904bfd4f29ca9b53ac95251cfcfc1eacd872778"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (83 shared lines): ShapeEngine/Input/KeyboardDevice.cs:268-378 | ShapeEngine/Input/MouseDevice.cs:301-406 \u2014 These two members are variants of one another: 83 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/KeyboardDevice.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b7b18e5126685fc7003f17609d6f0c5b0230fdc477c84328bfb90602e6d58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (77 shared lines): ShapeEngine/Text/TextFont.cs:477-751 | ShapeEngine/Text/TextFont.cs:783-931 \u2014 These two members are variants of one another: 77 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"5169444ee16d125f518d78b4856e21b251d4b8202d4bd55262678e767c93aceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (65 shared lines): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:941-1114 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1117-1394 \u2014 These two members are variants of one another: 65 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e32ce625060c6bfb8d24875b6fa56d4a5f7eab3e67b82c412a60013f739a292"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (51 shared lines): ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:324-430 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:443-579 \u2014 These two members are variants of one another: 51 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7e6a449d3c1f402ee8b6c38694483e31e109089a60a4f60b07234c707511f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): ResourcePacker/TextPackManager.cs:218-345 | ResourcePacker/TextPackManager.cs:359-484 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"982e95d55990c01da8596f43c137df4971a77537277fe0ca1c4f1b77047946c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:227-270 | ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:278-321 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1586ca536a87f4385fab8de25939107c816e0ffe7c109a89db2034cacc07a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:293-336 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:353-394 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e3a167686b833d0991fe50997b02e90268109143ebaa348acd93d5e2386771"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:302-342 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:353-393 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"42983fb676b8b694170164486abe272a5935b11db4732134bc428ee02b79896b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:257-284 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:303-328 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"328312d4cbe2895476be9580eac9e25c9ae346d43f0599415f588a3cca86051c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:87-124 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:207-238 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e41f585c3d26299cb794d573c8a3e7ffc56ccd5c75dd81b8f7a28ff827793e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:410-442 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:457-490 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d5d07ba4e56138cf8243712e5937ceec4b5e1648bf206db66f7b67f8f6a063"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:163-195 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:210-242 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c21cdfc96b04f0a069e7882c89bbae709b716774c53cf64c87dc24dff8543f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:445-459 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:523-537 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:553-567 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:707-721 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:811-825 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1192-1206 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:513-527 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:1175-1189 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:553-567 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:748-762 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:997-1011 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9915a20e524b79b8f970277cbbb3f1057ea805f0840fd6623c08549b28319ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:222-236 | ShapeEngine/Geometry/LineDef/LineOverlap.cs:250-264 | ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:331-345 | ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs:289-303 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:345-359 | ShapeEngine/Geometry/RayDef/RayOverlap.cs:231-245 | ShapeEngine/Geometry/RectDef/RectOverlap.cs:335-349 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:328-342 | ShapeEngine/Geometry/SegmentsDef/SegmentsOverlap.cs:250-264 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:425-439 | ShapeEngine/Geometry/TriangulationDef/TriangulationOverlap.cs:444-458 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"10af24656b7a8757fad5ad54d584719e4f16e3e3062fdb533cc9c8867ba29a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:48-82 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:126-147 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:191-221 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:101-120 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:155-175 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:19-48 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:61-87 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:99-119 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:130-151 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:164-183 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:196-215 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7b6b820584b78816e35ff0461950d4296f8e8e7001ac8435ce4020371c7bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:25-37 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:25-37 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:51-63 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:25-38 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:25-37 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:25-37 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:25-37 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:25-37 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:25-37 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:25-37 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f884667cc8a94cf91d8b835a6cd9d5ac74dd7cee45c1510708b07fa51b258ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:49-84 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:50-85 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:70-105 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:52-87 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:45-80 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:48-83 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:50-85 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:47-82 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:48-83 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:48-83 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"52552a676ef4fa61a29a571093baa6a8f148688b733ac253c691fb337307b3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:390-404 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:777-791 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:406-420 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:445-459 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:724-738 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:690-704 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:845-859 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:783-797 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:311-325 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:647-661 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e566d7e21774c5f8ed6ba7a62842cd7262d84ce8021f85eeede701a00a78fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:941-955 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:803-817 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:429-443 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:481-495 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1554-1568 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:716-730 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:925-939 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:809-823 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:665-679 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1362-1376 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"673e1644381db64e98f4208598955dfd49c88537ea0c97b6fc8b221e2374e7fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:70-81 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:90-101 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:110-121 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:130-141 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:150-161 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:170-181 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:190-201 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:210-224 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:233-247 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:256-268 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c6e3d955c3a27e99e00bdfe3c954d02d409d025bf7b284561aafc19137ee5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:26-40 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:26-40 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:97-111 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:149-163 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:27-41 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:26-40 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:26-40 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:169-183 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:26-40 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69612da94e87d944d4178a37c3ae3dcb1fd6f32bbcd240e21ed39f921820579"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:50-66 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:50-66 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:121-137 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:173-189 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:51-67 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:50-66 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:50-66 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:193-209 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:50-66 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a220172d8d630394673674367e68b687b3b71446ba3ad019f01257f840f898"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:549-585 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:706-750 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:762-806 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:818-862 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:874-918 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:930-974 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:986-1030 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:1042-1086 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:1098-1142 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a6da75d154d1622ee7200ca1d6935e0f08be972abfbbbfaa55256f4e107e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:939-965 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:976-1001 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1012-1038 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1049-1075 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1086-1112 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1123-1149 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1159-1176 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1187-1212 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1223-1248 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0a2ea2486b5fc0c15dd366dc76f1e5077428df21ad212aa812bf962a3b0344"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/Collider.cs:400-418 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:425-443 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:450-468 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:475-493 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:500-518 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:525-543 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:550-568 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:575-593 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:600-618 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5cac3623f6291f00df336373874a66109576a3dacb21fe7cf8f60ad8ccf04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/Collider.cs:1383-1418 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1425-1460 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1467-1502 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1509-1544 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1551-1586 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1593-1628 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1635-1670 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1677-1712 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1719-1754 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6571ce28293148a9a6fbbc401ce872e7924b654556cbc4a04a20bb0e25f749f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/Collider.cs:1849-1884 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1896-1931 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1943-1978 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1990-2025 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2037-2072 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2084-2119 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2131-2166 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2178-2213 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2225-2260 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"2649708fedd0260fae7ea190e1118d178787cb35135159536fa5f2f55a5a3818"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:331-386 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:393-459 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:466-532 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:395-450 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:464-530 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:544-610 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:363-417 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:427-492 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:502-567 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"917a2a3045a7a3ac3442a855d8af46ecb9b297808c222eb22eda93892b071410"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:199-236 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:246-282 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:292-329 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:204-241 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:249-285 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:293-330 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:184-212 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:224-252 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:264-292 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc2351f7b9aab6f0af54502d9ac52b7b17d83854b22cbdc4d5a3147ecc3cfc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:386-516 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:526-698 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:708-880 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:383-513 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:521-693 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:701-873 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:343-440 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:452-579 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:591-718 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8b2f94a7559658a1372dd779a6910abcf185c6c98fbabc22c1e29898dd8fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): ResourcePacker/BinaryPackManager.cs:272-365 | ResourcePacker/BinaryPackManager.cs:378-500 | ShapeEngine/Content/ContentPack.cs:430-508 | ShapeEngine/Content/ContentPack.cs:526-616 | ShapeEngine/Content/ContentPack.cs:902-984 | ShapeEngine/Content/ContentPack.cs:1017-1106 | ShapeEngine/Content/ContentPack.cs:1327-1358 | ShapeEngine/Content/ContentPack.cs:1417-1440 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8babc0dbdd6932bc6c8ea42f1dc70be9cdf0d03da9c2b6f8af18e0fd850723"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): ShapeEngine/Content/ContentPack.cs:1920-1948 | ShapeEngine/Content/ContentPack.cs:1962-1990 | ShapeEngine/Content/ContentPack.cs:2006-2034 | ShapeEngine/Content/ContentPack.cs:2048-2076 | ShapeEngine/Content/ContentPack.cs:2090-2118 | ShapeEngine/Content/ContentPack.cs:2132-2160 | ShapeEngine/Content/ContentPack.cs:2174-2202 | ShapeEngine/Content/ContentPack.cs:2216-2244 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"8410615cb04bf4f0586d8666732ab5c633c2241b0c75b82a4dcd4ea0a6d93e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:329-358 | ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:366-395 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:416-444 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:455-483 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:405-434 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:445-473 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:404-433 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:444-473 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff82e6f09f16177a0ef0e57500a7255ec730dcd1f08899c3a040dcb8088c5e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:175-196 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:211-232 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:247-268 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:283-304 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:319-340 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:355-376 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:391-412 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:427-448 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd282c24a154abcbdaf7fa30c14b707d4404147713cf1a41998d47025d70928"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:540-563 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:575-598 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:610-633 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:645-668 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:680-703 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:715-738 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:750-773 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:785-808 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"1870852b76410d87f61e56d3bf27549e566fbb12321f1941ba7b6b5f2203410f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:28-73 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:84-132 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:443-482 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:492-529 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:538-577 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:586-629 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:639-685 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:694-743 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd889b6a111970be3fd184ae42752c52b8fb09d197151cb2d7a9055ed2facdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): ShapeEngine/Content/ContentLoader.cs:552-585 | ShapeEngine/Content/ContentLoader.cs:595-628 | ShapeEngine/Content/ContentLoader.cs:638-671 | ShapeEngine/Content/ContentLoader.cs:681-714 | ShapeEngine/Content/ContentLoader.cs:724-757 | ShapeEngine/Content/ContentLoader.cs:767-800 | ShapeEngine/Content/ContentLoader.cs:810-843 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aecc641140792432fb08003f5df40f46490998bd713a05520cea2a47d75be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/Collider.cs:681-697 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:708-724 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:735-751 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:762-778 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:789-805 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:816-832 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:843-859 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c62a50a43e486e7d5e53c47bb66622d74734811a80d3521b42cb76bf0e7494"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): ShapeEngine/Pathfinding/Pathfinder.cs:1098-1115 | ShapeEngine/Pathfinding/Pathfinder.cs:1117-1134 | ShapeEngine/Pathfinding/Pathfinder.cs:1136-1153 | ShapeEngine/Pathfinding/Pathfinder.cs:1155-1172 | ShapeEngine/Pathfinding/Pathfinder.cs:1174-1188 | ShapeEngine/Pathfinding/Pathfinder.cs:1190-1207 | ShapeEngine/Pathfinding/Pathfinder.cs:1209-1226 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a61634206e9fcd04a773fbde21cc22325716dc5de4f7e50803598bfbdb9e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ShapeEngine/Content/ContentLoader.cs:905-941 | ShapeEngine/Content/ContentLoader.cs:955-986 | ShapeEngine/Content/ContentLoader.cs:1002-1034 | ShapeEngine/Content/ContentLoader.cs:1048-1079 | ShapeEngine/Content/ContentLoader.cs:1093-1124 | ShapeEngine/Content/ContentLoader.cs:1137-1168 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe271e7a1ce3e136217fb7c062e1bb8c960994e88f26263e812c244a38981b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:556-568 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:575-587 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:594-606 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:613-625 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:632-644 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:651-663 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8ff1d4878221e6847b21bb934b1e24b01f369e3fc537666c412d1f2f9ea631"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ShapeEngine/Geometry/LineDef/LineDrawing.cs:27-33 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:44-50 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:61-67 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:78-84 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:95-101 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:117-123 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineDrawing.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7497faf2cc162f629dcbe3f280d817fa1974570f80ad6ca482fc8d07ed81b17"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:890-956 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:965-1030 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:880-946 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:953-1018 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:730-785 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:797-852 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed1aafdab6437a4f7b7ea227f6881c70ec03bc34129403719bd5ad1bc767df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ShapeEngine/StaticLib/ShapePhysics.cs:982-1004 | ShapeEngine/StaticLib/ShapePhysics.cs:1020-1040 | ShapeEngine/StaticLib/ShapePhysics.cs:1130-1150 | ShapeEngine/StaticLib/ShapePhysics.cs:1206-1226 | ShapeEngine/StaticLib/ShapePhysics.cs:1284-1305 | ShapeEngine/StaticLib/ShapePhysics.cs:1365-1386 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8061d0f47cef175d26d31d1c9272db65773af39927326410f586a51d472224"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): ShapeEngine/StaticLib/ShapePhysics.cs:1053-1077 | ShapeEngine/StaticLib/ShapePhysics.cs:1092-1114 | ShapeEngine/StaticLib/ShapePhysics.cs:1165-1188 | ShapeEngine/StaticLib/ShapePhysics.cs:1243-1266 | ShapeEngine/StaticLib/ShapePhysics.cs:1322-1345 | ShapeEngine/StaticLib/ShapePhysics.cs:1405-1428 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aa4ed3c8690f7aef57f20e81834e6be2ad8cf988a1fcf2ba2423c754e6206c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleContains.cs:234-246 | ShapeEngine/Geometry/PolygonDef/PolygonContains.cs:187-199 | ShapeEngine/Geometry/QuadDef/QuadContains.cs:167-179 | ShapeEngine/Geometry/RectDef/RectContains.cs:224-236 | ShapeEngine/Geometry/TriangleDef/TriangleContains.cs:234-246 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleContains.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f1529f8093b5cfd41188ab57e6218cc56158defd59607114071059c38830c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:580-586 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:763-769 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:596-602 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:593-599 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:595-601 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1930ea36a8bcf4926c520d284281c204916fc69da05fb2b4fdab074e93471f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:177-217 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:230-282 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:294-370 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:379-431 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:439-518 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4dfa0c1d7e26f0fff449da669832244fbd4704cef04416e69d5c6509890be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:802-821 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:828-847 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:855-875 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:911-932 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:940-960 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e7f71c725bd0849ed423276561c193020c5d8dbbe313c5326c9a03ca9399e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:506-548 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:563-604 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:765-793 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:258-300 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:315-356 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5b0df612bf600d1584e8be064f3bfb469a2475b999e4cb925901aa1e4814b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:618-677 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:692-750 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:805-851 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:370-429 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:444-502 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"a139022a74775b9296ce96a3bddde621f070c322128e424ece2277752513f122"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:267-301 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:312-353 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:364-405 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:242-276 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:253-291 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a6e43409d507be29d30c17baa0339c113f4118c3211deeca5fdb9842a32d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:348-369 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:407-437 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:259-278 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:309-329 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:319-355 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e35bb36c23016e1c41f7a685028a0a133c84540bf9ae7b1aca2cb0d0745e31b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:65-87 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:127-149 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:158-180 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:151-173 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:187-209 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a72fff49387055d74b0eea270cf06fa6e5e70427bfc3398d2f5a37cc011b989"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:378-395 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:140-155 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:399-417 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:144-160 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:451-469 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c418027f6fd51d028a43d6399f55b9f82c2a5d9ddbe89ef72debfb7c72839c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ShapeEngine/StaticLib/ShapeFileManager.cs:965-981 | ShapeEngine/StaticLib/ShapeFileManager.cs:992-1024 | ShapeEngine/StaticLib/ShapeFileManager.cs:1033-1052 | ShapeEngine/StaticLib/ShapeFileManager.cs:1128-1146 | ShapeEngine/StaticLib/ShapeFileManager.cs:1157-1192 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fa3c1b55c6d53ba4bf40be7b7d524189d5539db23e1d612d25d3d5b2383bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Audio/AudioDevice.cs:416-431 | ShapeEngine/Audio/AudioDevice.cs:574-589 | ShapeEngine/Audio/AudioDevice.cs:602-617 | ShapeEngine/Audio/AudioDevice.cs:652-661 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fd9cad07cede6fecf03d51467169cea7c5a9aba44e7a14da99137b8dacc18e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Core/TriangleBatch.cs:482-496 | ShapeEngine/Core/TriangleBatch.cs:529-543 | ShapeEngine/Core/TriangleBatch.cs:610-626 | ShapeEngine/Core/TriangleBatch.cs:640-656 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59d2e231da46b5cff5301f4f8679ccff00a476bdbe6cc47e0d4b52da89cfb6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:403-422 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:494-513 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:484-503 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:484-503 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99d37de4f2af8dd019f61427fdfb2a5bd4f5cf864d61c50246b9c3162e73785"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:118-155 | ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:168-207 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:479-521 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:363-401 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2d168ffaee63edcffb0b1696846834e07ea3c4aec3e15eed6cff95ae1234c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:177-191 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:292-312 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:320-336 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:370-389 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a50a5a43fc64d68e39a62902815baa4fb2a6d8efe1f439c6eca107949a6b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:25-49 | ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:84-98 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:55-72 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:85-103 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1980bea6a2c549e4e2fde1df06c4238502ddc252bb1c391d4c19b59273c9bd03"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:187-215 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:222-251 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:223-251 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:265-294 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4729a0f773059b96420b3d75a418825481ddbf09a17425595df6716ba467623"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs:75-88 | ShapeEngine/Geometry/PolygonDef/PolygonShape.cs:76-89 | ShapeEngine/Geometry/PolylineDef/PolylineCollider.cs:60-73 | ShapeEngine/Geometry/PolylineDef/PolylineShape.cs:56-69 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca767dfe074755d840f9d75b9e83ec1d9b91a8132d56f81a0d70628d1fffd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:860-870 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:881-891 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:908-919 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:930-941 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfce848edad7bd8849315e77ea3fd831666f7d21c56f704b05cdc4068e40f7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:197-229 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:238-278 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:216-248 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:264-304 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33a015277c68d7c73d9c98b836f54f7d61ca09d7beba3f47bb04bd047ad6e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:213-244 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:310-348 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:354-449 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:605-726 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d7daed735f8d2e9a221492b983fd9af9fe50fc409d7e4dc7638b7ad836b802"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1574-1615 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1638-1687 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1705-1763 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1838-1903 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0e45a7c045f914b339d058ef23db0256c779d32d38b5eecacf46c35a6c3bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:887-925 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1499-1540 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:805-833 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1315-1348 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b891fadb4874a2ebf831dc1bd1f7a772eda17abecd6989e284eb2049343cc12"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:67-129 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:198-285 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:1060-1079 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:1089-1108 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6c6eade955fe551259b22c449a00661da656da9ac4237a85e0a7682a48625"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:347-380 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:397-430 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:447-480 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:497-530 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"b586be9cfd0d0b6aaadb3d41e263a0c5aec8933d36eb5581883b60799539f070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (199 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:590-799 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:808-1006 \u2014 These two members are one piece of code written twice and then edited apart: 199 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f94c6a6928ef87c0808290661e18989c0883ffce84d31b5dd33977ca2feae51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (217 corresponding lines): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:229-461 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:476-692 \u2014 These two members are one piece of code written twice and then edited apart: 217 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1c72053693517bc1ba1cc99c2132fac34ffb6c8698d430007133895c00dac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (112 corresponding lines): ResourcePacker/BinaryPackManager.cs:21-135 | ResourcePacker/BinaryPackManager.cs:148-259 \u2014 These two members are one piece of code written twice and then edited apart: 112 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"589edac0624fcb76c6fb1ef30af83cac23c52106eea2350b4cbc5dad43949a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (138 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1255-1392 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:592-737 \u2014 These two members are one piece of code written twice and then edited apart: 138 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"128a4db3986324b0cb1b476dc4da074498bd7706b0cefaf3e0f873e73eca871c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (123 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:382-504 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:462-592 \u2014 These two members are one piece of code written twice and then edited apart: 123 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83acb8d862e5e9b4f160c29364a7807f3c7c2e78feb9c927a8dc5e5fbb352ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): ShapeEngine/Text/BitmapFont.cs:443-518 | ShapeEngine/Text/BitmapFont.cs:532-605 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"244a8152629432271ff0a3973615f284e43a5585ba065466c9b5495909357373"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (96 corresponding lines): ShapeEngine/Pathfinding/AStar.cs:39-137 | ShapeEngine/Pathfinding/AStar.cs:182-277 \u2014 These two members are one piece of code written twice and then edited apart: 96 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5ae59e0451c97a7358a872a12bea2aecef7ae842e5515fb71c260734db8ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): ResourcePacker/TextPackManager.cs:20-98 | ResourcePacker/TextPackManager.cs:111-204 \u2014 These two members are one piece of code written twice and then edited apart: 79 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78141b278d421091447b779c8ce60674d41ce9d614627715cacea3be78fca07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs:388-478 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs:599-685 \u2014 These two members are one piece of code written twice and then edited apart: 87 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8bf165663744ace8bc8e6951c545720d923d6136da724e5b563ec54509c2de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:731-801 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:833-909 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3e2115d842e4528067a452d2862c0ded6fe4de7861aa603907c713ad98ae7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): ShapeEngine/Content/ContentPack.cs:635-704 | ShapeEngine/Content/ContentPack.cs:1140-1207 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"9425cdab7c9e49f5be27321a0c14432932875d0c0fa16b7a6667b64de90e4f7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (94 corresponding lines): ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:362-455 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1107-1211 \u2014 These two members are one piece of code written twice and then edited apart: 94 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aafaf19448b4ef61d6f8d8dc4653dfea8567e03c4d7983fd62bb8aeaa5f0fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:138-213 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:52-121 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b91443a876e423c9e76431ced4135ef9b293f9a5d2ef881f7efb357a9dfe6f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): ShapeEngine/Text/BitmapFont.cs:312-363 | ShapeEngine/Text/BitmapFont.cs:377-426 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5ae4e523727da9534344bb7b0e11785ed6724632febda2ef55ca3ae4ae9f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): ShapeEngine/Text/BitmapFontAtlas.cs:340-381 | ShapeEngine/Text/BitmapFontAtlas.cs:393-457 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFontAtlas.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"96037239f18087c566602aefc731c0ae6723a2ecad37908bc5aa37c81ddc0e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:143-200 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:223-293 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"913b238e71bac2d0c63378f10369a1f060e297df653ab40a1ac26b797c005650"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:55-98 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:62-96 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"888abb7f41b3373801323c3112ba5d341999dcd9cacfd06b48702b55e4bc66a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): ShapeEngine/Geometry/RectDef/RectCollision.cs:104-142 | ShapeEngine/Geometry/RectDef/RectCollision.cs:155-195 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectCollision.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"af79304facf3bb5df9cee4655b4c6bf55283c1eeeb70c445ab8e366405da7679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 64\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:682-745 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:757-824 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:243-311 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 64 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd691e9078e819f1b7fcd32ce5537fd7b87f026b23956130ee3733482264655f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:226-249 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:340-359 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9daa814c6d749a984d31b7ebea4d5a8ec094881a8ac268cc35c961ad62054e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:596-628 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:793-826 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0ae68e27a260071420cc911618df0ffe4e7d89b750de6928f2c09459b40da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 42\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:59-104 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:218-259 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:275-320 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:335-383 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 42 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8b1b2955ce50d8532c6979baac7f6598c37e9c92f50d5cfeab3cc75bb5e032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs:102-124 | ShapeEngine/Geometry/TriangleDef/TriangleOverlapStatic.cs:111-131 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"41667520fab2dfa2d0c609a5173ce2465dedfc7f5929a4730a916f2ffb311c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:540-576 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:538-575 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5aab749a621e929357ded74515f51802088d14e4bd64c2516417229acd0848"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:624-668 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:688-724 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a024d6b6be125dc9c43f79a84e8302432fdddac02843e4ec17a6e100ae593f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): ShapeEngine/Text/BitmapFont.cs:208-247 | ShapeEngine/Text/BitmapFont.cs:260-298 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3e1b870b54c3e68cccc9095f5d32fba528256c70e1c1a0512dc6130c8330d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): ShapeEngine/Stats/StatSet.cs:749-785 | ShapeEngine/Stats/StatSet.cs:791-833 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b7f948c726400da29bd47d0e982f471f8769ed91eb5df372e86e15a02a6cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): ShapeEngine/Text/BitmapFontAtlas.cs:207-242 | ShapeEngine/Text/BitmapFontAtlas.cs:295-325 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFontAtlas.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a950029bf582d749147185eb934b0295d563f324fe1fa45f72e02c4501d3143"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 42\u002B corresponding lines): ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:739-781 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:794-835 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:750-796 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:809-854 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 42 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aef033dfe2977cb7f9683d5da44ee93e30e3c7718c821c0c4d880cc9dcf172c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:934-996 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:846-893 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae821664f14c7100beb89c42f1bfa0a051c3c43078ffc1f10327cf0e6f6cff6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:235-277 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:287-333 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:320-364 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9cf5177b7bf7b7863e2e77b6f41fa41a0c251b398f7200065c0c5d6e97000e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:470-503 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1258-1284 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d16e6dec02ea66361fe33fae999558ce39647b616e1fbf90596b174a6b349ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 44\u002B corresponding lines): ShapeEngine/Content/ContentManager.cs:217-264 | ShapeEngine/Content/ContentManager.cs:274-318 | ShapeEngine/Content/ContentManager.cs:328-371 | ShapeEngine/Content/ContentManager.cs:381-425 | ShapeEngine/Content/ContentManager.cs:500-544 | ShapeEngine/Content/ContentManager.cs:554-598 | ShapeEngine/Content/ContentManager.cs:608-652 | ShapeEngine/Content/ContentManager.cs:662-707 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentManager.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdf191edbf583980a148ec73fae956d919268a467a5c11f8c8a8c70fe4f90dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 38\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:539-577 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:584-622 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:624-662 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:676-714 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:577-614 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:624-661 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 38 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c065648cb2b0e8c6c6654aa24693e48f7fa282f1124edf84bef5ce967eb11b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:497-531 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:495-528 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:495-529 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0725842fbd870f1a4e484b037bf4add40670b58f9099eea1a9b12ff3fe00e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:629-666 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:727-764 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:671-707 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d09ec460d174b64c6582f588c845b8fa0c862d3438aa2a86dde01f263ae556"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:225-260 | ShapeEngine/Geometry/PolygonDef/PolygonOverlapStatic.cs:123-158 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"50485616f80b39be312434a497537d9a7e1a3f2cb7140260115b3d1ab94dae90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 55\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:979-1033 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1069-1140 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1342-1400 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 55 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c676c60dec36b4a3766bd309bea7d5cbbac2ca56007df0ee43e07ad0f2e6560"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs:499-538 | ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs:553-597 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da1679214d64d692ad487e581113653d9febff621b17a911ce4265b4b4d0198"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:455-487 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:454-485 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:453-485 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d61d903aac17ef84be4408fff9f42ff1568d63840c84e334623731fdba78541"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 39\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:793-831 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:840-878 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:75-118 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:131-174 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 39 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db8b4c379ace2c65083a33d9531cd6ae139215f1603fa29a17729c4d9a54e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:187-230 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:867-913 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e722cded53bf478205ccfa5cbc2d2df1b4be5ef1a504f3ffc61ce3a86b6a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadMath.cs:480-526 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:153-187 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadMath.cs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7ef50bb2df1b77422c27f67d938102350ed9b4a1cf2ad7d95cb99c82c2abd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): ShapeEngine/Geometry/TriangleDef/Triangle.cs:706-764 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:782-840 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"6122ae36fc0ba4c66efb63091bc31a3e4871ed1297502d4546d354168d05acab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ShapeEngine/ShapeClipper/ShapeClipperDrawing2D.cs:186-213 | ShapeEngine/ShapeClipper/ShapeClipperDrawing2D.cs:233-260 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperDrawing2D.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5981a591af231965bdfded3b94ab1053f289d6bcf47cfcb61cbb7d90586e2f1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:199-228 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:284-320 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"623d24da416d3aa6ba601afeed1322962c9ab1794ede9d0addd74c1533c9f475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1450-1490 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1269-1301 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad7d044ecfb0a9ba28e04b0d1dea86d6cd4ad8fe13c500358ba22351b19e677"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:258-287 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:294-324 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"884d837b67e0b65c290364eed936c6071d8ebd619d322d36ed84f72288a747d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:153-189 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:202-238 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:251-287 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3270c09825b0559d6cc7768a68151a12bdcd2777a9feab841bd1346fdd38a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:216-253 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:264-306 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"042f6d43c3682b4b46588fcf8068b78887b9777e597e79d58ad3d8f7f49cd834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:45-66 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:207-228 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:288-308 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9723eefb252cd5e745d7cfb29ad666ac1edfbb6f31fb490b62a22d07d69c9410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:76-115 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:125-165 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b796725cb2082b6251312ef1f5cbc0d4e1ea1715b08cd4c4dfa6fc8d93fbf69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): ShapeEngine/Geometry/PointsDef/Points.cs:732-770 | ShapeEngine/Geometry/PointsDef/Points.cs:781-818 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69efb0b6c2cc50689d8c1a6635a191051b74f3532e34d84e10784eb7a03b922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ShapeEngine/Geometry/CustomDrawing.cs:234-254 | ShapeEngine/Geometry/CustomDrawing.cs:269-291 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CustomDrawing.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5995153da3bcdc699adf9d9bd7887279e07ee9e6ab16829522267cffe3c24c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:674-697 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:778-801 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb8784b128e1fb1cb413b3d510187b546e104121083618167169e3504825f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:329-355 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:365-390 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:399-432 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5662c083f6bb6f76b0fefe6bfcb7870e9f29b3765b219d613dde03e780513c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): ShapeEngine/Geometry/RectDef/Rect.cs:1302-1336 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:1322-1353 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"43523bc1880023f10ded422a24a81fe9c5c9492f0be8ef53921e74d950636cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/Collider.cs:1334-1351 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1358-1375 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1789-1806 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1819-1836 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56a300ff92483b017552671348a901d4100128eb3d4193a18e262860be27b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): ShapeEngine/Core/Structs/NinePatchRect.cs:104-117 | ShapeEngine/Core/Structs/NinePatchRect.cs:127-140 | ShapeEngine/Core/Structs/NinePatchRect.cs:172-184 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/NinePatchRect.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a126bbea427edad16cd59fd2e332a6b0b91f63343b7b19dc3f9cd43c106a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 30\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:678-714 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:567-596 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:608-637 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1224-1256 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"32db3524288cbd5898b2a446189c72cb4352ff4d37faebc6001810b1eb9928fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:723-751 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:764-792 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b50a3059f7342c5e36695833136ac28c739d25c3394303e3a1ebd331ef96d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): ShapeEngine/Content/ContentPack.cs:191-234 | ShapeEngine/Content/ContentPack.cs:279-344 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d848a1d37fb0ef8e1dc54f59472255172187d8fdc198cb61f662c1a3cd4b7427"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 28\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:84-111 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:118-145 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:73-106 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:113-146 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7ecc5a53fc6411e203ccb2ce85d23f8ea5f7e4d4e86826b720b8f6604ab209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:149-180 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:191-222 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:233-264 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:275-303 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a54fff8ac494b4bba4464ddd84794f3a05cabfa3c3cabe059c4836e7021d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): ShapeEngine/StaticLib/ShapeFileManager.cs:499-526 | ShapeEngine/StaticLib/ShapeFileManager.cs:539-566 | ShapeEngine/StaticLib/ShapeFileManager.cs:656-681 | ShapeEngine/StaticLib/ShapeFileManager.cs:736-762 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ac7e5f69f41e751bf01151ba3648858643bdfb947baa4405be0015752f7d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ShapeEngine/Core/GameDef/GameSavegameSystem.cs:105-127 | ShapeEngine/Core/GameDef/GameSavegameSystem.cs:301-323 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameSavegameSystem.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0ec78100000f0633b1f7fbdeab19a5cd82305f565511f8ceb7ef12b9067326"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:75-97 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:257-283 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c09eabba902a77860bf1775752c9bfd5142778f4fa448ced64f935425092762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1684-1714 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1732-1759 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1776-1799 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd30711e0ad88652933562ad6533330e746065e71f5147914f4b6089aaad6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 25\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:131-162 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:169-200 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:137-161 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:173-197 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b880bd959f18ab501184c64a52ca34ee7c97bec805e6df06a97e72a9bcd955"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): ShapeEngine/Screen/ScreenTexture.cs:268-307 | ShapeEngine/Screen/ScreenTexture.cs:318-353 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3063b1f16c34d821cfea25adecfd091801610f764629fcb29bd8b0dceaad61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadContainsStatic.cs:139-153 | ShapeEngine/Geometry/RectDef/RectContainsStatic.cs:155-173 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadContainsStatic.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daad9cefde209f92bbbe094b817d31ca335763230b23c0b1439a3ff56075262"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs:62-90 | ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs:98-126 | ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs:134-162 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2478a2424ddef6d1f20a5a90fb61809a736c9e3206e7bc5b90bc2d4a46b2d903"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 25\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:57-81 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:91-118 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:69-93 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:110-137 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:308-337 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:351-381 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f506d1ca6df767f8d0540970164c535c9d0a01d4170030c1477578fec9e360"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1067-1100 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:1052-1085 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"218d8ea3f98288fde059b61b2bbb1a0e8f88e6e0f8bd0bae7903b15637a07fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:548-577 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:590-630 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"990b81d6018e6c97d32195c39b084b836b50fe3f5b30fe6cfc5f45663d40b517"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 30\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:529-558 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:574-614 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:460-489 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:501-541 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1a8d7a50e00a1954ec521e8b75f289ab73347dd1a5a35f942c2841dfabdc9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:21-43 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:118-137 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:148-169 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:179-203 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"888100faa3295435e5ebac408c70e3e8ad0365c21e3e6d563946edf0e4bf00b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): ShapeEngine/Geometry/RectDef/RectCollision.cs:22-50 | ShapeEngine/Geometry/RectDef/RectCollision.cs:63-91 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectCollision.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c7e097ed5393d55e3ca4e5bb4f63fe698f01ca2a6939bada147045910f4be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): ShapeEngine/Geometry/CustomDrawing.cs:83-104 | ShapeEngine/Geometry/CustomDrawing.cs:124-141 | ShapeEngine/Geometry/CustomDrawing.cs:161-179 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CustomDrawing.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5a97e3dff01129087f4348272ba56fbffbcbf168060c028703ccaa636fe03b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:539-563 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:413-437 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:485-509 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4863e99f55faf88ecc8bf52b0076d4572996a7ab2716d65483f3f4a52b577bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:66-85 | ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:96-117 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7337efb524d23c11ac9869ead971aa78e9df329420fc918c018fb0f9dc413bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:249-276 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:295-322 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2c8b67983520c3fb05b35f75dcb5c8bc726845a3fee5be86a4cb2ef6d529d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs:154-170 | ShapeEngine/Geometry/RectDef/RectOverlap.cs:248-271 | ShapeEngine/Geometry/RectDef/RectOverlap.cs:279-298 | ShapeEngine/Geometry/TriangleDef/TriangleOverlapStatic.cs:158-175 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba43fb258e5924b478f8d374e53e7bbe696a477b5d3e19eb9ba7e79f0c34ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleContains.cs:132-146 | ShapeEngine/Geometry/RectDef/RectContains.cs:98-113 | ShapeEngine/Geometry/TriangleDef/TriangleContains.cs:100-114 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleContains.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e521174ad6bc85e34db47643a3e3df95b4111a43075da467b486516561c284d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:199-223 | ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:234-263 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"922828e950fb4d880d69dc964cbc7bee4f97e7452d71a8a8ed0727ec857c7340"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 25\u002B corresponding lines): ShapeEngine/StaticLib/ShapeFileManager.cs:598-623 | ShapeEngine/StaticLib/ShapeFileManager.cs:696-722 | ShapeEngine/StaticLib/ShapeFileManager.cs:776-800 | ShapeEngine/StaticLib/ShapeFileManager.cs:816-840 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e36934c80140913f70a3761b1d0df69346452938a99a1c623e6d06086de913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ShapeEngine/StaticLib/ShapeFileManager.cs:190-207 | ShapeEngine/StaticLib/ShapeFileManager.cs:217-238 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0119cc17d3541a3e9f77078886ecf65e73d0dc70b43e996578018bfc3cde671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ShapeEngine/Geometry/PointsDef/Points.cs:374-393 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:582-600 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"badc7c34a5c3c2879ad144c1d54a15859fbe3b8d3cf5c2a632658c50caea8987"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:30-56 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:83-109 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"daea29ae27751ac93c1537a138f366aeba7a2ddbaf5890b831a79d4381f7ecf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:57-78 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:717-738 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"18388aa388dfa5334f9cf5b206aeb35e30f078918497216d1205783bf7d8e97a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:94-125 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:209-233 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23b6038c8e4075dc7beaa3d653e3460b345efdcb3b8c390a78d74d15aa3d033"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 25\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:48-78 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:93-122 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:136-160 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:460-491 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc30e056bed63a16d7939fccd5af9027f2016ee3bd03442712d4d4b9d20f8021"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:328-349 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:356-376 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:862-883 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:890-910 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8fa82583fc82ab8623bb6a08a6fb08608358a4943f509838fe4d3db8af83fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 24\u002B corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:88-111 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:219-244 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:254-280 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:290-316 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:326-353 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a6ceaba6bd7708564b764345838c7fee035680469fd3b3793121cc218fe539"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): ShapeEngine/StaticLib/ShapeFileManager.cs:64-89 | ShapeEngine/StaticLib/ShapeFileManager.cs:99-124 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c50a0c7140798818f82e7b5a680227b83d49e47a3d17685fbc142900b9f5e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:1095-1125 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:1135-1165 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectClosestPoint.cs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c77e68a09d8dc629759dc9e558335be1a347445fdb02a23c1905022ec3611d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:113-134 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:148-172 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ac2b0dfdcc18aea8a1977e3985e36b8dd6b29bdcc3a468505231ea44886047"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/Core/Structs/Grid.cs:252-263 | ShapeEngine/Core/Structs/Grid.cs:272-283 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/Grid.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"07210d809ba03eb85c8ad7a56c737422240f63d3ea885ab3897b000a3a7a6742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:1101-1120 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:1135-1154 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f89e3a04e660bc2a17a7ccf9420b74f718bf8167f982cfb886f1573ee751f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:139-156 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:224-242 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1260441a068bd2fbdc1458ffedc01467c9f018dea82241c1509ef03155a7a335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/Collider.cs:885-902 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:909-926 | ShapeEngine/Geometry/PolygonDef/PolygonContains.cs:41-61 | ShapeEngine/Geometry/QuadDef/QuadContains.cs:74-88 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"526a4cab8c9ed073f83069d0adc06e6eecbeb775398b8504f8530b593d9fc3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 22\u002B corresponding lines): ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:314-343 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:354-383 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:394-423 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:434-463 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:474-503 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:514-543 | ShapeEngine/Geometry/TriangulationDef/TriangulationClosestPoint.cs:27-48 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"824f2c53d94a5ac242e5ad2d17524356c7adb80bd3b64317b72dac75905d72da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): ShapeEngine/Serialization/DataObjectDict.cs:147-168 | ShapeEngine/Serialization/DataObjectDict.cs:266-295 | ShapeEngine/Serialization/DataObjectList.cs:237-257 | ShapeEngine/Serialization/DataObjectList.cs:268-296 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"282fb46a398b5ba7425f6fe541db09b4617f2e24871c48678b0b0e08e81e759e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ShapeEngine/ShapeClipper/ShapeClipper64.cs:308-328 | ShapeEngine/ShapeClipper/ShapeClipper64.cs:481-504 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipper64.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e761ccf6d5039a6906ba0b1d58dd193638c3d29f6b962f60bf50f8319dca2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ShapeEngine/Core/TriangleBatch.cs:579-596 | ShapeEngine/Core/TriangleBatch.cs:668-687 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"50886b3ed5eb07fa255b4796594e3cf482bb1bc984a801fabf26ee0a7be9ae98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:389-404 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:475-489 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:557-572 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d6819883fe55c6183e825057475e85f708fa3a3af4e1a1f7976f41c6ab63e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/TriangleDef/Triangle.cs:1218-1226 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:1240-1248 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bec979d82eaee3c7a1ca5be5751c7b38c13fd04eab3cdd227492029cef3d159"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ShapeEngine/ShapeClipper/ShapeClipper2D.cs:130-154 | ShapeEngine/ShapeClipper/ShapeClipper2D.cs:217-240 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipper2D.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4253a34edcd1748cae8d50e1a1f89a64986da8e22a9f9bb70464f087332d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ShapeEngine/Geometry/RectDef/RectSplit.cs:69-90 | ShapeEngine/Geometry/RectDef/RectSplit.cs:101-122 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectSplit.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f02623d01509e266bffdbbd70b6deaa6d864e4b6f45af0b716544a33a3616d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): ShapeEngine/Geometry/TriangulationDef/TriangulationClosestPoint.cs:170-195 | ShapeEngine/Geometry/TriangulationDef/TriangulationClosestPoint.cs:207-232 | ShapeEngine/Geometry/TriangulationDef/TriangulationClosestPoint.cs:596-621 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangulationDef/TriangulationClosestPoint.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce87be457314ed751c17fd858bb3332ee8f589bf2062db29329b4eb4a329811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:269-292 | ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:301-322 | ShapeEngine/Geometry/PolygonDef/PolygonOverlapStatic.cs:167-190 | ShapeEngine/Geometry/PolygonDef/PolygonOverlapStatic.cs:199-220 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"636fc629150b0fc4fc2fce7ad49db70494e78364692ca7629d20e51b06369316"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ShapeEngine/Input/GamepadDevice.cs:614-637 | ShapeEngine/Input/KeyboardDevice.cs:384-406 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaa47c2960e7b28eafbc9c065f84a748f3d83ad8e4be9c405bc8e1e5753807e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): ShapeEngine/StaticLib/ShapeFileManager.cs:857-876 | ShapeEngine/StaticLib/ShapeFileManager.cs:933-952 | ShapeEngine/StaticLib/ShapeFileManager.cs:1208-1230 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8d45ef42522815c54d5df29b65e4164bb0e77f264123027d5a384eff26f0d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:156-174 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:182-200 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:706-729 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:748-771 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0aa9c883bcaa83f40bea1adc948ae4632a4d5dcc75cfec2160b6f28637a711"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 18\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:327-344 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:351-368 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:342-360 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:369-387 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:360-377 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:381-399 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:416-434 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5de82329adcfb0169e7325b2f1822c27e4180ecbcfacb35f6a0ce4409b8c704"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Geometry/TriangleDef/Triangle.cs:643-658 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:672-687 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a8b1904d728b3c9bc216a1741fc52fdc889ab88e1a46dee5cc0858bcdbf28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:165-188 | ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:196-219 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3803e795f25acc5d6d2d96eae2f62597c9740a9e4d4e125649b7ceb0f83bfbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:195-211 | ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:243-259 | ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:287-303 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cc6c8d69da03dac9ebde89eb692176fa4afb6b7f5014221075fd3dcc9d1a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:183-196 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:230-243 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce19624d46b61481edc3804de11903ea920c934f053ad486c2d53eea7db71714"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:524-549 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:568-593 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:615-640 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:659-684 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"319fe5ff781e985627cf08524f011afe3db616b96ab482647c6ebdf6718a5f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ShapeEngine/Serialization/DataObjectDict.cs:235-255 | ShapeEngine/Serialization/DataObjectList.cs:204-226 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"125d53b8e8fd5be73fc8ef91225f748ffb57fac89aaf7f9febaef5eb14aa1d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:232-255 | ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:263-286 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eaa0a91478add8d00a2ab345f6152c84c92db32212f9515b7a17499e1fcfeef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/Color/Colorscheme.cs:73-84 | ShapeEngine/Color/Colorscheme.cs:93-104 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/Colorscheme.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ca208f9b3e836050ce46b636edc940d77ef8a761dc0a37744e2566d10ba1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 17\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:661-677 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:693-709 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:512-528 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:542-558 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:583-599 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:610-626 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58a3d35545cae78a95c77a5a521b019fb30bad1200e99e8e81dc3b398ef3f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/Geometry/RectDef/RectContainsStatic.cs:62-71 | ShapeEngine/Geometry/RectDef/RectContainsStatic.cs:87-97 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectContainsStatic.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eff53ee44bb159f9751ed8ee32cf9498136d7397240973511e981b6afec7c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:868-885 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:191-208 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f8d4d0a2fbb970e58b6186ee8a161e0f3dd8aab49a502450db47e380aeefb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): ShapeEngine/StaticLib/ShapePhysics.cs:429-454 | ShapeEngine/StaticLib/ShapePhysics.cs:619-643 | ShapeEngine/StaticLib/ShapePhysics.cs:911-936 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7909d9943e9f2098a45712fb5b0b9d2460dbf3efb7005204b98f71ee5b8c495a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:28-81 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:93-138 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf036c7852933c75a304e5576f3c4b08b4295601247be489c90ce0bd6b131c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:727-741 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:133-146 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"109711991670fd7d0c79e5259cfb08df28954b52426ad16c3f21c09579d06259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:200-217 | ShapeEngine/Geometry/RectDef/RectDrawing.cs:169-183 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"538ea5bbd93ed4eddbc9d1357d21fa2ef3df6b656006652b56cb5e8c84137b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:90-107 | ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:115-131 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:230-256 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:209-226 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3eb9ffd8faddae6c204d6cd47fdc5ec8417187bc27a334d9b1654feeb3f10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:78-96 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:79-98 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ab153c76609abf0629e69a765af03b1d6039f1f3e8239b90492e8ab0b9e3c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Geometry/RectDef/RectSplit.cs:154-170 | ShapeEngine/Geometry/RectDef/RectSplit.cs:181-196 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectSplit.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c03a5aea2dc3a0cc0001e17c20ce13f0cc684516e1af5f6956822af054dbb98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ShapeEngine/Pathfinding/Pathfinder.cs:387-406 | ShapeEngine/Pathfinding/Pathfinder.cs:430-448 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3aed39f2bcf1e7c6976a6eca5cfd3744196a1ea01baa38ac1efe1b843526ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 26\u002B corresponding lines): ShapeEngine/Random/Rng.cs:287-312 | ShapeEngine/Random/Rng.cs:325-350 | ShapeEngine/Random/Rng.cs:362-388 | ShapeEngine/Random/Rng.cs:401-426 | ShapeEngine/Random/Rng.cs:439-464 | ShapeEngine/Random/Rng.cs:476-501 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/Rng.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"723d8e69800f658aafedb3cca2f4ecb824eb9097cf1ddb413d3fc83265f45f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/Text/BitmapFont.cs:156-169 | ShapeEngine/Text/BitmapFont.cs:180-192 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bf90bb0112ca872b955f230a980d0b80632dcbaaf4537815724fb33e1fb922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:322-345 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:501-526 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:572-591 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec22c15b52d506065176b9af4c5d1b1de8a17a02b5bad1d436349a4831bf5201"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 18\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:211-234 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:242-265 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:276-293 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:301-318 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:793-813 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:832-852 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e7cd197d07f68a29113635e4c6c4f51a00e4ca3a9ed343a4eec759d8c0da08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): ShapeEngine/Core/Logging/Logger.cs:326-338 | ShapeEngine/Core/Logging/Logger.cs:348-362 | ShapeEngine/StaticLib/ShapeLogger.cs:383-395 | ShapeEngine/StaticLib/ShapeLogger.cs:404-416 | ShapeEngine/StaticLib/ShapeLogger.cs:426-440 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e04ae6b7f5a1b5c5a892fce4f3bdd5cabdde0471378c7ac7a91ee68eb2aa80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 17\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:93-109 | ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:116-132 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:977-993 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:1001-1017 | ShapeEngine/Geometry/PointsDef/Points.cs:508-524 | ShapeEngine/Geometry/PointsDef/Points.cs:532-548 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7387ae1455b37fbcd46b06eee2732f5cc6fb7594a2ca59590486d2f79b1d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:284-304 | ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs:262-280 | ShapeEngine/Geometry/PolylineDef/PolylineOverlapStatic.cs:150-168 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e911fa320eb9df21671c6dd3e0dfe0a575e0121dc0f8c74b3bc953763fb23875"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs:182-195 | ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs:207-219 | ShapeEngine/Geometry/TriangleDef/TriangleOverlapStatic.cs:186-198 | ShapeEngine/Geometry/TriangleDef/TriangleOverlapStatic.cs:209-220 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d49cffacc1057aa9a957c67375b2d071d4b3bb6ae35767db10b9f98e7cc55d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): ShapeEngine/Audio/AudioDevice.cs:442-460 | ShapeEngine/Audio/AudioDevice.cs:516-533 | ShapeEngine/Audio/AudioDevice.cs:546-563 | ShapeEngine/Audio/AudioDevice.cs:723-739 | ShapeEngine/Audio/AudioDevice.cs:751-770 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f711757041589880bcc75156d156b963213daf6a454b3de985fcad9cb87910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ShapeEngine/Content/ContentLoader.cs:1177-1197 | ShapeEngine/Content/ContentLoader.cs:1206-1226 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f481baf184a382fcb0c708c99e3076a0bbb6592da281c789ad6e95a78f63a2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/Quad.cs:193-218 | ShapeEngine/Geometry/QuadDef/Quad.cs:228-251 | ShapeEngine/Geometry/QuadDef/Quad.cs:261-289 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dd415dcbcb0846da65f236f212810cef9c37d6c631f23e3f739bf53e64c0ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/Geometry/CircleDef/Circle.cs:611-622 | ShapeEngine/Geometry/CircleDef/Circle.cs:660-672 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"710a9f119f020ec9117ceedfaadbb96340d70bf4dc89c2c02f9cb1f33d9ad06c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs:159-173 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:282-296 | ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs:190-202 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a366a10bbab510dc1b1e49dca412a6444dcb1d4ab0521668e0f391f20df36a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:32-54 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:26-48 | ShapeEngine/Geometry/TriangulationDef/TriangulationClosestPoint.cs:109-128 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae5fc384d90e39b0eecfe0f816ed8d7973204bd51c6a90b0d11fbd7bb4d3c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleSector.cs:177-192 | ShapeEngine/Geometry/CircleDef/CircleSector.cs:203-218 | ShapeEngine/Geometry/CircleDef/CircleSector.cs:229-246 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleSector.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"da240d2ae9f3416a7557feaf0aecef81bb995b3a0c6ac231166c10ba8a51db51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:38-55 | ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:62-79 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a3328d892bb44cde5ca3580d6f904e67bd85b3fd19e853d97c56c516218b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 33\u002B corresponding lines): ShapeEngine/Core/GameWindow.cs:869-903 | ShapeEngine/Core/GameWindow.cs:915-948 | ShapeEngine/Core/GameWindow.cs:955-987 | ShapeEngine/Core/GameWindow.cs:994-1028 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e7d1bd2c2ec6056a643c9550d3c00b04a8568b2121a6ff060715ace0ee3496"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:690-705 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:760-775 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:610-625 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:605-620 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:701-716 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcb0f3304fa55b517fc903a58b54e74004a3e5cf56304b2200c72e67a0930dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ShapeEngine/Geometry/PointsDef/Points.cs:479-498 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:280-303 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fed5ba7a31bff3f23f44eb45804e7936524222824949960dd83162aa61f8fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:345-359 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:420-434 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:502-517 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d345f187320c45978636495af3ff00ffab0fc65064e2794015d219fd603a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1111-1141 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1152-1182 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:931-952 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:966-987 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"686f66676dbc938d73f5422f2474c7772ef7c96bcf1883a4fa25291c860050df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:258-274 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:285-301 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:607-624 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:636-653 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd71111c1508c117172c455024bbf4ee90baa2ff56fa9774baa6335505424566"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): ShapeEngine/Core/TriangleBatch.cs:335-347 | ShapeEngine/Core/TriangleBatch.cs:380-392 | ShapeEngine/Core/TriangleBatch.cs:428-443 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"83aabeb83e29f887e166ac6ba53e9ee9a3c9ce78c7e8665865497bba2ed53c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1815-1830 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1845-1858 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"9361685e0c37f79bdcc759df7143c9212a5a43e4e25681f01417ce7c0e7e2d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:946-965 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:1029-1049 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea18924267a45d4e5df6e05c6bb35d4414f73c234d3f15b8ac3500dbd55d611"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:135-142 | ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:150-158 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ff8442196a6151ac48599b98dc9459ccc20fb8ee51644ca0c8ab545ef5cd72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:199-213 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:307-319 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"157047fd5ef35d056f37c65b6e247062b289ba4d17158d74cffab89097fdd639"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs:345-363 | ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs:370-388 | ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs:415-433 | ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs:440-458 | ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs:468-486 | ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs:528-546 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3442ba6391b81b065003040eb8c2146dbd2ffdb0b8f196c4cb9b52e7749ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:142-165 | ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:312-332 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"57448c7b4a1fead96edbd929a3f10a3bbf3e0566c2ff4ef0b927bfcaab142ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ShapeEngine/StaticLib/ShapePhysics.cs:519-542 | ShapeEngine/StaticLib/ShapePhysics.cs:708-730 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35531959cf232b20e0c0ff3276063221335f1afae9933962a0ff0d21389a9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ShapeEngine/StaticLib/ShapeVec.cs:856-875 | ShapeEngine/StaticLib/ShapeVec.cs:893-909 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeVec.cs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6723abf73ff20e7a97c656507eb9723cbd15a635507a94772da656a4b3a567d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:16-30 | ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:39-56 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf2b74415615043d9b6124276ec8af2f9884afb4e092e4d1fed77ad3799e55d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ShapeEngine/Core/TriangleBatch.cs:185-205 | ShapeEngine/Core/TriangleBatch.cs:699-718 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c611b8b70bb4bbbd7af8c2cc34fe75baafe540189d129383c5c4eb2c30b1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs:125-134 | ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs:153-162 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec76bf31daca7fbee8f7e2b06b8641313a31fbf6b107e6e99ae329d6df7c4b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:1024-1040 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:1047-1063 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:1070-1086 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:1093-1109 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f903fb0d4bd575b0fa33c31f4707effb33159a6024372075d494a0d46d7de2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:720-735 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:637-652 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:729-744 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea7d893e43c040cb926ec8c676c356999123cfd9ccf22e4d40d00ebc34e6e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:145-158 | ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:171-187 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:162-175 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:190-206 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b011cbc9cf9bdd46faf278aa9e16d01760703e6f6aa69ff04c50778f1ca27bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:267-286 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:302-321 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9227b590bb2e0c3ba23d80a3e0063cbbde1556cefb63eb1827bb2710223d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:362-378 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:85-100 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfe0779ed27fb8c99c98fb190db854ec827c3c67b67ce155f7c5b21e3065306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs:197-212 | ShapeEngine/Geometry/PolylineDef/PolylineOverlapStatic.cs:180-195 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"837ee0568cf6912a139532bb2cdfd898178dcc6438d725494d3c4dd8e659a4a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:212-222 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:235-245 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f10e42460dfa721b51b22fde7a24b6001c0eb37e7f315a6209bd60d6f5c0b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs:143-156 | ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs:184-199 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1081ec5b12d361017adf729e8a51b55eec2212881f4935d1344191454fb31509"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:157-172 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:389-406 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:418-435 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"304470a5824664814c0c225eb0c1d2d668914e11951f748038789123cdae3f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/StaticLib/ShapePhysics.cs:307-322 | ShapeEngine/StaticLib/ShapePhysics.cs:370-385 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b34e9ad1ea5b664666e31ebdf01a4a125d521673edccb46b38ff5ed5b8e988"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ShapeEngine/Text/FontDimensions.cs:233-246 | ShapeEngine/Text/FontDimensions.cs:261-282 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/FontDimensions.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d570f364b8c74db7e32965b87775141c7786462d27e00b13a34583a514c1ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 19\u002B corresponding lines): ShapeEngine/Content/ContentPack.cs:1629-1648 | ShapeEngine/Content/ContentPack.cs:1661-1680 | ShapeEngine/Content/ContentPack.cs:1695-1713 | ShapeEngine/Content/ContentPack.cs:1726-1745 | ShapeEngine/Content/ContentPack.cs:1758-1778 | ShapeEngine/Content/ContentPack.cs:1791-1810 | ShapeEngine/Content/ContentPack.cs:1823-1841 | ShapeEngine/Content/ContentPack.cs:1854-1872 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ab168717751b32ab530a1b325cd2bcb0c45287337ebedee99b18c2335d81b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs:38-51 | ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs:64-76 | ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs:89-101 | ShapeEngine/Geometry/RayDef/RayClosestPointStatic.cs:137-149 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:307-320 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f62b60f37ba1880ad5ab8df7ea18335ca91695346168ffd5f37eca74495a287"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleSector.cs:123-139 | ShapeEngine/Geometry/CircleDef/CircleSectorCollider.cs:89-105 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleSector.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"400d89388216c80de92fc19d8b2c7df4aafa4ca5130544494401e035f7efef1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ShapeEngine/Geometry/PointsDef/Points.cs:187-204 | ShapeEngine/Geometry/PointsDef/Points.cs:212-229 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"10961fde87589b0030d7fe6e47f7af19cf11e859638ba82987c3ac980dec89de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Input/GamepadDevice.cs:791-799 | ShapeEngine/Input/GamepadDevice.cs:883-893 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6feb03085723c924c34b265140b87cf5f51566a1e5c663fcca336820f383a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ShapeEngine/Serialization/DataObjectDict.cs:123-137 | ShapeEngine/Serialization/DataObjectList.cs:181-194 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f2bc10ca919469c53716129cbe46a10627a88faa7c67247bfd3468ab0f1caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/ShapeClipper/ShapeClipper64.cs:231-240 | ShapeEngine/ShapeClipper/ShapeClipper64.cs:372-384 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipper64.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"db62af2e67e8f198841c42e4a5ae292b0584a279b2e52508367ae302bc70fdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:470-487 | ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:505-523 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b0463a947534d05353cda9f0978f56567c79632a120c4e1b924754bd719531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Text/TextInputBox.cs:252-267 | ShapeEngine/Text/TextInputBox.cs:274-289 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextInputBox.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f064f449a1eb0f385efeff9fcd81f134aa056936552faa5d69ae96a6c1748b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ResourcePacker/ResourcePackManager.cs:27-44 | ResourcePacker/ResourcePackManager.cs:57-71 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/ResourcePackManager.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccb71d3373528f972e3396d8de7468c7d0cc25e83cd09634c3a038857a5a3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 15\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:112-126 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:133-147 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:92-107 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:116-131 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:101-116 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:130-145 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:80-96 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:112-128 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb686a18bc3f680fd12ea6b8997ec612b429d2b4ecbc9ad7f30cc2e248d3427"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ShapeEngine/Input/InputAction.cs:670-684 | ShapeEngine/Input/InputAction.cs:693-706 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputAction.cs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1e4ec53705b535f3cf3a402537b5d979bc370a3265fdb06c90f1d4eef99a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:26-40 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:317-331 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:342-356 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"333cf6f0027691d982a2692cc9f04ecee0d574d299ebc04527f7aaa223508d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/RectDef/RectDrawing.cs:865-873 | ShapeEngine/Geometry/RectDef/RectDrawing.cs:891-899 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"482d635d167e70344435140c8de65b063777433e2227ba08bcb1a07559324908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): ShapeEngine/StaticLib/ShapeFileManager.cs:905-921 | ShapeEngine/StaticLib/ShapeFileManager.cs:1276-1292 | ShapeEngine/StaticLib/ShapeFileManager.cs:1302-1318 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afecedffeb9b5779ee6ed0f7b25178393fb6a95a7f3b1a6acbd6aba14b6d2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Text/TextFont.cs:294-300 | ShapeEngine/Text/TextFont.cs:309-321 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"312700a051bf0324b74bcde0caf5c8cf684377410f9c9c9f0597abf1ac479715"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/Content/ContentLoader.cs:1407-1419 | ShapeEngine/Content/ContentLoader.cs:1432-1444 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"86759edf96e4d4a3985f0337cfb02fd496705194eec85094915b2d1e6e7105cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Audio/AudioDevice.cs:783-793 | ShapeEngine/Audio/AudioDevice.cs:806-819 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"146690054aec2a6db4e999b86538b633dcaf1f01d9414b16e21d8ed88f74df8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/Content/ContentLoader.cs:1457-1469 | ShapeEngine/Content/ContentLoader.cs:1482-1494 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"181863c706e005fc6ba95dc2e3cf642bd0522db3f8584d7e34a45474cf2bcfb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/Geometry/PointsDef/Points.cs:455-467 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:256-268 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5619f1b0406f6b01c2332f6f152d99cd3ba2552e8e77a6d51d11f777849c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Geometry/QuadDef/Quad.cs:377-384 | ShapeEngine/Geometry/RectDef/Rect.cs:692-699 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a7e1d006bb88075def31f48e4bc396dc94d00ddac653c6d11ac80faf15f983"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/StaticLib/ShapePhysics.cs:857-868 | ShapeEngine/StaticLib/ShapePhysics.cs:880-891 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2c46fe142e178ea0570070641b4666bc8c3133a8da1e34e70727454158ec1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): ShapeEngine/StaticLib/ShapePhysics.cs:1441-1453 | ShapeEngine/StaticLib/ShapePhysics.cs:1468-1480 | ShapeEngine/StaticLib/ShapePhysics.cs:1494-1507 | ShapeEngine/StaticLib/ShapePhysics.cs:1523-1537 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a2ebaad990db042b65a5a1a0e7a24e8ec708db7f0ce0e9a7d6ba270062bb48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/StaticLib/ShapeVec.cs:919-933 | ShapeEngine/StaticLib/ShapeVec.cs:952-963 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeVec.cs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"3423255af721188affc8866bf9702f8a16230e0212db4c9fd7c1916972030c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:151-162 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:178-189 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:211-222 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f53c12c3af13575d414d5dd416607403ad264d817919f104a3e4d9bbaf53f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:146-168 | ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:176-198 | ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:299-320 | ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:329-350 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d959158b61a5a6decefb4b1d452cee34a8aefeaf9a50288dfa67104382312c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:668-677 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:172-182 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"345278dbddc8e190428b741b5719ea04bbfacebdcf7fa4cd1f1f3329529233c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1334-1349 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1358-1374 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b6f25595bbc2c07618a4fd952f38099231192aadcfaf6e1c473b6c709c0a89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:361-377 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:387-403 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:413-429 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:471-490 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d7f649adc6ecf25475b289892a7db3c97eccbaa34bb42e66d6f8ed8699ef40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): ShapeEngine/Geometry/SegmentDef/Segment.cs:513-560 | ShapeEngine/Geometry/SegmentDef/Segment.cs:568-612 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"b067e3fab6621260d5d5af48700ab683ea2b569f8ae74be6b1b0ac0a2e486300"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Core/TriangleBatch.cs:506-516 | ShapeEngine/Core/TriangleBatch.cs:553-566 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dffda6b64e0d4f498f123d65ef9bd0e2c6c12a47e459d0c94e220262be74c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:369-381 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:450-462 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:531-545 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b2fd42f56a3aa6099fa1862a32ee59df8e7e55d41072c5e8b1c39a6fdcf7fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/Geometry/RectDef/Rect.cs:227-239 | ShapeEngine/Geometry/RectDef/Rect.cs:250-261 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dceb398948f3303e83c5c912681b1777bcf6e481b0e97e27c8d89e770dbcd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/Input/InputState.cs:160-173 | ShapeEngine/Input/InputState.cs:184-196 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputState.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"974a906c3736cddd9e43b9a1cc41291a7975c12ba904815250211b3ff80ba030"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): ShapeEngine/Audio/AudioDevice.cs:472-481 | ShapeEngine/Audio/AudioDevice.cs:493-505 | ShapeEngine/Audio/AudioDevice.cs:629-638 | ShapeEngine/Audio/AudioDevice.cs:673-685 | ShapeEngine/Audio/AudioDevice.cs:699-711 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0043494a14edfe1148d71fadd218005710af5c00bec30c6c94559cbfdf72e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): ShapeEngine/Color/ColorPalette.cs:240-257 | ShapeEngine/Color/ColorPalette.cs:264-281 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorPalette.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"044a5fde85ce53b746bcb05fc0c5fd3adf8d5f1e8768540e7f5924eaafdb3f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:146-155 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:169-178 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:190-200 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:213-223 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9922df0fcecf8f1e07ad98b51286bf6ad65be0ed13397ce8e2bb044c8a6043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:751-767 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:664-680 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:757-773 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"9344e7e4878db8057731dbaeeef62cb7920af7e4bf5f1b51762d7c88bda95016"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:31-41 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:50-60 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:69-79 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:88-98 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:107-117 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:127-137 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"259f7122f78693b7ef48421a5244ec7784792ca906dbc03f17a0351b25112dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Input/MouseDevice.cs:460-468 | ShapeEngine/Input/MouseDevice.cs:480-487 | ShapeEngine/Input/MouseDevice.cs:599-606 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/MouseDevice.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"999779fd94f1a9aba086f1e3275bb46f87cc7968d4d6feff2f2e98d0183cfb0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Screen/ScreenTexture.cs:176-191 | ShapeEngine/Screen/ScreenTexture.cs:239-258 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb823ba6c9a0835cc60f680cd8b7613267d313a890d557e5fac6be202ebde1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): ShapeEngine/Serialization/DataObjectDict.cs:79-92 | ShapeEngine/Serialization/DataObjectDict.cs:100-114 | ShapeEngine/Serialization/DataObjectList.cs:127-143 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a76a1dfd07d56581034a6a6aa801e07ad4ec751641722418b9d5159ba8e6c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs:207-224 | ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs:232-249 | ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs:257-274 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1c4534365b74dcb124e2ab8d977691c90d7ef4aeb41ca5d9c6893b6db9c869"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Core/DecimalQuantizer.cs:43-50 | ShapeEngine/Core/DecimalQuantizer.cs:58-65 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/DecimalQuantizer.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"983fa37274da2f6b2f15122320703342504ebe65e689960182e47449632c5868"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:628-638 | ShapeEngine/Geometry/PointsDef/Points.cs:115-126 | ShapeEngine/Geometry/SegmentsDef/Segments.cs:62-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4c5ed73123a2cfdf8fc91440dba169c2953e266287d7f5de9fb91ba569f380"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:245-280 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:245-272 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"168145a9d8a8f313f9b37933028f24ac684428d8a7d6f4bd16db7305c0105e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:206-214 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:225-234 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2541403e8ce9c566d399deaf8fa274ca523533a0c7ca4c43bc6966a2724687b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:365-373 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:380-388 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleMath.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6caf2418fecdc7f229cefcb4e055d4635eb52410f2366a515d466a4e21b8466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/Input/InputActionTree.cs:191-207 | ShapeEngine/Input/InputActionTreeGroup.cs:25-36 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputActionTree.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36eb0edffb801a5d4ffd50c3c08d30a3e0b271e50d8954202d31753f7d0795e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs:104-112 | ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs:127-137 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b6f5a9264e45f6bb7a2387399f758439b1edbea86998d4bfdf879e21ba2b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): ShapeEngine/Geometry/PointsDef/PointsMath.cs:627-651 | ShapeEngine/Geometry/PointsDef/PointsMath.cs:665-688 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsMath.cs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd9d06574446e0289cd4240c1bdc27d4c2c82097f35f3cecd0e92c2922021ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:136-146 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:155-165 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:174-184 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:193-203 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:212-222 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:234-244 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"874802c089f7f3f2fa970fbe75e2907386918350023564e4931951f12c16904e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:91-106 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:114-129 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:137-152 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb4a65c3c77dc84e8ef0a34393d7f125bb143738a1ac4def536862c1982f908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ShapeEngine/Pathfinding/Pathfinder.cs:617-631 | ShapeEngine/Pathfinding/Pathfinder.cs:695-709 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae609598f5723fc90fc57c80f64e716aba13cf8fd7d6265b50e86237d9a3aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/ShapeClipper/ShapeClipper64.cs:268-277 | ShapeEngine/ShapeClipper/ShapeClipper64.cs:415-427 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipper64.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dca0f731a4b5af3d23629b96066fd11abc4e1285352a4de7759c271896720d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): ShapeEngine/Stats/StatSet.cs:498-519 | ShapeEngine/Stats/StatSet.cs:528-556 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0e91c971ed35c1bcb814300de3e73e5c05d25293029a94c557f7fbfd16a6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Core/Structs/Coordinates.cs:207-211 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:826-830 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/Coordinates.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"84227c2452e8ca91a21ea3337cba8fb34017886e4c691690c90442654bb1f112"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:725-742 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:572-589 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:367-382 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:637-654 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:333-351 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d68c3caffaed8d637524cdebc2fd59ddada242059bc4fc38fbf9629efa2adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:671-678 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:691-706 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleMath.cs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0ab03c6a91496953cdfb7ba3e273fe7c1d68219a53d44de45294450fd362b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:693-708 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:832-847 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a6bffb39c8bf8e9d62721ad7a5be4dea908f786af8aee6d04c8d8c2e432857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): ShapeEngine/ShapeClipper/ShapeClipper2D.cs:1035-1051 | ShapeEngine/ShapeClipper/ShapeClipper2D.cs:1060-1076 | ShapeEngine/ShapeClipper/ShapeClipper2D.cs:1115-1131 | ShapeEngine/ShapeClipper/ShapeClipper2D.cs:1140-1156 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipper2D.cs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fb501891409b9e92d3ebf67866121476906af0d55283d990ba21efdf376804"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): ShapeEngine/UI/ControlNode.cs:660-671 | ShapeEngine/UI/ControlNode.cs:678-689 | ShapeEngine/UI/ControlNode.cs:696-707 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"a153c29ad537e1e990e37e7b9dfc4d851a91d71a29c314cc1e27e56008250854"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): ShapeEngine/Geometry/CollisionSystem/Collider.cs:1315-1327 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:514-530 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:537-549 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f147028f0401c4984510df71375630a9af7320785f752768e50529e61fa43efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): ShapeEngine/Serialization/DataObjectDict.cs:45-54 | ShapeEngine/Serialization/DataObjectDict.cs:62-72 | ShapeEngine/Serialization/DataObjectList.cs:83-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d894063d6eec3e9a26d62651c64dc5a665190f581d5a79b6b7817ac79400d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/PointsDef/PointsMath.cs:182-190 | ShapeEngine/Geometry/PointsDef/PointsMath.cs:420-434 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsMath.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8196f0ca09a59032f4e1a4d25e0e251d1cd9b81496a0b7bde8bba6067fc9592a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/Geometry/SegmentsDef/Segments.cs:219-228 | ShapeEngine/Geometry/SegmentsDef/Segments.cs:274-285 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5836d7b429c18b8235aaaa3d78b025bb2080044d4f58ad84ae43cc05b0f2f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): ShapeEngine/Input/InputState.cs:138-151 | ShapeEngine/Input/InputState.cs:205-217 | ShapeEngine/Input/InputState.cs:226-238 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputState.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e521f0d57bab053a54599141c6bdbf5a2cfb790429dd5d9ae0439ccbfb3896"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): ShapeEngine/ShapeClipper/ShapeClipper64.cs:394-405 | ShapeEngine/ShapeClipper/ShapeClipper64.cs:437-447 | ShapeEngine/ShapeClipper/ShapeClipper64.cs:457-467 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipper64.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8672bf0e9ec73f32bd518426ee7dab94f93cf0cbc904d0e714ed8231b8ea5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Color/ColorRgba.cs:850-855 | ShapeEngine/Color/ColorRgba.cs:865-870 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorRgba.cs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"022960fe70ffcdd63670d1ab10292b5673a21073f7a55d40679d26f960b79527"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Core/TextureSurface.cs:93-98 | ShapeEngine/Core/TextureSurface.cs:144-149 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TextureSurface.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dc5390b156771d25500058543374d89268ecb8bb6a5741e99b68c56d8eb725"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:179-206 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:266-302 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e7acf6a2c39f4281df414e55963b7e6e8fda02764731e7f2a064cab8a2572c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs:21-36 | ShapeEngine/Geometry/RayDef/RayClosestPointStatic.cs:22-45 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"af18671c998e3f378082fc5a07113e62745babbf55ccc9e973e4499261093471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): ShapeEngine/ShapeClipper/ShapeClipperOffset.cs:225-237 | ShapeEngine/ShapeClipper/ShapeClipperOffset.cs:249-261 | ShapeEngine/ShapeClipper/ShapeClipperOffset.cs:272-287 | ShapeEngine/ShapeClipper/ShapeClipperOffset.cs:299-314 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperOffset.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"54159b1267289bac70a7f131b211765b179f09458ab0155824cb63a877f25a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/StaticLib/ShapeVec.cs:985-995 | ShapeEngine/StaticLib/ShapeVec.cs:1004-1026 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeVec.cs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"4608831e629fc172812d737b343c6fefab5f3b62daa164b26bf83bd4db98d3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): ShapeEngine/Audio/AudioDevice.cs:831-841 | ShapeEngine/Audio/AudioDevice.cs:853-866 | ShapeEngine/Audio/AudioDevice.cs:923-934 | ShapeEngine/Audio/AudioDevice.cs:946-957 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88364376bf0e9a7f319e22bc1599c6b221f2808ba560f504db21301e1211958"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Geometry/CircleDef/Circle.cs:631-637 | ShapeEngine/Geometry/CircleDef/Circle.cs:646-652 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff18329904604189cec3a171332e82c6e12d47b70b9cfe7c2fd93b7ba33bd425"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:543-571 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:583-611 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:506-535 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"91537d9f37d1e1cc42447d941f6f8428bb973f763fbcdc29dd846cc5f59af175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 18\u002B corresponding lines): ShapeEngine/Random/Rng.cs:87-104 | ShapeEngine/Random/Rng.cs:113-130 | ShapeEngine/Random/Rng.cs:138-155 | ShapeEngine/Random/Rng.cs:164-181 | ShapeEngine/Random/Rng.cs:190-207 | ShapeEngine/Random/Rng.cs:215-232 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/Rng.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eae5a1c99cc92dce8f10fb4f7336d85c929905e4171a4c359c2c206d9f53cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): ShapeEngine/Serialization/DataBase.cs:218-233 | ShapeEngine/Serialization/DataBase.cs:243-256 | ShapeEngine/Serialization/DataBase.cs:339-353 | ShapeEngine/Serialization/DataBase.cs:426-440 | ShapeEngine/Serialization/DataBase.cs:451-465 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataBase.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa4dc7f8b557e3baabbca393478407dc8f84d36dcc7819741f072f455d1a44e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/UI/ControlNode.cs:641-653 | ShapeEngine/UI/RectNode.cs:457-469 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2d065ebb51d275939474be704a339d7b43c69d7768891ad52afb4679005d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/UI/ControlNodeNavigator.cs:170-182 | ShapeEngine/UI/ControlNodeNavigator.cs:189-201 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7438c48e872ee0eb2176b6638bac1998a6e84a037a43c3e1f6c56428204b55e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:117-130 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:305-318 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:335-349 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b70d297006eb3bedcd905ab8ba413fe44b705d0faad5f3edde8ac96d804596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/ShapeClipper/ShapeClipper2D.cs:476-485 | ShapeEngine/ShapeClipper/ShapeClipper2D.cs:549-558 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipper2D.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"50561b4db435c7c242ddd24e48d8444a1c26ae8258289fdeec1f626fdc8170c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Geometry/CircleDef/Circle.cs:585-591 | ShapeEngine/Geometry/CircleDef/Circle.cs:598-604 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b67899525fc76da799818c76e5a5fb05652ab1a4e8d4c58f280b4601b0afc6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs:96-125 | ShapeEngine/Geometry/RayDef/RayClosestPointStatic.cs:60-70 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1df6e35095a1d49378489eaa713881d25c905ed8261013bda7cd3904f7b50ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ShapeEngine/Text/TextInputBox.cs:193-209 | ShapeEngine/Text/TextInputBox.cs:329-346 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextInputBox.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c051de66349b6d4c38a6de89734c23037482bfb3b5858ceccd580464dec6fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/UI/ControlNodeContainer.cs:395-406 | ShapeEngine/UI/ControlNodeContainer.cs:414-425 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeContainer.cs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b045e5777a2742b4aac74025b4b058ba96ffc3c5971ac82f3f655e066fb8de27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ShapeEngine/Core/GameDef/GameSavegameSystem.cs:385-400 | ShapeEngine/Core/GameDef/GameSavegameSystem.cs:445-460 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameSavegameSystem.cs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b33aee17585b81309fe3c8fae21490d28d030e232ac19cd3d814289ca6f2e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/Circle.cs:446-455 | ShapeEngine/Geometry/CircleDef/Circle.cs:463-472 | ShapeEngine/Geometry/CircleDef/Circle.cs:481-495 | ShapeEngine/Geometry/CircleDef/Circle.cs:503-512 | ShapeEngine/Geometry/CircleDef/Circle.cs:521-531 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25c82af601ef68434af9f9cb78447b944a36ef5dbf3470232b6d7fc25e2bfdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/QuadDef/Quad.cs:685-693 | ShapeEngine/Geometry/RectDef/Rect.cs:291-299 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bc7e51c7f0bd7099437f8690f8c4aac86a8f75fca1d3f80f540dbdb396b83e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentMath.cs:80-92 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:473-487 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c344db8f9cc8e4c9d69127a2d1e589e499641b133014e83462793ce9c9a6b4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): ShapeEngine/Input/InputExtensions.cs:210-215 | ShapeEngine/Input/InputExtensions.cs:228-233 | ShapeEngine/Input/InputExtensions.cs:246-251 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputExtensions.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85b7e92a8edc6d4d56af4e3b1aa76f6e7f961d1879b2ae2bbab9645d0089357"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): ShapeEngine/Serialization/JsonClassSerializer.cs:157-171 | ShapeEngine/Serialization/JsonDataObjectSerializer.cs:171-185 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/JsonClassSerializer.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"52457f8866a93f0ed8de151b18893d7d28c25407aef3f706e854b78162e18f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/Geometry/PointsDef/Points.cs:260-271 | ShapeEngine/Geometry/TriangulationDef/Triangulation.cs:256-267 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aff951223ee75abdc5d8028ce7b81a36bd98db66a92cb6110dd7bb7cb05f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): ShapeEngine/Pathfinding/Pathfinder.cs:1489-1502 | ShapeEngine/Pathfinding/Pathfinder.cs:1512-1526 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edb698f34e3d287208b3c81819b6562005f20f67491ae6d8f047d970ec22c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Random/ChanceList.cs:104-112 | ShapeEngine/Random/ChanceListIndices.cs:102-109 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/ChanceList.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7490aadd49c4f21b76bb6fb90ca51e3050554c650b2ac3cb91b7c01e7a81d83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/StaticLib/ShapePhysics.cs:818-826 | ShapeEngine/StaticLib/ShapePhysics.cs:837-845 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"843521bcde1cd4523786b1538c614f287703245070f053c45371e5b51b7abb55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs:183-191 | ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:232-241 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:257-266 | ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs:215-223 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d31f8fa370fc68216cb45610fd16b7d527421a3ce680d063ff4e4d95e0ba15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:148-158 | ShapeEngine/Geometry/PolylineDef/PolylineMath.cs:91-101 | ShapeEngine/Geometry/PolylineDef/PolylineMath.cs:111-121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7056b337001af56d4517b6e289fbb9202f557da97c23f8aa78ce1a521f7a9b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Geometry/QuadDef/Quad.cs:756-764 | ShapeEngine/Geometry/RectDef/Rect.cs:1249-1256 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab6b46b15e2f05242df9acf0b25f6705bad26d51be9b86914b8b10444435df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Geometry/RectDef/Rect.cs:1267-1275 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:1283-1290 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea943e974eb70db4a6feeefe9d077a42b8fdac333ed460848494bdf7d8fa192d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/Geometry/SegmentsDef/Segments.cs:165-176 | ShapeEngine/Geometry/SegmentsDef/Segments.cs:187-212 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d113dce47664f2451b6516439f9c8944f887b708aebb0c06e1e57eb111b9880"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): ShapeEngine/Serialization/DataObjectDict.cs:215-225 | ShapeEngine/Serialization/DataObjectDict.cs:302-313 | ShapeEngine/Serialization/DataObjectList.cs:344-354 | ShapeEngine/Serialization/DataObjectList.cs:364-375 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5e358ad39ad36d71dab3a1b70b3ea066d6b01f9613a13d9d11fc5418a0f8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/LineDef/Line.cs:245-250 | ShapeEngine/Geometry/RayDef/Ray.cs:201-206 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/Line.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2760b6a042f4ac0484a4455e43572cb66969087e27066865f489352b5465b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentCollider.cs:80-83 | ShapeEngine/Geometry/SegmentDef/SegmentShape.cs:95-98 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentCollider.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ffdce89402e6dc7df8b56d4c8ca32285527ea8bc9375db1a10b3e4186124de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): ShapeEngine/Timing/TweenFloat.cs:69-76 | ShapeEngine/Timing/TweenInt.cs:69-76 | ShapeEngine/Timing/TweenRect.cs:70-77 | ShapeEngine/Timing/TweenVector2.cs:70-77 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Timing/TweenFloat.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd6d5bb33e1359aaf76047f41741ac2aabad69ebe6db7b127a8c01ec93d6216"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/UI/ControlNodeNavigator.cs:367-379 | ShapeEngine/UI/ControlNodeNavigator.cs:382-394 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd723723b559490d51b6e53e8e3b77940db4e363b8bd1a87b5aee582d2f8aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): ShapeEngine/Audio/SFXLoop.cs:54-66 | ShapeEngine/Audio/SFXLoop.cs:79-93 | ShapeEngine/Audio/Song.cs:30-42 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/SFXLoop.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69e37b1504ec7fa6e4357238dd421adf4a091a65d81f375ffd3b5ce2d4a8b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): ShapeEngine/Geometry/PointsDef/PointsMath.cs:246-257 | ShapeEngine/Geometry/PointsDef/PointsMath.cs:288-301 | ShapeEngine/Geometry/PointsDef/PointsMath.cs:314-327 | ShapeEngine/Geometry/PointsDef/PointsMath.cs:340-352 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:449-458 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsMath.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3c6298b49a4a3689051b94e89bd524c771117eaba1194059cc5778bbc7e2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:213-219 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:225-231 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5887c897bf0931e2563f9c9fe85fc5f2a5083f19e24825fd828bce10df55b6dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Input/GamepadDevice.cs:977-983 | ShapeEngine/Input/MouseDevice.cs:779-785 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"f017b4bf422f52b350c7919a86f4babf1e4bd4bebef5e29c5d452a576854cc3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Serialization/JsonClassSerializer.cs:82-90 | ShapeEngine/Serialization/JsonDataObjectSerializer.cs:94-102 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/JsonClassSerializer.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e282b0b31bfbb5ab8b030fc43e44a0903269d7a0424c4066ce72509da7906c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:101-109 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:79-87 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2752356abdb89117288dd2868f3b72108ed8650be931b7fd4f49486db543d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:166-174 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:133-141 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0d948229825c52d36ab0ab1c4953fada2a80bc999f61e0e9e2780a83eed555"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:240-248 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:188-196 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d985df60e1a756c24bf97ba9a6db2d99bcab8eb9fd3736450cdfd35dd2aba2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/StaticLib/ShapeVec.cs:488-497 | ShapeEngine/StaticLib/ShapeVec.cs:506-514 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeVec.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"48df250da2d035732949b0bbc2959903472fa794dccaa455c57fdae71a04039d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:121-131 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:114-124 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"28db176c4d55261973f905978aefcd09e2cc41eef5568b88dcbc6a199e1a0ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:144-154 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:134-144 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"650d638b9280bd2bc09c2bcc81be592b6025f0bcb80a322d5d42ece2ef0b0be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Serialization/XmlClassSerializer.cs:77-84 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:84-91 | ShapeEngine/Serialization/XmlStructSerializer.cs:76-83 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1e1b62ad1a1440843fa8cfd484d3dd1d39205725be9f94cb0e96413d8acfda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:191-219 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:170-199 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5c1be7d946060ccb21134f6e72bfb4b905f64e11d57cebb7bbc14ceae6b04a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Core/Logging/Logger.cs:236-241 | ShapeEngine/StaticLib/ShapeLogger.cs:292-297 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaff8851c9ebf07b616b961caaf97eebf422f8ac05a57e985a945af1dea3e2f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): ShapeEngine/Timing/TweenColor.cs:49-56 | ShapeEngine/Timing/TweenFloat.cs:48-55 | ShapeEngine/Timing/TweenInt.cs:48-55 | ShapeEngine/Timing/TweenRect.cs:49-56 | ShapeEngine/Timing/TweenVector2.cs:49-56 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Timing/TweenColor.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8196aaebba4c4250a21a33d433b8a5a2afa618827abf8d02af3a9f276a46db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/UI/ControlNode.cs:623-634 | ShapeEngine/UI/RectNode.cs:437-448 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd256be3ba0f37cd4dde3735e0142c312236be957ca624c4fbaa05a29b36392"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ShapeEngine/Geometry/CollisionSystem/BroadphaseBucket.cs:16-29 | ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs:233-245 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseBucket.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3a44ec51f8d1ca1eecc42c1e7b8520905a4cb7f8968d31dfbe8c58d9613347"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Geometry/PointsDef/PointsMath.cs:53-60 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:476-484 | ShapeEngine/Geometry/PolylineDef/PolylineMath.cs:148-156 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsMath.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3cebbe835219ab17054a58bef893dedeb5dbe5d118127a8db2c5f143e8d557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Geometry/PointsDef/PointsMath.cs:124-131 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:520-528 | ShapeEngine/Geometry/PolylineDef/PolylineMath.cs:202-210 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsMath.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2925bae50eef4f21f847cac1991a4b9e70029123d43700e941458185fda8eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Geometry/PointsDef/PointsMath.cs:142-149 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:535-543 | ShapeEngine/Geometry/PolylineDef/PolylineMath.cs:220-228 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsMath.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a685005b334a9bcf059b364ddd86f9020747d3f987e7723e2a4fe99ac504f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Screen/CameraTweenOffset.cs:45-52 | ShapeEngine/Screen/CameraTweenRotation.cs:38-45 | ShapeEngine/Screen/CameraTweenZoomFactor.cs:38-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/CameraTweenOffset.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28f8ac50aec597c94b67c6a75b46061884d763cce36a9b2baa074f7eef18b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Audio/SFX.cs:43-50 | ShapeEngine/Audio/SFXLoop.cs:148-156 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/SFX.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da079bd5abfa93006b3e7324b6c1273dfbd3723a815864f522df4de54fc8471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:264-278 | ShapeEngine/UI/RectNode.cs:364-375 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee4f9855909d5307180ceafd6c03c7c946eb9880409bc57c21969d74f17150e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:149-157 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:273-281 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0661cc324a97b3f69cbbc2d44df6326d4f52eeaa0c25a0f3249013ff780183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:308-316 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:501-509 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2d5765698bd91d713d1f37687ba4a12b39dd2fcd1429f93ff440e8aac0097b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsOverlap.cs:170-180 | ShapeEngine/Geometry/SegmentsDef/SegmentsOverlapStatic.cs:143-153 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsOverlap.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b8e4fd1d3933902ba03e3330ecf5545b1637be325b176e084819ba91cdbba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:152-181 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:108-117 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:104-110 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1c1df6efe945ab6cfa0f86b929d81204f26fd73134ddd5383854856a8e21f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:127-160 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:121-127 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4925a406b6af5ca4bbed81e90f1b900f1e9d906606b4a2f6b97922a379be83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Input/InputActionTree.cs:481-486 | ShapeEngine/Input/InputDevice.cs:79-84 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputActionTree.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5f9969dfcee1c83276af92278f622cf7638e85782d22b9ac996294afbc90cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): ShapeEngine/Input/ModifierKeyGamepadButton.cs:83-88 | ShapeEngine/Input/ModifierKeyKeyboardButton.cs:74-79 | ShapeEngine/Input/ModifierKeyMouseButton.cs:97-102 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/ModifierKeyGamepadButton.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8937a643c076670c8e6cc2ff01eb58e9516627fdd77df8bc857a9c7d5b8f679e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Input/ModifierKeyGamepadButton.cs:96-101 | ShapeEngine/Input/ModifierKeyKeyboardButton.cs:87-92 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/ModifierKeyGamepadButton.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"720875de3cfce2a91ce4d94653d46f48c6857aa6836b9ade48f0206d4b09ddd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Geometry/PointsDef/PointsMath.cs:88-95 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:505-513 | ShapeEngine/Geometry/PolylineDef/PolylineMath.cs:184-192 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsMath.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89e7932a34fb37c6fc28851ecbc0ac564a786be08b70ec41872dae11a1f286c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/PolygonDef/Polygon.cs:1079-1087 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:315-324 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d58d167021b795cb2b720669346e9699653cd4d5cc75a539deca69d4c24e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentMath.cs:248-255 | ShapeEngine/StaticLib/ShapeVec.cs:653-659 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d36693a14ee42d7caa180b231a4174509405fc74ea21906c11db0e36dfb297"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:268-276 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:465-473 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9571073f071576818697a8c95856a17445830f7b84628f1ef51824e3397e29a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Audio/SFXLoop.cs:134-144 | ShapeEngine/Audio/Song.cs:57-67 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/SFXLoop.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9f65ed5292373130e22d92888cc909457c36d3622cae7da390680936a33fba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ShapeEngine/Geometry/LineDef/LineDrawing.cs:140-143 | ShapeEngine/Geometry/RayDef/RayDrawing.cs:123-126 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineDrawing.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ecb3da0840b249e7af4cf6dc552321317eb3ca72c002378ce21feeec72f448"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Random/ChanceList.cs:143-150 | ShapeEngine/Random/ChanceListIndices.cs:142-149 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/ChanceList.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a556da4171d5077d93a0d1c56a710ee00302c38334705b41c32952d32c05eb81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Serialization/XmlClassSerializer.cs:212-220 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:248-256 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5237f3e0bf8b5505de10d66f60b750cf719a031185ae5d151b2274942f9f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Color/ColorRgba.cs:1399-1406 | ShapeEngine/Core/Structs/TransformMatrix2D.cs:527-536 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorRgba.cs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"7130573d96a3ef904b3a4e83f57bff41aa83f165767886588f2c095c9099b3a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Color/ColorRgba.cs:1414-1421 | ShapeEngine/Core/Structs/TransformMatrix2D.cs:549-558 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorRgba.cs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2b75a4487d24e904c1ffc193eb5a007c689369612829dbadb3f39786476bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ShapeEngine/Geometry/LineDef/Line.cs:143-146 | ShapeEngine/Geometry/RayDef/Ray.cs:120-123 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/Line.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d239818c69dfd6be109a1ca6be155f97ff9813d41643db13fce2fbd69a80d9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): ShapeEngine/Geometry/PointsDef/PointsMath.cs:71-77 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:491-498 | ShapeEngine/Geometry/PolylineDef/PolylineMath.cs:166-173 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsMath.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"999d6ef209c223da6e08965d99b052f0c319479f3a4e1be47df5854040564afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectionPoint.cs:207-213 | ShapeEngine/Geometry/RayDef/Ray.cs:297-303 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoint.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe771122cb6a12e5b34860182c20cc8ac2e127fce4c29d74c1a97dec5b4d554"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs:201-210 | ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:251-261 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:278-288 | ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs:233-242 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"516d327a96309c9640bfb8d8f26c8a73131a72265b32098a47591b2b34836cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:419-428 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:358-367 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:442-451 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa760ed4806da65e1c75ffe6fe5dbc4530f14a832bb62779021d37658def3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:438-447 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:378-387 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:463-472 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f267aa73adb57e9689e8db358bfd64859d77ee7ca039d46f1457dab147ca197a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Input/InputActionTree.cs:435-440 | ShapeEngine/Input/InputActionTreeGroup.cs:136-141 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputActionTree.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"790adf54bf29703ebae028a77920157d74baf04d5691a313609ef8d758eb57d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/Serialization/DataObjectDict.cs:383-392 | ShapeEngine/Serialization/DataObjectList.cs:460-469 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"3553028c65153daf29346837f3ae941fd7449dff60da737bf61b941644be6639"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Serialization/JsonClassSerializer.cs:61-68 | ShapeEngine/Serialization/JsonDataObjectSerializer.cs:72-79 | ShapeEngine/Serialization/JsonStructSerializer.cs:68-75 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/JsonClassSerializer.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6469c33ab18639662145597199d9dabb267eb5b3632dc77a362c7fc72d94a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): ShapeEngine/Input/GamepadDevice.cs:247-255 | ShapeEngine/Input/KeyboardDevice.cs:199-207 | ShapeEngine/Input/MouseDevice.cs:164-172 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b41705047e5131f5d3a75301c976a238c8ac23a962e51bf9d35759ec633f903"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Serialization/XmlClassSerializer.cs:126-134 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:144-152 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"703c969b50ebac70e33a828f5af22a0efe48d705246dfa178129b14722dd30ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:553-562 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1768-1776 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6e508664fdc262e97ef4cb476b2af186f4d689e7a9e9caccb2122210b1813c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:162-170 | ShapeEngine/Geometry/SegmentDef/SegmentMath.cs:212-217 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9868aa6f06fc9ceea5a69b65ea65dafc75f7e64faffb2b7e56f50a0972acf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): ShapeEngine/Input/InputTypeGamepadButtonAxis.cs:69-73 | ShapeEngine/Input/InputTypeKeyboardButtonAxis.cs:72-76 | ShapeEngine/Input/InputTypeMouseButtonAxis.cs:68-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadButtonAxis.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ca972007ae6b82ea489a11adf24da9623ffefdbaa88e81d5fbe1e78459c3ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Input/InputTypeGamepadJoyAxis.cs:107-111 | ShapeEngine/Input/InputTypeGamepadTriggerAxis.cs:84-88 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadJoyAxis.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c5397f157e4f0c2067d060a713b86cff22774238b7481fa1e24285ed565df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/Circle.cs:343-351 | ShapeEngine/Geometry/RectDef/Rect.cs:772-782 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:514-521 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c4c956a8c3adc6844734b292f9a633e1d351bf69baa6712d9aa7041fdd510a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleContainsStatic.cs:77-85 | ShapeEngine/Geometry/QuadDef/QuadContainsStatic.cs:101-110 | ShapeEngine/Geometry/TriangleDef/TriangleContainsStatic.cs:112-120 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleContainsStatic.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd8cc66168b002ca3a9c544c3daa275543740e5816cf968a8a3f35bdf97fe1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): ShapeEngine/Geometry/PointsDef/Points.cs:705-708 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:1205-1205 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fb097b23983f72ad37a72cd3d905c50d969dbc8c394b98de44b4525dc2e2ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): ShapeEngine/Serialization/XmlClassSerializer.cs:48-54 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:50-56 | ShapeEngine/Serialization/XmlStructSerializer.cs:48-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e969c3abbbac9d86529fc4d06acc43737a017c9f6f68e4aa718f791996fdf6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Core/Structs/Size.cs:175-180 | ShapeEngine/StaticLib/ShapeVec.cs:447-451 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/Size.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"874b31811d0e6d30f390958a32207e1e7adae56493ed5d79365bdaa0a470e55e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Core/Structs/ValueRange.cs:141-145 | ShapeEngine/Core/Structs/ValueRangeInt.cs:128-132 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ValueRange.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c1357e5563574f4ea6256ec2f477b9565effbe1dd05f7d11241a7a509198ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Core/Structs/ValueRange.cs:331-335 | ShapeEngine/Core/Structs/ValueRangeInt.cs:273-277 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ValueRange.cs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c48a50b1b52a41204c5a434f3508904814fa1d6881c9c1e8b444a1dd28f7658"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Core/Structs/ValueRange.cs:383-387 | ShapeEngine/Core/Structs/ValueRangeInt.cs:322-326 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ValueRange.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee01d8d0c17bc5763a3d270b963604f48de16f53385dd46edbfdc33c7438c8d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:459-468 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:398-407 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:484-493 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa713e4bf11b8231ed7e44054b04e4fc0a403ca2e079702c30c9c6bf5c1219b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Input/GamepadDevice.cs:827-831 | ShapeEngine/Input/MouseDevice.cs:544-548 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2307f5adbd53fa45c7fb972e8a8cf2da3196903162260ae62ef124abe50719"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ShapeEngine/Input/KeyboardDevice.cs:174-185 | ShapeEngine/Input/MouseDevice.cs:287-298 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/KeyboardDevice.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0723536e71e916ddc147c95475018ddc9b7fa0cd6d23aca664373440c3b8768"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): ShapeEngine/Timing/TweenColor.cs:35-42 | ShapeEngine/Timing/TweenFloat.cs:34-41 | ShapeEngine/Timing/TweenInt.cs:34-41 | ShapeEngine/Timing/TweenRect.cs:35-42 | ShapeEngine/Timing/TweenVector2.cs:35-42 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Timing/TweenColor.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd380fefbdee134b937b6ee399d18455c37cd487db1df405ae779b817a3e96d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/Circle.cs:392-399 | ShapeEngine/Geometry/RectDef/Rect.cs:754-761 | ShapeEngine/Geometry/SegmentDef/Segment.cs:220-227 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:496-503 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9df587c06606df77302589d80b3cf55ca4c99bcd9a3d074a01369743db6559b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): ShapeEngine/Geometry/CircleDef/CircleContains.cs:116-124 | ShapeEngine/Geometry/PolygonDef/PolygonContains.cs:22-30 | ShapeEngine/Geometry/QuadDef/QuadContains.cs:59-67 | ShapeEngine/Geometry/RectDef/RectContains.cs:80-88 | ShapeEngine/Geometry/TriangleDef/TriangleContains.cs:80-88 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleContains.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfc81b28e0166223502053b9aaf24cbd97ffe8bf1f7003c244efab60b989f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs:52-80 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:383-391 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cd7a62b81651fd872e64534cf300991a2008b9a298b6ccc6b5b6a1f1b554f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): ShapeEngine/Geometry/QuadDef/QuadMath.cs:709-713 | ShapeEngine/Geometry/SegmentDef/SegmentMath.cs:527-531 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:336-340 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadMath.cs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da4c3adda4d55240674a96133d7d3f03302bf05db719a6d049e4f9910f9b8bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Random/ChanceList.cs:155-163 | ShapeEngine/Random/ChanceListIndices.cs:152-160 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/ChanceList.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ce5f41c803f0b6f61a99f3aeb10ff509f9cf3d425bbb9d306cb337ca7059af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Screen/CameraTweenOffset.cs:31-38 | ShapeEngine/Screen/CameraTweenRotation.cs:29-36 | ShapeEngine/Screen/CameraTweenZoomFactor.cs:29-36 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/CameraTweenOffset.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c3127676e7f13c270ec50cc3f9f248df687186aa64a68ac587399f2105af21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadMath.cs:689-693 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:308-312 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadMath.cs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f596d79203004fdba8e9cb59646181eddeb906faf1dc25993ade751b44d683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Geometry/RectDef/Rect.cs:473-481 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:220-227 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f04665f11e279e8d80d19229e38e7ed6fa5030b0ab45be0494636571d6ccb36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Geometry/RectDef/Rect.cs:495-503 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:237-244 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef2788ef84b6504b7938bc450736834756077ee81adfc15ffe0573e36b9d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Geometry/RectDef/Rect.cs:529-537 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:254-261 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a17f51afac79f4f4de00ba8ebd99de7fadca98a068d28f99675e6e40f6647d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): ShapeEngine/Input/GamepadDevice.cs:1017-1021 | ShapeEngine/Input/KeyboardDevice.cs:505-509 | ShapeEngine/Input/MouseDevice.cs:823-827 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a635e516f2a5efcd2aa02ebdae98dff925a83f366857fefb0b5a8a7ca5abca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Input/InputSettingsGamepad.cs:86-96 | ShapeEngine/Input/InputSettingsMouse.cs:86-96 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputSettingsGamepad.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"378a36fea5193dfacc81823fcadc0d37d627496fbbcc9c08897e63bfe134027a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 6\u002B corresponding lines): ShapeEngine/Input/InputTypeGamepadButton.cs:36-41 | ShapeEngine/Input/InputTypeGamepadJoyAxis.cs:78-83 | ShapeEngine/Input/InputTypeGamepadTriggerAxis.cs:55-60 | ShapeEngine/Input/InputTypeKeyboardButton.cs:51-56 | ShapeEngine/Input/InputTypeMouseAxis.cs:42-47 | ShapeEngine/Input/InputTypeMouseButton.cs:42-47 | ShapeEngine/Input/InputTypeMousePositionDelta.cs:90-96 | ShapeEngine/Input/InputTypeMouseWheelAxis.cs:41-46 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadButton.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"479f1e32c72150506174bcc9fb8cd387cc85be5a8ebd0a2ae50eb22db5647fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Random/ChanceList.cs:130-137 | ShapeEngine/Random/ChanceListIndices.cs:128-135 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/ChanceList.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dd3cf52909301898ebd5b335fcb9437c93ef60cbffb572bb99f97d635afd28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Core/Logging/Logger.cs:66-72 | ShapeEngine/StaticLib/ShapeLogger.cs:105-111 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f0c49aa136c777c9eecd02f65363040d6e36b066c05efbfe4c07430266a2bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/Core/Structs/BitFlag.cs:187-196 | ShapeEngine/Core/Structs/BitFlagLong.cs:188-197 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/BitFlag.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f8689a60ed777c4f907258dd74336ada144361cd1491e898a662727a307942"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:264-307 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:225-277 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05bfc3ed99acab76c95f49ffa63c7553a3e85d28cc36679f68308c93cf007ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 5\u002B corresponding lines): ShapeEngine/Geometry/PointsDef/Points.cs:145-149 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:188-192 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:105-109 | ShapeEngine/Geometry/TriangulationDef/Triangulation.cs:181-185 | ShapeEngine/ShapeClipper/TriMesh.cs:761-765 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb599069adde704cb639902070d4e9b388e79e61f787f0412159bd4826a60db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Geometry/RectDef/Rect.cs:1284-1290 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:1304-1310 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80d4af2317edd20c8a042c7af81bcf3fe7e85e4e5ee133fed29e0caaf72a55a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:14-19 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:50-55 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec727a492d47eba44d9d4470feb52ebdbec0137517d3e6fcfc9963e9cbe949c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:27-32 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:77-82 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23a4b55bce11c26232ceb156a2802c1aa78afb4aeeec2fd8cff6aeaef49e220"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:104-109 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:212-217 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"003ffde3357898cd89c2db4f49368004f97835c3d66655b7b7cb0cb5c05ba7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:117-122 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:226-231 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4322bac598ce78de3250a295b54daec99731fe77c046bbfab7ff419751f57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:130-135 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:240-245 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9f13112df387bd3b31a1ee650e8b2bc62c9379404947b3bb937af276b78f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): ShapeEngine/Core/Structs/BitFlag.cs:170-179 | ShapeEngine/Core/Structs/BitFlagLong.cs:171-180 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/BitFlag.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e313baa998823195d423abedb289ccacb383b5070ea367cc9a9acebff4ef09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ShapeEngine/Geometry/LineDef/LineDrawing.cs:156-159 | ShapeEngine/Geometry/RayDef/RayDrawing.cs:139-142 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineDrawing.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1fd2fb5d4443c4f13a8530260775a9e6c8678cc4c836a2d6bf97d424589767"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ShapeEngine/Geometry/PointsDef/Points.cs:612-616 | ShapeEngine/Geometry/SegmentsDef/Segments.cs:364-367 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"718f9564e9728b5e4971d124ffbe992ff425caae009d80fccba97338677f9ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/QuadDef/Quad.cs:701-706 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:903-908 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ebed21c97aef3310e744610601ef57310d61c6f591e44dad679bd334896814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): ShapeEngine/Input/InputSettingsGamepad.cs:204-214 | ShapeEngine/Input/InputSettingsKeyboard.cs:149-157 | ShapeEngine/Input/InputSettingsMouse.cs:260-270 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputSettingsGamepad.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71af4f7e0debe3ee48ff6067c9c1b71e23532189a4dcb765e4ba8e5f6f6672f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): ShapeEngine/Input/InputTypeGamepadButton.cs:65-69 | ShapeEngine/Input/InputTypeKeyboardButton.cs:66-70 | ShapeEngine/Input/InputTypeMouseButton.cs:56-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadButton.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2140befea488270c239ca4630a84536fcf11422124ecc0a630c03df0da3352"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Input/InputTypeMouseAxis.cs:72-76 | ShapeEngine/Input/InputTypeMouseWheelAxis.cs:71-75 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeMouseAxis.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec52ee7b6af168951b0a66477bc78ffce915f98e49210929f1b47f53106f91fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Core/Structs/ValueRange.cs:569-573 | ShapeEngine/Core/Structs/ValueRangeInt.cs:467-471 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ValueRange.cs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bfc4811a0344ae013df4b6eb5b355108803d3fe66f916adab346604a41f885"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): ShapeEngine/Geometry/CollisionSystem/BroadphaseColliderRegister.cs:66-76 | ShapeEngine/Geometry/CollisionSystem/BroadphaseStaticColliderRegister.cs:70-81 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseColliderRegister.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d4e5a9e0154a24a03931d9bf08ace2064cd279fcff0aabaa5380c5ae975642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1020-1023 | ShapeEngine/Geometry/RectDef/RectDrawing.cs:262-265 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64acf6b43bd9b0bb58e32f0f9074b0ebf810db0784844ff25f175ee3243ec34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:91-96 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:198-203 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e709649d3386a795c7e2defbc26e6df12255b0ccc7c613db75a40fcc736d42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Core/Structs/Coordinates.cs:278-283 | ShapeEngine/Geometry/RectDef/Rect.cs:307-312 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/Coordinates.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4166a8804d36e8d17ba04e576668febf800c80a9730c5995afc51139e0e7078a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Core/Structs/ValueRange.cs:436-441 | ShapeEngine/Core/Structs/ValueRangeInt.cs:419-424 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ValueRange.cs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a47763e862d895e6888da4f4e580b3d0770f1b90ed47447fed9a403a1c143f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs:64-70 | ShapeEngine/Geometry/PolygonDef/PolygonShape.cs:67-73 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa86111134f164d041db034f2ab694a6dcdbe35bb7b73621bd1a0a4421611fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:236-238 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:36-38 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"50be0e101db8c8b07983d101ce2dd6892e0bdea79eb69b29c97c62ddd40ed76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:270-272 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:49-51 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bf9eb30cdfffcdff9f4ff2f9749090198d68801a4b7662f7a3babffc57c194"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadMath.cs:649-653 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:294-298 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadMath.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e67cb0d36bc5c4c33f7760bd37772ad502101c5bea1cfb83d5fe48642634320"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Geometry/QuadDef/QuadMath.cs:668-672 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:321-325 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadMath.cs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb5e869667a8e3c7c92d05a61f7c74866cd2cfe6913b4d46d7caca9a59038b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): ShapeEngine/Input/InputSettingsGamepad.cs:167-177 | ShapeEngine/Input/InputSettingsKeyboard.cs:106-114 | ShapeEngine/Input/InputSettingsMouse.cs:176-186 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputSettingsGamepad.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"557ad32e53176f70e89ef43058eeee4bc228ee786e74613ab8827d963b968675"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Core/Logging/Logger.cs:78-83 | ShapeEngine/StaticLib/ShapeLogger.cs:117-122 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4564ea2d5ee08a908e9d573fd056c5a8d4079a554772cc99f333f4ba5d92497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): ShapeEngine/Core/Structs/BitFlag.cs:126-132 | ShapeEngine/Core/Structs/BitFlagLong.cs:127-133 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/BitFlag.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b6b3c4be4ffcf636adb678cef1babddb8adabf2805593929fd163e59571c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): ShapeEngine/Geometry/CollisionSystem/IntersectionPoint.cs:221-226 | ShapeEngine/Geometry/RayDef/Ray.cs:311-316 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoint.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2271ead72d90087a154fd6c78bd7631c2df3355142eecca82a90a2ddf6fa434"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs:141-144 | ShapeEngine/Geometry/RayDef/RayClosestPointStatic.cs:119-122 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cffbd9b5a4272b688195b75aa57e25a1426f3a8592c9d4160df070f9cc1ffbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Geometry/ShapeList.cs:75-82 | ShapeEngine/Input/InputActionTree.cs:461-470 | ShapeEngine/Input/InputActionTreeGroup.cs:162-171 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/ShapeList.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3aeb1ea2aede983f27b93e305f737b24e316e053a65e5eace24ec12859b0af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): ShapeEngine/Input/InputSettingsGamepad.cs:142-152 | ShapeEngine/Input/InputSettingsKeyboard.cs:125-133 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputSettingsGamepad.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6ddba99393fefa81f5335547b4a1202cd701f91b5aa9f1acbb5cb8b53ebb58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Serialization/XmlClassSerializer.cs:91-98 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:103-110 | ShapeEngine/Serialization/XmlStructSerializer.cs:91-98 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5b9feaf96763e2b7dbffe42600b7b5a679aa075ee36704b034a0686d12d78b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): ShapeEngine/Core/SlowMotion.cs:40-49 | ShapeEngine/Input/InputActionTreeGroup.cs:99-106 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/SlowMotion.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1273d63ce2baf54ac84f34b98fa8a9840e257e7b811a58a6068d3129b1b209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:231-250 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:212-231 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"679fd48e14df3f3e6f2eeefffdd26709477af3e9fc934a06f742c40bde7607ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:263-310 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:241-260 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"473bcc546b020df4951a55a42a72d23e1c0c21b45362f4369ee3c1e596d6be43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): ShapeEngine/Input/InputSettingsGamepad.cs:117-127 | ShapeEngine/Input/InputSettingsKeyboard.cs:68-76 | ShapeEngine/Input/InputSettingsMouse.cs:117-127 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputSettingsGamepad.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb62ac901ce57d5c5c123d06290d4d0644f3c1ac676ebfd915c7f9b298168aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): ShapeEngine/Serialization/XmlClassSerializer.cs:173-180 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:200-207 | ShapeEngine/Serialization/XmlStructSerializer.cs:173-180 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b3327f963389682c5a633db9cbd4f0b064765aa15cb5cd72ba2a584efe2103"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): ShapeEngine/Serialization/DataObjectDict.cs:21-25 | ShapeEngine/Serialization/DataObjectList.cs:54-58 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a2d719d868cf2add4bfc74e36f8eb1dd6cad1338d8bd6135efacdd8ff16219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (180\u2013194 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:257-450 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:502-681 \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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a27f9af3bcb729110be71af3055edbebb57ffdc4fb6c7c17204b5fa51fbd722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (118 lines \u00D7 2): ResourcePacker/Program.cs:308-425 | ResourcePacker/Program.cs:564-681 \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 \u0060ResourcePacker/Program.cs:308\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":"ResourcePacker/Program.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"219fa211ba87b1b654dbf5cd6e62635e866024d2caad24e731f87f6764dbefb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (103\u2013117 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:611-727 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:627-743 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:622-724 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:626-728 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:611\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45e3ad44bd498f0fda742ed4fda97a3ed7c5fdbb2277235fa0532da4e39de17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (106 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:593-698 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:588-693 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:593\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"61555761f3a6d0ad38e8bdc531248d7696ea38a8648ff9f7059f997ea6b8c4d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (106 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:775-880 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:768-873 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:775\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f94d17223ffe0552911ff9edb642381da8ac00bef1c8d66003ec7df73d3ba58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (102 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:751-852 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:766-867 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:747-848 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:751-852 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:751\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7b504874853d01e6a6666147fd9180623bc0a35edb4ac041acaa3283c91b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (102 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:875-976 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:891-992 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:871-972 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:876-977 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:875\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83f907b8adb7a23278c288267f88b88afc1175d0d8e54990744759f5855efaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (102 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:999-1100 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1016-1117 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:995-1096 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1001-1102 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:999\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4139fbd46eca3546a7c77f816d84ff486f18d279667b7251d52f9f7286400a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (99 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:153-251 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:157-255 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:157-255 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:157-255 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:153\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47299df59302a881bb9935d7784442299e646a190bf7bba643740475299c823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:433-516 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:430-513 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:433\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8833637b4dc91836423f0e10fe5de54ee1a5113732810c66deeb92bf48657a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78\u201379 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:526-604 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:521-599 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:452-529 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:526\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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"9956214ff3bd9d5ef1c60bf40a8c52826b663d5ec316be445673020580e10f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78\u201379 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:708-786 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:701-779 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:591-668 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:708\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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf67b27659873f02ec47687cfef6f9ce92f9d80ab4ba9bf8bc750222df906c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57\u201378 lines \u00D7 2): ShapeEngine/Core/GameDef/GameVirtual.cs:163-240 | ShapeEngine/Core/Scene.cs:492-548 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Core/Scene.cs:486\u0060 calls \u0060OnInputDeviceChanged\u0060, \u0060OnPausedChanged\u0060 and \u0060ShapeEngine/Core/GameDef/GameVirtual.cs:163\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameVirtual.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fca652ef91281ea9d2c03a96b771c95877335e4ba67e62932b09e77d44dc8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1114-1178 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:995-1059 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15d679033d99b6641acb41dd61f25012b2cb7dd6fe345f5f8d427a605593f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1133-1192 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1150-1209 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1128-1187 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1133\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"30999f1205959d1b56b1ecfae03a1e2dff403318df8e956847cebf5311f9beb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:512-568 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:467-523 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1efb9341ad95412072700a05a730372693236d346bde9e029f3dafecac4135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:387-442 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:384-439 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:344-399 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a011f5f7f0932213480b73ece2e441ec32c0501acb777eb2464d611439c0f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:408-459 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:479-530 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:408\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d19ff0b4f4f4311180cdae7cea11a593f9bf894478053c10526e2fc6ca5312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:481-532 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:559-610 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:481\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e07ad16b122f1af75c71b7e5019e5a7815bc8940c340910dc2ce2b0e6ed0a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1006-1054 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:907-955 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"729f97e0d813723a8f73cf061092e36fb27a67ec2ff1f08a5084a06a7aa222e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201347 lines \u00D7 5): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:997-1041 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:295-341 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:2108-2152 | ShapeEngine/Geometry/RectDef/RectDrawing.cs:702-746 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:874-918 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:997\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe0d8e1a347197d1853eb1494f337f6d800865adcafe436dfd2b7044f21f7c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:288-330 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:285-327 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b323b773f97dfe6376534cd898f14060c966ba9c06d1b9f9de330b0ca5547fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:346-386 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:410-450 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:346\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b101f7159906599339de9c508f59aff1cd0457d61f8a367a5c6199eda3bea3d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1256-1297 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1108-1149 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1256\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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64a8b62bb37a4d62f61ae6b9896b48b7f83b147683e6d605f7736390a92ce07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:638-677 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:390-429 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:638\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1340ff96d4f38a2d5c394650e982c97ac3c7ff0d7106ea8478bc8eb17bedd85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:915-956 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:905-946 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:915\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b44b20cf01bc95f89cdef6b605b318ab43fd7454907d7b0252b79b48f4fadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:693-750 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:445-502 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"011edbd509a99e76fdbab62f2a4270b3316d6ad3e0a085ce9808877fa01a9925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:990-1030 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:978-1018 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:990\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c9ff4f112478b6f696b5df79d56749fb48ab2ae120e2a03c9173eca6e124e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): ShapeEngine/Input/GamepadDevice.cs:518-558 | ShapeEngine/Input/MouseDevice.cs:367-406 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Input/GamepadDevice.cs:518\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef04b87f4bb8dbb75a7cda7c68c608004d2ef99327a5fb3b6b7f83eb7faad1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:184-221 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:234-271 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:284-321 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:334-371 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:184\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5436dbb96bc6d1b2af379a2b4cf6cea2b7902a752f343372efbf391a4cb77361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:383-421 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:363-401 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:383\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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d65a2d2a744fa849943ecf70f9e5c627eaa9c2a4162361e60a14d15aa5b38d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:453-492 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:528-567 \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 \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:453\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Quad\u0060 in one and \u0060Rect\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df7a89175307e815745e6ee9e8e9e7830b1f1511e0b14478203c80cbb9d32d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:254-293 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1132-1171 \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 \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:254\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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9261ef46a8b1722dea55f6f1fb804afe1b5a51f957cf7f5e559e6dca4e6b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 6): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:253-289 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1133-1169 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:257-293 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1150-1186 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:257-293 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1128-1164 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:253\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a51890e4edef561eb81c58fb39208288beaf3a8e4856a90abb509ac9cd3ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): ShapeEngine/Input/KeyboardDevice.cs:268-305 | ShapeEngine/Input/MouseDevice.cs:301-337 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Input/KeyboardDevice.cs:268\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ShapeEngine/Input/KeyboardDevice.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f91987e74a72a8ed4faafbfa74ff33473825fc76c99e8e1a916b1e4d2181c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:242-278 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:268-304 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:242\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce71e474877d42c4a0c5f6a3910c4e7b8b272ecf73bd11bd323dbeeb4722b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201337 lines \u00D7 2): ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:24-42 | ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs:65-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffca4c472133416855a891452c5473a0673753ade3c2919d771a69362cc7925d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): ShapeEngine/Text/BitmapFontAtlas.cs:86-122 | ShapeEngine/Text/BitmapFontAtlas.cs:139-174 \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":"ShapeEngine/Text/BitmapFontAtlas.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1b7c8e1637eaa1354a44ed9ce76b92b3a99d501c8d86272f8ff02591ba5cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 10): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:50-84 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:51-85 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:71-105 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:53-87 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:46-80 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:49-83 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:51-85 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:48-82 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:49-83 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:49-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:95\u0060 calls \u0060ArgumentNullException\u0060, \u0060nameof\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:88\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7d2af2aba9ef60a528c643a4cea9896fda8c540bd4dfed40d5a57d3636cd1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 9): ShapeEngine/Geometry/CollisionSystem/Collider.cs:1384-1418 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1426-1460 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1468-1502 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1510-1544 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1552-1586 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1594-1628 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1636-1670 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1678-1712 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1720-1754 \u2014 all 9 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3ab325b0859c4f746007f81cf147eda57009262dcf403548bf081a41c25c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 9): ShapeEngine/Geometry/CollisionSystem/Collider.cs:1850-1884 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1897-1931 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1944-1978 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1991-2025 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2038-2072 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2085-2119 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2132-2166 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2179-2213 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:2226-2260 \u2014 all 9 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b357d069dfbe038f0edccfff8579ce6c9c0cace2a1f4006dd0bac0760394ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:202-236 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:207-241 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:202\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"493a1365ea56da4740fe7fec9d7a920dc12474ed9780b23172a63bc8f1e22d6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:295-329 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:296-330 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:295\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"faec9afc31f9a09cfe987efa6358f46131daf2ba43b45ea0e96b2f446ea50715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:342-376 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:341-375 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:342\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0863c38a78af783796ba315799e541dbaeaa8f14883447be80782d01857e575c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:107-139 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:163-196 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16fff26f5b1c603650bbf1292a29628d828d46dee6087e8b767137116dbd449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:249-282 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:252-285 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:249\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"21990d056635a287fab2b8190a865ebf3fd9f9d530c2599c18cc846fee350c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:367-397 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:431-461 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:506-536 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:367\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Triangle\u0060 in one and \u0060Quad\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fb68a85915a78a92b5d23d7a0608b721f9665f9cf2ed47194281b0bb8c2217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:935-964 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:847-876 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc5f026092ab187c557bbbcb88cc2e8a07c5bd1d91c3289022e1f5fc7c791c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): ResourcePacker/TextPackManager.cs:21-51 | ResourcePacker/TextPackManager.cs:112-142 \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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98a87a24bec498b60eb32116a881e4a26b05e7dc7e22777afcee4a1de62edec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:536-565 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:730-760 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:730\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:728\u0060 calls \u0060Clamp\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:535\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5b146b55c5bc75a808d3f981277e52d8840cc6e0ea6f1594acf802df6170bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1726-1738 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1859-1871 \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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"565817a6ccbd1b2ef8a13a9b4dc427f3b8e8dda53351acb2a232c45e4dab90d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:531-560 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:547-576 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:544-573 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:546-575 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:531\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6637fff34d45f215a9c857f90c790c4ee98e43139b6efbe50089fc28ed646e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:898-926 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:888-916 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:738-767 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:898\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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a3c9152f6bc069a93d74cbda15ed7b08df9fa4745671453a69e3a3081adb72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:973-1001 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:961-989 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:805-834 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:973\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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"28249fa25b9dbc233f4a2b1d38fcfae3d20b9370c8d01eb61c9039e629086234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): ShapeEngine/Input/GamepadDevice.cs:510-532 | ShapeEngine/Input/KeyboardDevice.cs:327-349 | ShapeEngine/Input/MouseDevice.cs:359-381 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Input/GamepadDevice.cs:510\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":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ba03cd9c2fd707f7f3ba25d70c9d51dca0f7ec2501107f1af5a36855589db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:600-628 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:797-826 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:600\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:797\u0060 calls \u0060Clamp\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:600\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef509d04ee5c264fa88d862a462a95f2e02e0055f0b1ef09d5d8ea0c07ccf2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201330 lines \u00D7 2): ShapeEngine/Pathfinding/AStar.cs:73-99 | ShapeEngine/Pathfinding/AStar.cs:103-132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"412cd6ff724c72bf7002424508b2252c306bd8cb0f8c39652afeef61ed984c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:487-513 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:422-448 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 203 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:487\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"3825d225b5d0b4cd77608f04e3f1d9edc5360ed27dd07feab172ce51be0c45e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:201-229 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:220-248 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:201\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab02af641bca7cec3bf0559a334ad1dc22224bff0ecb2116bb57dc83748d95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:67-95 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:122-150 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cdd3286b89a9264dd7589eb559c838ba61a6b1f59634658568a2b3b3a5f2a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201350 lines \u00D7 2): ShapeEngine/Pathfinding/AStar.cs:55-104 | ShapeEngine/Pathfinding/AStar.cs:200-248 \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 \u0060ShapeEngine/Pathfinding/AStar.cs:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Pathfinding/AStar.cs:198\u0060 calls \u0060ThrowIfCancellationRequested\u0060 and \u0060ShapeEngine/Pathfinding/AStar.cs:54\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"142acaeb462adf3c88c31bc8b67e16e151d442fd1c0e0b67646f525d3895c87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201329 lines \u00D7 2): ShapeEngine/Text/TextFont.cs:477-492 | ShapeEngine/Text/TextFont.cs:783-811 \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 \u0060ShapeEngine/Text/TextFont.cs:477\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":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fd9ad23d0672808bb6b4aa1bff8889ac46ed686fb6a071ed2a4dc0c5e2cab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:488-515 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:504-531 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:501-528 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:502-529 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:488\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cfe9085a1bf6bbd06550df95a3fcd02f73233d106f19501d4f26ae49bc44c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:465-491 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:505-531 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:465\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c485e29ceeb6d54dcb777bd040a7db8ce6450448ec90748952e726d4de3125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:628-653 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:688-713 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:628\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"b781c6998d41c54ae24ff5fbfcb6c230473c7d8b549b4f0045a48f89e3cd91bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:507-548 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:259-300 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"6636f5cf6c793859334c02476ba564ab1ee5329187da53fdb1f07bbd46e8b7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:144-170 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:224-250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:144\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060segmentStart\u0060 to \u0060Vector2 other) GetClosestPointSegmentLine(Vector2\u0060 in one and \u0060Vector2 other) GetClosestPointSegmentRay(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"07656b74777a748da9917d72a9a3db2a1287e1b0203c62960c850913156fd55c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 5): ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:319-344 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:612-637 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:641-666 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:670-695 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:698-723 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2d7966a973d6ae4eba9a1b7b37cb2a88e0f53ecc58b6f040ad9b7a9b6d34ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:301-326 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:339-364 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:378-404 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:421-443 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:301\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a40f19d58d1c40c5731c6c5510728af263412dab6f2a6acec8e47180a3450f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:580-604 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:332-356 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:580\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ec8a3a647a33bed7cc147484c8692e47ce8e0f1427557c72165b8d12a9503c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1416-1441 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1465-1490 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1416\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a61e49a58c28895e11ce90863d7e29afe191bcceff39d8a216d1f9278e0b59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:447-472 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:462-487 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:460-485 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:460-485 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:447\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c378f2a0667a3bda5cb024c0361674d798c32deea78f070d9b381edf53ee0c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:554-577 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:639-662 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:554\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"360d1c53f319678a2b653e30a0fd6f809e9a615e6e845aedd44ca59ea707361a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:599-622 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:691-714 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:599\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"326f8cb365e9a13233cdabf64a62cf80829c5d687cda52d6b7fd148a00a45ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:649-671 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:692-714 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:649\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fe441e7a3ac0f60fcbf4fb0ab57c833a2fb40434de612ee0d2899cbb32d2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1048-1072 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1172-1197 \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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7915bb0c7759d34aa18e5791b7080b9abdd91d94c9612504b1b278e545038a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleCollider.cs:48-73 | ShapeEngine/Geometry/TriangleDef/TriangleShape.cs:59-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/TriangleDef/TriangleShape.cs:59\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleCollider.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76277793a8499c49d858040dd2c6b6e7dda8e9a895f79adcf2613490792401f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:949-973 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1053-1078 \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":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c62bc956609386998faea04ae2747752cbfc24f00e96806c13d064d7ba493b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): ShapeEngine/Pathfinding/AStar.cs:218-243 | ShapeEngine/Pathfinding/AStar.cs:247-272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"56397659a6e5f2bd94dc0814394c254e52e13709dee6fbb7ba076ff3009c8207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): ResourcePacker/BinaryPackManager.cs:110-135 | ResourcePacker/BinaryPackManager.cs:234-259 \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 \u0060ResourcePacker/BinaryPackManager.cs:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"437a8411e71785a94f3118299557d2bf2d930e0a8ccea325edb69949be248074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 7): ShapeEngine/Content/ContentLoader.cs:553-575 | ShapeEngine/Content/ContentLoader.cs:596-618 | ShapeEngine/Content/ContentLoader.cs:639-661 | ShapeEngine/Content/ContentLoader.cs:682-704 | ShapeEngine/Content/ContentLoader.cs:725-747 | ShapeEngine/Content/ContentLoader.cs:768-790 | ShapeEngine/Content/ContentLoader.cs:811-833 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Content/ContentLoader.cs:553\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":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09ba81ace9aafb4e56af8893df80337307636be87c975cca12aed775a84fe70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 3): ShapeEngine/Text/TextFont.cs:617-640 | ShapeEngine/Text/TextFont.cs:645-669 | ShapeEngine/Text/TextFont.cs:843-867 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Text/TextFont.cs:617\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":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"12713d0d485970a7b5fa9b49c8816e454b5010065f425c9b3a4419aa7cc47bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:644-666 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:742-764 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:644\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8daaafe032454ddeb8332ccbac650b586e6cfe1f252771cc965552e9ec3545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:851-875 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:881-905 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:851\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"9201c24afbe4130599fbad0a5ba23fc3ae0378ef65111639d4ad00efa59cc8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1305-1324 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1535-1554 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1305\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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"845a4d30e252631cd7ba804b5ff6b08653c9b1fc7502f2ed037f6c02c4da5a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1073-1094 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1206-1227 \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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0652446011f9d93d4b204f5be948b0703982b29d472e73643695f064d9e29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleCollider.cs:81-105 | ShapeEngine/Geometry/TriangleDef/TriangleShape.cs:93-117 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/TriangleDef/TriangleShape.cs:93\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleCollider.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"50243c17fe99b3e14a58b83a57ae91052fbdce3d517f47e17c483ed45c5ce5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 8): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:417-440 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:373-396 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:49-72 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:32-55 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:749-772 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:313-336 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:396-419 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:676-699 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:417\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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"685614f3a656f58763c06734f97f6386d66df6de225efc628261e905db8f8efb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 8): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:541-563 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:576-598 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:611-633 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:646-668 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:681-703 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:716-738 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:751-773 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:786-808 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060shape\u0060 to \u0060Segment\u0060 in one and \u0060Triangle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba76465e207bff1578801c55dd50a3002a39e317464a0fdeca24fae57cd1a617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 6): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:45-68 | ShapeEngine/Geometry/LineDef/LineOverlap.cs:137-160 | ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs:155-178 | ShapeEngine/Geometry/RayDef/RayOverlap.cs:128-151 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:122-145 | ShapeEngine/Geometry/SegmentsDef/SegmentsOverlap.cs:115-138 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:45\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":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7091de8dc238da8ce9a01d8a9daba1864e85195a2a82a84d2a21f69d4f0083a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:152-175 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:134-155 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:134-155 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:134-155 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:152\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bfdfb3315ecb306d5ffe7c0aca3a1a61f6bd8a1c06996e7165a1e1b35c4c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:142-165 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:125-148 | ShapeEngine/Geometry/RectDef/RectOverlap.cs:147-170 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:184-207 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:142\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":"ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"258172b8d38f76af6896a92f41bca52cf6372c8113baf19e552c04447696c717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): ShapeEngine/Input/GamepadDevice.cs:534-557 | ShapeEngine/Input/KeyboardDevice.cs:351-374 | ShapeEngine/Input/MouseDevice.cs:383-405 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Input/GamepadDevice.cs:534\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c89bf6cc1dddf725c66585df2825501d03a188be066110362afd0d374e42f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:97-120 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:212-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:97\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18a7475a2d326aa3efb9d419ae9ec2756cd5831c2fdaa9ff9c3b18b29264fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1500-1520 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1316-1336 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1500\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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34b1977f38b35ce06f9682d29846128621f428383755f66e594f6474dad84e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): ShapeEngine/Text/TextFont.cs:522-544 | ShapeEngine/Text/TextFont.cs:575-597 | ShapeEngine/Text/TextFont.cs:683-705 | ShapeEngine/Text/TextFont.cs:711-733 | ShapeEngine/Text/TextFont.cs:888-910 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Text/TextFont.cs:522\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Text/TextFont.cs:710\u0060 calls \u0060GetEmphasis\u0060 and \u0060ShapeEngine/Text/TextFont.cs:573\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c866d5990ae9769621fa3f5a6d2d89ea3e2b32c2b1c2732cedc8925c82cdf43c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 3): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:54-76 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:99-120 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:138-159 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:138\u0060 calls \u0060Clear\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:54\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bd2d5c70e5b42b00b9281033bc96c08dc5d927d362e2ad67dca8a988a820a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): ShapeEngine/Core/GameWindow.cs:956-978 | ShapeEngine/Core/GameWindow.cs:995-1018 \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":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"91214bafe1efe68787864bd1776ea6e7b4614a9d52467507757c9f6bdbab78d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): ShapeEngine/Core/Logging/Logger.cs:129-151 | ShapeEngine/StaticLib/ShapeLogger.cs:169-190 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c709314e070a8fd0afc73aba52a8fdf91050e69c473dfcf21acbcc0845d183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201323 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:119-130 | ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:173-195 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060circleCenter\u0060 to \u0060IntersectionPoint b) IntersectCircleRay(Vector2\u0060 in one and \u0060IntersectionPoint b) IntersectCircleLine(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:170\u0060 calls \u0060Normalize\u0060 and \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:118\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"27304eff3199b580a2fd936ccc2ce6477fe335fcf373aa18937214d65d253c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1226-1246 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1456-1476 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1226\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4d211cf714f79b4e0b380aba6ea7f426192baa17bbf851f9f3ea3133bd1085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1263-1283 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1493-1513 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1263\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bf8cb88990309d59033fcbe8f22145c8f3aabf55234eb2f7e3615e7edbce18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:325-346 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:563-585 \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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cad13df1581a46b824d44e9ff883c413d79d52f231c132f2815c5469498a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1402-1421 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1225-1244 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1402\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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87ba5fe9e4d0343f9d61e5c63a5f48efd6ce0f6c49a21b77a0292c87dc33167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadMath.cs:485-507 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:156-178 \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":"ShapeEngine/Geometry/QuadDef/QuadMath.cs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"956b9011dda3abd87ab8c582329d6ddf591cfbccff5eece68a67407e3a2ed34a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:181-200 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:274-293 \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 \u0060ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:181\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060segmentStart\u0060 to \u0060Vector2 other) GetClosestPointSegmentLine(Vector2\u0060 in one and \u0060Vector2 other) GetClosestPointSegmentRay(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5187076b7b8dea8c451ccbaab063ccd68bad9419f72df1fd40a2d1646bc7e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:322-343 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:518-540 \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":"ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b640b54074cf2be62899bcbd9665a4e0753e1066c9c912f8063e0fe9f72f567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): ShapeEngine/StaticLib/ShapeFileManager.cs:1000-1021 | ShapeEngine/StaticLib/ShapeFileManager.cs:1167-1189 \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 \u0060ShapeEngine/StaticLib/ShapeFileManager.cs:1000\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfe00282c1e42b9f2219fd1be818a3a4e761b4c7c9b53d0ac296ef25e38f24b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ShapeEngine/Text/BitmapFont.cs:209-230 | ShapeEngine/Text/BitmapFont.cs:261-282 \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 \u0060ShapeEngine/Text/BitmapFont.cs:209\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":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"be30231cf8da3c52e55075b25b22d02f3c0c1835647c3a213ca780900ecb318c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ResourcePacker/TextPackManager.cs:219-240 | ResourcePacker/TextPackManager.cs:360-381 \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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"284992ac415ebc56857e35890e912aad9736ac134e48b17c8d7efc8dcee8563f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 8): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:176-196 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:212-232 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:248-268 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:284-304 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:320-340 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:356-376 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:392-412 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:428-448 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060shape\u0060 to \u0060Segment\u0060 in one and \u0060Triangle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5dc1c030fb5c681cd5e75bd26fba215f9baf2aaa517449061033347406e708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:370-391 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:392-413 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:414-434 \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":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b29e15a5d9bb0737884fb201e16c1759e529b8314a80416c636e5460cee8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:242-263 | ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:293-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Quad\u0060 in one and \u0060Rect\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51db515b173882803382e229a267b3cfd60b1693872f948cf1e7814ff6da5c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:469-490 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:222-242 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:469\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f3350a874715ebb8d526cbb91fd218c1efa556c964fe1ebce4ec1f04812607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:531-548 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:576-593 \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":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9317383b702ebc80c26099872071d57ce9d79b7f37d066452ff78d461d23a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:347-365 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:593-611 \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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f7de5fb1f799dde17752b4709c05bad9c6453c68977603dd9fd8c788ee6b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:257-275 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:303-324 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:257\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":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fee2aabb7419a4f559c2d3779376f0edd2a2783e804211d8c87694b8ad97deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:462-479 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:503-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. 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":"ShapeEngine/Geometry/RayDef/RayIntersectShape.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3e0645e4492de0ec5d0baf5a5ea68d862914d105b86d3f92ebde9e962fb708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:550-567 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:592-609 \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":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1ced2fe486ad670d787231199c91531cbc04c3f57d099412491270f6be2f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): ShapeEngine/StaticLib/ShapePhysics.cs:429-450 | ShapeEngine/StaticLib/ShapePhysics.cs:619-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 \u0060ShapeEngine/StaticLib/ShapePhysics.cs:429\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060position1\u0060 to \u0060Vector2 force2) CalculateAttraction(Vector2\u0060 in one and \u0060Vector2 force2) CalculateRepulsion(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"732908071d031faa30ed8a9b1ad4ac2e1c5b234c2f111c69bc4ec02d4e455714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 10): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:61-79 | ShapeEngine/Geometry/LineDef/LineOverlap.cs:153-171 | ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:158-176 | ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs:171-189 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:141-159 | ShapeEngine/Geometry/RayDef/RayOverlap.cs:144-162 | ShapeEngine/Geometry/RectDef/RectOverlap.cs:163-181 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:138-156 | ShapeEngine/Geometry/SegmentsDef/SegmentsOverlap.cs:131-149 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:200-218 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:167\u0060 calls \u0060OverlapShape\u0060, \u0060OverlapQuadLine\u0060, \u0060OverlapQuadRay\u0060 and \u0060ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:90\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"573d9bf6296b18e5d3a85f4d8c7608416a39015763d96de14a303e60cd58ef83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 9): ShapeEngine/Geometry/CollisionSystem/Collider.cs:951-969 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:993-1011 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1035-1053 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1077-1095 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1119-1137 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1161-1179 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1203-1221 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1245-1263 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1287-1305 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/Collider.cs:951\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":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed274058124a5d6534acacd17ef0a27b6b8c5e2809a7ff34118577637e22b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 8): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:195-212 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:245-262 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:295-312 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:345-362 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:823-840 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:902-919 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:981-998 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1060-1077 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:195\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060insideShape\u0060 to \u0060Circle\u0060 in one and \u0060Triangle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf572d054b31a9d5c3ff9aa090f08d80fd6d072a48efa997a5cc96f6be51be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1024-1043 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1140-1159 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:925-944 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1021-1040 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1024\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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"a313bbc8e04210659930588a063857a04284ae721ae696e2187de1ad46936e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:335-353 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:316-336 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:324-342 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:335\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ba3e1254350f3231106525a2c237bfc131cc8d44a86bfe4589819366ecd99f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): ResourcePacker/Program.cs:81-101 | ResourcePacker/Program.cs:110-130 | ResourcePacker/Program.cs:139-159 \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":"ResourcePacker/Program.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9f78dd4fa9da2e7ec4f325c9353e20138344cda7ee401fbb1469b55d2efc1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:424-442 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:177-195 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:424\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdb541f937d99241c5d0db8467a41c07aac3893915afba31ba3ca2b166c302b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:282-301 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:256-276 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:282\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a525e60056cdd54a9cc10d0ecd7102d8468fb5b12bc17791800988dd37bd5569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:31-49 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:30-48 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:31\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2976eadefed82dcbe75dc256c29b029917dc08e480ff225fb5e4779a286c8795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:556-574 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:715-733 \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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e75e93898a7cc404e56c988d85dce052370d5737394c1f707403da1de1c001d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:200-217 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:285-302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:200\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":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e358a5355a898a28b4c41d312bded8fbf843d1463f08ea849a99c8039c1c7f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:31-49 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:84-102 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:31\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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b5dc0b9285200771f9f3595c94b9609352b327dd29e2849abee27a27096e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1196-1213 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1426-1443 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1196\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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"db549156c3657a588a4ad255a06b5640e4368575b16e8cd9a3b0a883c8029955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:43-63 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:43-63 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:43\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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5141055afd08e1953556cdea0b886e23e583628084bc96c5a158adbd6ef9a607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:342-362 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:342-362 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:342\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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5879e85dbfcbf3bd98dde4c30963cf866b40f8d74aab6823da3306a12f5a41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:636-653 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:568-585 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:636\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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"be80056bd3c9382dcc99cbe323c1eaa4e1ad7f954557571afc098189ae29f231"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:794-811 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:724-741 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c223e7fab66b92a6be7c929564b33fa8b99dd81c064e1a7e3f6976b04648ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:841-858 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:765-782 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7305860bb8bb867682a9f40e4c088ecd86b4b5c2728b28fcde7e681e81f26d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:888-905 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:806-823 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc18857fd8dec6baded605ec6cfdfe91d35fc3bb8e4c9a1700798d12f82350c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): ShapeEngine/StaticLib/ShapePhysics.cs:567-587 | ShapeEngine/StaticLib/ShapePhysics.cs:755-774 \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":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19f2f672a209e3b81d086b747df1c9fbb2f57cdf4fbf3f6c63facbff5df09a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 9): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:433-451 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:389-407 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:65-83 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:48-66 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:765-783 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:329-347 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:44-62 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:412-430 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:692-710 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:433\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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e484d5935cb8deb519a5200e35f0c96c45ff7d267d54de891fe6f0ccba814632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:222-240 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:363-381 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:385-403 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:407-425 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:428-446 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bda77f32c9b6661939682222ba83a730e5ac5c9a43739e4fb5ed846b2c6f4c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:404-422 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:495-513 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:485-503 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:485-503 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69ecb93f4f635af8d72a4c2b3c5cfee9b67598d466b9fd6b4696cb7c4563d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): ShapeEngine/Core/Logging/Logger.cs:134-151 | ShapeEngine/StaticLib/ShapeLogger.cs:141-158 | ShapeEngine/StaticLib/ShapeLogger.cs:173-190 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Core/Logging/Logger.cs:134\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1d2298b257f0f9c5c540d32539e25526a600dde785530289c2bf09f411a484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): ResourcePacker/TextPackManager.cs:553-599 | ShapeEngine/Content/ContentPack.cs:2301-2347 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"337cda018232d57263d11225809e9837d3891eb755e00862346f4a89fd667350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): ShapeEngine/Core/GameDef/Game.cs:533-552 | ShapeEngine/Core/GameDef/Game.cs:553-570 \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 \u0060ShapeEngine/Core/GameDef/Game.cs:533\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb72c14484c711be64e9a24253bb673f1849aab6a97e8a0887302e8e756982a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201320 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:484-503 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:364-373 \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 \u0060ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:484\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":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb6a96e8d99c953e065c1b3cbe85cda7d3946cc2522ece33111102735f06a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1111-1130 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:931-949 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 456 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1111\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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6a28bcb9cedd2ffa29a4f3e6963f2e2dc2ef79fb9227dbbeb83dbec1c923db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1152-1171 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:966-984 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 456 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1152\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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"38524bb74416808e6070a26cb20cd38286dbb90a2f2a16df361d4dc8f120874d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:376-394 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:416-434 \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 \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:376\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":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"34499313f791481321f9d77fa41d8ae50f4d1707142a6bb598085c88ef78a531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:179-195 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:217-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b167e9220e574ceea83cb81bb545aa6903e48ede8b8085e1598cf9d8a3b2a946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/SegmentsDef/Segments.cs:400-406 | ShapeEngine/Geometry/SegmentsDef/Segments.cs:422-428 \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 \u0060ShapeEngine/Geometry/SegmentsDef/Segments.cs:400\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":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae64aa7e7206573e9e1261c058ea4dd5201798fcabef3cc9f4e2b189f1f9f424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1296-1315 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1321-1340 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1341-1359 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1296\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1293\u0060 calls \u0060Lerp\u0060, \u0060DrawQuad\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1341\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa09ba36815f94abf5f29bc8ff068b7778c0753174092dadef3771d0ec36753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): ShapeEngine/Pathfinding/AStar.cs:118-137 | ShapeEngine/Pathfinding/AStar.cs:259-276 \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 \u0060ShapeEngine/Pathfinding/AStar.cs:118\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"803f1cba66bfce45223d7c84ae7ac49cef5bfed05fd5c22f2160085ef7e82c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): ShapeEngine/StaticLib/ShapePhysics.cs:474-494 | ShapeEngine/StaticLib/ShapePhysics.cs:664-683 \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":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3181f705a6ddd35d4f70b636ee0555f3f2eef3297c6ea750b4434609bc3625d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 9): ShapeEngine/Geometry/CollisionSystem/Collider.cs:402-418 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:427-443 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:452-468 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:477-493 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:502-518 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:527-543 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:552-568 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:577-593 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:602-618 \u2014 all 9 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060shape\u0060 to \u0060Segment\u0060 in one and \u0060Circle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"474f4a10fce39da4327eeba0269485a725e02a2491dfa105a1fb2742e3090258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:204-217 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:245-258 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:223-236 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:271-284 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58d59310bf0f452039506cd646be24685d23b80ccbb756e0b1f79e72cc0bd51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1236-1250 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1273-1287 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1466-1480 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1503-1517 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1236\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69f6a1d707fcb6f46ae40de0c1096cd9de9844a67d0577149360b1f3330422c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:304-321 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:535-552 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:301-318 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:490-507 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:304\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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd7bfe0205d7fc6b9d9b3aadc80c2df8ee2a9bfcf1be72e28e4d06630874ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1006-1021 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1114-1129 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:907-922 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:995-1010 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"817149f5f50858bfdc9dbca6c6dfbfa7f1a7fa77fd13e785118463bfd65bd035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:388-405 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:377-394 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:376-393 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:388\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"52901ff86efc78b550010102dc1d3928123a2c55c5cbc5401bbf7cf5b791b94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1408-1421 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1457-1470 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1231-1244 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"371e2c99e63cc2dce48ef005047835a00050521940262731363e21418f15954f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Content/ContentLoader.cs:908-926 | ShapeEngine/Content/ContentLoader.cs:958-976 \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 \u0060ShapeEngine/Content/ContentLoader.cs:908\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95e2a433e3fc1904250a2faa92a71b12e2f2e207beee46b8ffc4f4c44398917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Content/ContentPack.cs:559-576 | ShapeEngine/Content/ContentPack.cs:1050-1067 \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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c86fd1f656a554504655c05ca9245b2a7b92fdbc248618cee0e2ff6b7820694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:170-188 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:481-499 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:170\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060circleCenter\u0060 to \u0060IntersectionPoint b) IntersectCircleLine(Vector2\u0060 in one and \u0060Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aae9be6f02ef79390bd44c8c483aa375c72a6bab40ef3ca8989ea33d3fde46f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:323-340 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:502-519 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b28c38ecc387ddd8e5c71f9ded5741fdcba9cdcb874b9154faa1203b02b3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201319 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:203-221 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:109-120 \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 \u0060ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:203\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060linePoint\u0060 to \u0060float t) IntersectLineRayInfo(Vector2\u0060 in one and \u0060Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4226d1320460305c20266830084be9a1f45a18b027a02eafa233cd71a38b8da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201319 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:419-437 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:267-278 \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 \u0060ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:419\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b66f6635a895fe17e49ab94f831c384b3cee80a2b223608c49651d2d1644f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:308-324 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:365-381 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:308\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d540274947e88516817cf6ff798f961c91f3aabb0c834f8a2e88622bddcb9252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:299-333 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:330-364 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:299\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4029db5082a80f380b189c5038b71b70e4866fcb8d7f4ad59147b3eccf488e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:751-783 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:853-885 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:751\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2900d1a01b25ef26ac66419d425ca73be628bec2bad36dbad248420d582e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:382-400 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:381-399 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:382\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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d85e39eaf5dea877a68ef37f57ce4b4c84db2b8769b000ff366186df0e7ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:422-440 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:421-439 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:422\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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"94712322f0cabfaa5e9d0f4d94f6b409273257d9d9982cfed83316d180ef664a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Serialization/XmlClassSerializer.cs:147-164 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:168-185 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlDataObjectSerializer.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d77f8f1fefdd255e0872a71b1b916f3536674ad1a3c9b4d9ee023f69345f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): ShapeEngine/Text/BitmapFont.cs:313-345 | ShapeEngine/Text/BitmapFont.cs:378-410 \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 \u0060ShapeEngine/Text/BitmapFont.cs:313\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":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f855bfe90c64a25cacffe72c3537428a7b1a82d9b47f0acaa8459098253dc50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): ShapeEngine/Pathfinding/Pathfinder.cs:1100-1115 | ShapeEngine/Pathfinding/Pathfinder.cs:1119-1134 | ShapeEngine/Pathfinding/Pathfinder.cs:1138-1153 | ShapeEngine/Pathfinding/Pathfinder.cs:1157-1172 | ShapeEngine/Pathfinding/Pathfinder.cs:1192-1207 | ShapeEngine/Pathfinding/Pathfinder.cs:1211-1226 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Pathfinding/Pathfinder.cs:1100\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Pathfinding/Pathfinder.cs:1118\u0060 calls \u0060GetBoundingBox\u0060 and \u0060ShapeEngine/Pathfinding/Pathfinder.cs:1175\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab65f11617f7ccd9407bf521017a54f7842d51d29cc26bda1ecc9d6a1c20719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:195-200 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:245-250 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:295-300 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:345-350 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:396-401 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:195\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"22367878d41b2a7639f4e3276d9bd1a747e65718b415834e2a1955a008df39ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:428-444 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:418-434 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:416-433 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:428\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01394abea465cb0689db40510a5bbd498f06256ec3c65988c4bf213fb94bec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:467-483 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:457-473 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:456-473 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:467\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5184e48f910dbcd8c33923e0ec239056a7772960c0dffdf6126f450c6783e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1041-1057 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:1027-1043 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:865-881 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"3248c257901498787a4fd3d0f6d4a741969cac3e088340135fc9de6dbd36a137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): ShapeEngine/Serialization/XmlClassSerializer.cs:148-164 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:169-185 | ShapeEngine/Serialization/XmlStructSerializer.cs:148-164 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlDataObjectSerializer.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Serialization/XmlClassSerializer.cs:148\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3902c2869c60faf1daec5e1233656d47976fe6701c7d8f255c3935d845f73b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs:497-514 | ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs:561-578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionInformation.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"74003f014838db3ef0b965a87ea726afe0b2fe9228216d5e0d072851897c222a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:401-418 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:475-492 \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 \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:401\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":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6af2a49f7ff1b58f25c9e01053d20d05f01edc4281a07276e561a2718e238d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:619-635 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:371-387 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:619\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":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"130393bcdb685a5a3338f51457ae05539e679ca5827c5112ce378eddb4361dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:200-215 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:236-251 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:200\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d2892c5446e3907a451f5a4d04a8d74383f516cf175f5a32d49233315e190d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:236-251 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:279-294 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:236\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7329d0885affa4293f400db57ca471a5099483ce77c6d428ca6632545b60e6dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:272-287 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:322-337 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:272\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96b0bf8f4e5c74686e94415c1fb657de63404beeaae74cf462bd452623f4a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:242-259 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:267-283 \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 \u0060ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:242\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eca840d80eed8e1d04ca4b8323fb9b9fdd86868763a6551c80bcbad97225e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1013-1030 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1187-1204 \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 \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1013\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7864ed04225fe4bdee09737c2675e0ea34c36ca7bc5d3147cd88c56a72ec14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1047-1064 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1220-1237 \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 \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1047\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b317eb74f9278e00c4bdbb2b7a59978676db4a4b38cc6168a9b40de16263a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1081-1098 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1253-1270 \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 \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1081\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"835cf3308a2dc068a56671f3ccf985fd3d8129dbb793ba50ee31cadbb0cb1c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): ShapeEngine/StaticLib/ShapeFileManager.cs:191-207 | ShapeEngine/StaticLib/ShapeFileManager.cs:221-238 \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 \u0060ShapeEngine/StaticLib/ShapeFileManager.cs:221\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b243ecee41fa9e00622db7dc0b2a5e69ab88981f1e7d17b884d2564f8b97e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 9): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:51-66 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:51-66 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:122-137 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:174-189 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:52-67 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:51-66 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:51-66 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:194-209 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:51-66 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:80\u0060 calls \u0060Normalize\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:80\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bbfe8bedc278a9ff48242c055098b3c56064cff9c37ff14b6a8be6a055a30d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 9): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:386-402 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:526-542 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:708-724 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:383-399 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:521-537 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:701-717 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:343-359 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:452-467 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:591-606 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:386\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Triangle\u0060 in one and \u0060Quad\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce80fb45b58780d448ac769b73767bbcb876b554188a6049f3a0bb8250fe5dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:731-747 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:787-803 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:843-859 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:899-915 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:955-971 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:1011-1027 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:1067-1083 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:1123-1139 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:731\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dc24954bd960fb390a86eb945e1e4da6518503f05a4753ed94bc163773003e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 6): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:1021-1037 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:321-337 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:347-362 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:2132-2148 | ShapeEngine/Geometry/RectDef/RectDrawing.cs:726-742 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:898-914 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"425a026b11f87200c7c859744d67d86e5a5507dbde045b22f1201b1bc5e23cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:95-110 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:99-114 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:99-114 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:99-114 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:95\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ab9b18dbc95d715553f3b5fc57430a57a0dfe32acb767a7c46ae91a2206154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:34-44 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:37-47 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:37-47 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:37-47 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ded9c5ae2bdd38e88a437467b57ea2a063f77862bc3ee5ffd2799770079373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:288-301 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:512-525 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:285-298 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:467-480 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5163e900caba99ab4b788dbbab43d9ded79f31189ddf6d47fc49a1ac7022dc35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:409-425 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:310-321 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:331-344 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. 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":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7031a9ab12edc4ced41e95108c6a127291c9cbeab1434bbb0f520cec9ed02a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:72-87 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:134-149 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:158-173 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:72\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1236896b14195cf96a9a5168c111b3ef8842d79e3df1caaca893cb037667199d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:639-655 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:682-698 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:571-587 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:639\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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02977aced29fb29e6417dbcc8d57bfb19c46546f2a533c967dd64292e0f4e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/Collider.cs:888-902 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:912-926 \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 \u0060ShapeEngine/Geometry/CollisionSystem/Collider.cs:888\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Collider\u0060 in one and \u0060IShape\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe3c4ef82b7eb40dc873c98616bc047adf59d0d8d6770984d1bf0282e14ae35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/Collider.cs:1337-1351 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1361-1375 \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 \u0060ShapeEngine/Geometry/CollisionSystem/Collider.cs:1337\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9612ea415ecd7435b0ca9b1f7be5665287898b6badf525b8715d207818fe90b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:193-209 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:156-167 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0388bef845fa867477749a18c01fc3b3938cfea88bb285f0d757334fbb141a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:164-180 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:193-209 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:164\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefeebd04402e21e601487a0e8a33bdfddd977879bcac02d8ddc645f8c9ee0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:174-190 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:881-897 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:174\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3288e739521da50af07f224c01eda1c52663d452a79ce4d1d52da5ba2a41ce15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:224-240 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:802-818 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:224\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3402e4a2c6087595e30542e3bf85acd05830aa98f683e91530f7b30b933842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1167-1182 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1398-1413 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1167\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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"642d34e28e48a36ebd5bf6fda4bb0b2ed4c8e678d53cf62bc73514debf5bd909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:132-145 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:138-151 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11747c255549e555ecd3a50cf0776304a1bbfd99f173e90454027882862fb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:170-183 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:174-187 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e983bae852f6d468c0dac825952e3ee600c44116f83f4f31fd87d7ca4ea81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:208-221 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:210-223 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a47a4a39f7db5fcb568babeeb0b3d8f3193665d55fd6a4026bb3fb0ac003f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadMath.cs:71-86 | ShapeEngine/Geometry/RectDef/RectMath.cs:174-189 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadMath.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6464c4053dc081dd871e61c62707fa7af5fc66c52cc958d44ce8234c8c17fd8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:324-340 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:443-457 \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 \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:324\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":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98bd13e110baa568fbf2bc03cf0f14f3c81254d8e5b98a66a2afc714aeb8082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:563-579 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:702-718 \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 \u0060ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:563\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Quad\u0060 in one and \u0060Rect\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2c98d4d65712ee59bb21064ca5c8e6ecd1dd64c030cde877818ce1e9d19523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): ShapeEngine/Input/KeyboardDevice.cs:389-405 | ShapeEngine/Input/MouseDevice.cs:417-432 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Input/KeyboardDevice.cs:389\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/KeyboardDevice.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"8379c8682cc9e9c77e969ff7f9e2a5b796bab9ea75c64b47658e0191a68c16bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ShapeEngine/StaticLib/ShapePhysics.cs:520-534 | ShapeEngine/StaticLib/ShapePhysics.cs:709-723 \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 \u0060ShapeEngine/StaticLib/ShapePhysics.cs:520\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":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25b5b06bac85b444d2b5c4673d6baa0938903a3418806aa5860d46ae85cd08f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 16): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:627-641 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:767-781 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:891-905 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1015-1029 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:643-657 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:782-796 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:907-921 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1032-1046 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:638-652 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:763-777 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:887-901 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1011-1025 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:642-656 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:767-781 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:892-906 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1017-1031 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:627\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"196b77b893778a3a211d9429d7534f1b13045a2514086df2e77086f99bc08384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 6): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:335-349 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:387-401 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:316-331 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:376-390 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:324-338 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:375-389 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:335\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Quad\u0060 in one and \u0060Rect\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bb40a83d9acf234ed2161ab9ff268a46b0dc4c5e977ffc61b21978a890878a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:131-145 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:155-170 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:136-150 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:136-150 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:136-150 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ef854a94271a2074d9ecd3af1e13cfaa9d11e7faa0c8d6b8a91144592e0b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201316 lines \u00D7 6): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:936-951 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:966-981 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:251-266 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:267-276 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:281-296 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:848-863 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:267\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:951\u0060 calls \u0060IntersectSegmentCircle\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:276\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a220832dea76c2b28737b24ead7efdceb2d2d9193175523eaa6c3d68b84f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:410-414 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:432-436 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:390-394 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:412-416 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5387bd5400317e7eb1697c0a4de071574c87b0ec045395fa9b2aa03eef44f49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:358-372 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:408-422 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:458-472 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:508-522 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:358\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":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a15adf12b0d7c5641ce95777ba78afd955310dde5156000bdd8535fef42aa55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:267-282 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:312-326 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:364-378 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:267\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Triangle\u0060 in one and \u0060Quad\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c13a822dec8f843c4e40537d98ea7b6778d8cd9d11a7dff9d5b868d9edd3bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:613-627 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:667-682 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:725-740 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:613\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2e8f75707773cbfb423ef2f56dc89dbb82d87c120cced0432bb16f211ee6d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1093-1104 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1108-1119 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1127-1142 \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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8ba599dfa43ff5c3253b581bf7e22f5d564d4815fc1e17fe1654feba5b43c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:982-996 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:297-311 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:879-893 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:982\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"413d4078f19b2ba8e1d4d17f5f883385afe6034d14e7b3067805a06cb8891cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): ShapeEngine/StaticLib/ShapePhysics.cs:432-448 | ShapeEngine/StaticLib/ShapePhysics.cs:622-637 | ShapeEngine/StaticLib/ShapePhysics.cs:914-930 \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. 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":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"285dda7d2cc49ef973a20651e237971f56eb2788225b77d78cfd9b34bdc8963a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Content/ContentManager.cs:275-288 | ShapeEngine/Content/ContentManager.cs:329-342 \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 \u0060ShapeEngine/Content/ContentManager.cs:275\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":"ShapeEngine/Content/ContentManager.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"654686710d85800811e5cea3a6561aabb60bbdd0eb6abdf1e8ea042c656bf4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:763-775 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:779-791 \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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d7a27200f839ada7a2958b09e4861191920819c3d0ae82eea6c55e0d52c670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:234-245 | ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:265-276 \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 \u0060ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:234\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":"ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b3bd4a7cf02a87aeef08a43350b1849ac46bb8c89752c5838e7bd1449eb316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs:446-459 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs:650-665 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs:446\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b803880bab89ac327a9f72291a1359666157bf7f404ec72a4239bdad535370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:471-486 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:510-524 \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 \u0060ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs:471\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":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerCastSpace.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"47947bd8b63bf6ede410723efdc137493eff681395a80ba8f29e43ccd20f47e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:254-269 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:331-346 \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 \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:254\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":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaa8830e712f15a3c22155317276b050e5df772b960892666d86d9ad441ba6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:345-360 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:384-399 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:345\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"58614bbb26dcdda68709f75a91a12b35ee75c9da78ae3591086002478df5c304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:372-387 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:419-434 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:372\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff5f8b3afb2dd2619270e41021b4995453c37eea82bf9ebc07820c1b1475103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:402-417 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:454-469 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:402\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77dfd3757dc50500918510f7c8acdc6eb7f18f03a2c2369412a57649d88d2bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:214-226 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:311-323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:214\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":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c579be740edfc88e6facda592549ac369b2d226b64550199cbe0336509fca2f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1226-1231 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1263-1268 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1226\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69160e74c3a8dab70c95f8a272f9d706bc685a3906f14fd06bbe1100ac9aa07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1456-1461 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1493-1498 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1456\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a592d7c10e1ffae7bd4ebbecdedbd0e19eccdb5df380ded963f51e7eb4853bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:226-240 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:340-355 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:226\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":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2aeaaa7b1db868926046e8c59a196af0e8ba8822139555470ed7c34732b743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:208-221 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:289-302 \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 \u0060ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:208\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:222\u0060 calls \u0060Normalize\u0060 and \u0060ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:303\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"243660879b4831dd1eeed562d9bb678545a6fda5065896a4536ed499d5817f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:354-369 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:605-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 \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:354\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":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8846d3bafa5c8bf63275a7b49148e76e63f50fc4034079e367075e54ca28d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): ShapeEngine/Pathfinding/AStar.cs:39-54 | ShapeEngine/Pathfinding/AStar.cs:184-197 \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 \u0060ShapeEngine/Pathfinding/AStar.cs:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Pathfinding/AStar.cs:198\u0060 calls \u0060ThrowIfCancellationRequested\u0060 and \u0060ShapeEngine/Pathfinding/AStar.cs:55\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e61e7c16332776702f6ba59a757fc7178980d433e3ba672f1b31c1964c7c803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Screen/ScreenTexture.cs:419-432 | ShapeEngine/Screen/ScreenTexture.cs:449-462 \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":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a068791620c2063316c0917d458efc44f711ffaf0e757a61c3ae41a6d85524ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): ShapeEngine/UI/ControlNode.cs:844-858 | ShapeEngine/UI/RectNode.cs:569-584 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed361e4ad77458e2dc0bba515e6aadea003a0ef3627a046a4fa918f3fd04f563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ResourcePacker/BinaryPackManager.cs:64-77 | ResourcePacker/TextPackManager.cs:60-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ResourcePacker/BinaryPackManager.cs:64\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":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb85958e8d848ba839f5ddf31b218c48f46a207fada484c4ef5a5dd7dae310d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 11): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:446-459 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:524-537 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:554-567 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:708-721 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:812-825 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:1193-1206 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:514-527 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:1176-1189 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:554-567 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:749-762 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:998-1011 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"695558e0a44feac56cc883ab24482031a1c128bbae3b84bfd7cbd145449e11c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 11): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:223-236 | ShapeEngine/Geometry/LineDef/LineOverlap.cs:251-264 | ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:332-345 | ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs:290-303 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:346-359 | ShapeEngine/Geometry/RayDef/RayOverlap.cs:232-245 | ShapeEngine/Geometry/RectDef/RectOverlap.cs:336-349 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:329-342 | ShapeEngine/Geometry/SegmentsDef/SegmentsOverlap.cs:251-264 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:426-439 | ShapeEngine/Geometry/TriangulationDef/TriangulationOverlap.cs:445-458 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 11 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 11 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51b2b762798790d2a4f06fbe3faab1aba95064b054dc2e5ec94bacdc233e070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:391-404 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:778-791 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:407-420 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:446-459 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:725-738 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:691-704 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:846-859 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:784-797 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:312-325 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:648-661 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa707e1713531b2397ce6f4d60b89ab674a0c28e69460a9b5a218e78ef21f433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 9): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:27-40 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:27-40 | ShapeEngine/Geometry/PointsDef/PointsClosestPoint.cs:98-111 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:150-163 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:28-41 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:27-40 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:27-40 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:170-183 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:27-40 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea758caffec6d8829f910139773ba3c8c81888873d043954eaa3c5670fda4249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 9): ShapeEngine/Geometry/CollisionSystem/Collider.cs:935-948 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:977-990 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1019-1032 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1061-1074 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1103-1116 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1145-1158 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1187-1200 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1229-1242 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1271-1284 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/Collider.cs:935\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":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc13d47c5423670a58e676468bb49b736a02aba95e48640a85fb5feea0b7242d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 8): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:626-640 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:641-655 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:656-665 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:686-700 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:701-715 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:716-730 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:731-740 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:795-809 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:656\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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57ba8b8c4d5fc7ba6ddb94d967c19a6505af3da1147d8c2ddad16f31ef20d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:268-282 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:474-490 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:497-512 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:519-534 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:541-555 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:563-577 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e6c2eedbebd7197659ecadd7fc174cc3f15a5c0b2b300863997f18fa9b9d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:223-236 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:269-282 | ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:316-329 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:228-241 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:272-285 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:317-330 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:223\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Line\u0060 in one and \u0060Ray\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd24791ff0fb910d1a9351a93a3a2c61d4a4ad6ed96a9701e60418750ce8e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:890-903 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1507-1520 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:808-821 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1323-1336 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf18275dee23df99eb493137d844557570eee5237272550d200b70b9d18ea29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1287-1302 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1304-1318 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1139-1154 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1156-1170 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"847b3391c93503cae5d64358f36996bd94f60e19983f9003b3bfb4696f8db224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:186-197 | ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:228-239 | ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:279-290 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Triangle\u0060 in one and \u0060Quad\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"57163d35ecece30bdbfcc5e4072cb075de2564a256ad7aed2d61a3e8da7cdb92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:200-211 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:205-216 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:185-196 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dd9241b0615899311e5b2405e3df490cd102632951e12b1611caaac09a2fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:246-259 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:249-262 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:224-238 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:246\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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f821fb44be3c7f9614b7d81a909a92d90bcc233dcf03e07c0787ce1734070d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:293-304 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:294-305 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:265-276 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4bf730931cc3d5906d3c1f724ef54e9f9b17ac929f51926a12c74b18b6cfca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:339-353 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:338-352 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:304-317 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:339\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":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"114cfc59156a520594baf74a52861bab72bfd44b1d4e836a9254c2dd3416d269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:95-106 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:210-221 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:212-223 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 36 separate duplicated blocks between them, totalling at least 788 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcee981a3b1f5b12dd6cbd8864ae0e619b21a082be5e3335d49e59d993001c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:341-354 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:366-379 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:391-404 \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. 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":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"632da944859d618c004e281b7043e608ef351d402f116429ed4cce78a03b0ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201315 lines \u00D7 4): ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:465-479 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:498-512 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:531-545 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:567-574 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:567\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:465\u0060 calls \u0060IntersectSegmentSegment\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:567\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d59ce2acf3b6c2b7ee437dad1989031f722ebfb54c9b5a864d5c39fab31a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:199-212 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:239-252 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:279-292 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:199\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Line\u0060 in one and \u0060Ray\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c884dc0946d6a11ffe68097f247ba37e6424a6465cd2999e153e514c7681ec39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:148-159 | ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:178-189 \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 \u0060ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:148\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":"ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"17434bb2fd902dc755bc341d11e12ca5eca6985a03253c99b62275a1ad52ddd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:339-349 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:873-883 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:339\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66eabe620748b9bd856bd81fd4beb503782e02877789f8f465d69024e145f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:564-577 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:316-329 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:564\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":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"33239bc6cea04d72a9bd0cf35ae7ffacc3c2136ffa8fe1acd1d1dde9b96ebbf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): ShapeEngine/Geometry/CustomDrawing.cs:234-247 | ShapeEngine/Geometry/CustomDrawing.cs:269-283 \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 \u0060ShapeEngine/Geometry/CustomDrawing.cs:234\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":"ShapeEngine/Geometry/CustomDrawing.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f222030e66755ec6cd213f1149ed45ebccfaff8d084fcc31b69157a424743b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/IShape.cs:89-102 | ShapeEngine/Geometry/Shape.cs:189-202 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/IShape.cs\u0060 and \u0060ShapeEngine/Geometry/Shape.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/IShape.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"217a83e6ab7b0c754636e9724a07d84d5a1f079d8a8a52896ab59bc15d6924c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/IShape.cs:112-125 | ShapeEngine/Geometry/Shape.cs:212-225 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/IShape.cs\u0060 and \u0060ShapeEngine/Geometry/Shape.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/IShape.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a516cf5e4e2275e333aad2612acdd0471659a453d41e69b515a96b8563129a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/IShape.cs:135-148 | ShapeEngine/Geometry/Shape.cs:235-248 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/IShape.cs\u0060 and \u0060ShapeEngine/Geometry/Shape.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/IShape.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"202bfbcb6db47f3a0908720c8b0ad2d3abc1a3d855a94080e428125ad37d7ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/IShape.cs:158-171 | ShapeEngine/Geometry/Shape.cs:258-271 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/IShape.cs\u0060 and \u0060ShapeEngine/Geometry/Shape.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/IShape.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4a798ef085033b5ede84e0913c79225ee17f74a28b5001c5437d21fb1764d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:464-476 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:594-606 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:464\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":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9dfc8155e59193b14525d5548b7489d9189659f1f63d7a2633be9577783622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:20-33 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:62-75 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"313c5f8ed21bb8295e7cc3c3273ec8b6db21ba775189e43b61098a0e00670456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): ShapeEngine/StaticLib/ShapePhysics.cs:985-995 | ShapeEngine/StaticLib/ShapePhysics.cs:1023-1033 | ShapeEngine/StaticLib/ShapePhysics.cs:1133-1143 | ShapeEngine/StaticLib/ShapePhysics.cs:1209-1219 | ShapeEngine/StaticLib/ShapePhysics.cs:1287-1297 | ShapeEngine/StaticLib/ShapePhysics.cs:1368-1378 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/StaticLib/ShapePhysics.cs:985\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/StaticLib/ShapePhysics.cs:1300\u0060 calls \u0060distanceFactorAdjustor\u0060 and \u0060ShapeEngine/StaticLib/ShapePhysics.cs:1146\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52145a431500b769aaf0b1500074856c9cd8032e230382bdff984c10dc1a244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): ShapeEngine/StaticLib/ShapePhysics.cs:1056-1066 | ShapeEngine/StaticLib/ShapePhysics.cs:1095-1105 | ShapeEngine/StaticLib/ShapePhysics.cs:1168-1178 | ShapeEngine/StaticLib/ShapePhysics.cs:1246-1256 | ShapeEngine/StaticLib/ShapePhysics.cs:1325-1335 | ShapeEngine/StaticLib/ShapePhysics.cs:1408-1418 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/StaticLib/ShapePhysics.cs:1056\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/StaticLib/ShapePhysics.cs:1338\u0060 calls \u0060distanceFactorAdjustor\u0060 and \u0060ShapeEngine/StaticLib/ShapePhysics.cs:1182\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd89a76ffb83d39bfde795ed37fbec32f0af3b54ce0018e7e713c5612a3b030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:606-618 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:790-803 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:621-634 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:617-629 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:620-633 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:606\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eda9ac2f59606a5d33113c9868afd93156daaf5daab68f9021d14970fcb6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:746-758 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:869-882 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:760-773 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:742-754 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:745-758 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:746\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a2b27da86418d663a7c035201dd821ef2bc4b08cc227483c25da84e1bd4eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:870-882 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:948-961 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:885-898 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:866-878 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:870-883 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:870\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3bd56efd6680c5527b3ca0a17073cec57c30cb34f5a45b4151a859c154e0fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:994-1006 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1027-1040 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1010-1023 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:990-1002 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:995-1008 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:994\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"260c8c9d53dda235d9d3a057fcfd49f8eb3c578c046cee18e61735a691af2bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1118-1131 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1106-1119 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1135-1148 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1114-1126 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1120-1133 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1118\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e14e11092ed93f91462fa184682527075848a2e652df649135f875897d6413c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:208-221 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:258-271 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:308-321 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:358-371 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:413-426 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:208\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a38e5e88bba7c5ae24e32ee673256118580a446d7c58e4854ad68d0e796b3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs:76-88 | ShapeEngine/Geometry/PolygonDef/PolygonShape.cs:77-89 | ShapeEngine/Geometry/PolylineDef/PolylineCollider.cs:61-73 | ShapeEngine/Geometry/PolylineDef/PolylineShape.cs:57-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"543a048e8aea920366f9ed4a0c18ea9ae3d117e859dc2288f96fb2aa92974ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:47-59 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:345-358 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:385-398 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:425-438 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:46\u0060 calls \u0060Clear\u0060, \u0060EnsureCapacity\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:345\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"80471ce5d84d768328384b7215a8c453a90ffd23b474e17fe53a5305fbcc6456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:382-394 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:422-434 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:381-393 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:421-433 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:382\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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"596522438271b6d8821450f989e6877dd654629207bee106cb395c3348c701bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:47-59 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:345-358 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:384-397 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:424-437 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:46\u0060 calls \u0060Clear\u0060, \u0060EnsureCapacity\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:345\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b317767ce20613a9a5da977e4b3ded73a6471024607e3b1e8ba81ed03e9571c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:335-346 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:360-371 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:385-396 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:409-420 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:335\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b513d62debe33f59e250789cd20f1a186f665a9d3785a5c304f89349144403a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:452-463 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:485-496 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:518-529 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:550-561 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:452\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"318c536a757921bd747838524c6cb9b0152d4142ddc54ea99ad391d1f00a8b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): ShapeEngine/Pathfinding/AStar.cs:77-90 | ShapeEngine/Pathfinding/AStar.cs:110-123 | ShapeEngine/Pathfinding/AStar.cs:222-235 | ShapeEngine/Pathfinding/AStar.cs:251-264 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Pathfinding/AStar.cs:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"388cade033be9945124dc9bd3f7b9d6e2dd64e3ea80f7b37bac6035a0ef236d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ShapeEngine/Content/ContentPack.cs:563-574 | ShapeEngine/Content/ContentPack.cs:939-950 | ShapeEngine/Content/ContentPack.cs:1054-1065 \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. 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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"e840cc29312a2fe6d78e8d7190a07611b19a48e6d24a11500612a3ee476132c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:763-775 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:779-791 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:795-807 \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. 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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f224272ab6f71580b871a23ed880268762ab8d011bde2e8edf2381760383de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:221-234 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:278-291 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:339-352 \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. 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":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5460ee1edf06b24cfa333ffae1ce4bb903c6367538a74b1a9275d729748f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:338-351 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:400-413 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:473-486 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:338\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Triangle\u0060 in one and \u0060Quad\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f0360d6aa034d04fd73424ff66b8cd7b177f8aaec5a994df4940089919b9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:653-666 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:699-712 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:745-759 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:653\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"595c78bc8941aff46023712021dfd0fac2c56eb9163907c09e940e1da184fc5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Audio/AudioDevice.cs:517-528 | ShapeEngine/Audio/AudioDevice.cs:547-558 \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":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b959ee5cafd4d285c135e893132169b4e2e180525576ae6f7134fd33eee36bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ResourcePacker/BinaryPackManager.cs:316-327 | ShapeEngine/Content/ContentPack.cs:476-487 \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 \u0060ResourcePacker/BinaryPackManager.cs:316\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d708bd887529dcf15f1afd30c4428b93e6adfc9ec83bbe12e9b09ad0ed2244f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ResourcePacker/BinaryPackManager.cs:390-403 | ShapeEngine/Content/ContentPack.cs:536-549 \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 \u0060ResourcePacker/BinaryPackManager.cs:390\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":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce07af28daba8bf35c2c164fcc225b219732c0a8b2b8d9b65a85d11a8180d476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Core/Logging/Logger.cs:351-362 | ShapeEngine/StaticLib/ShapeLogger.cs:429-440 \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 \u0060ShapeEngine/Core/Logging/Logger.cs:351\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"8125c30e4ba5b43899796759a056c08553b090e8534318a96821b6f9215ad265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:930-943 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:947-959 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:930\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":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a14dff7847616eb001012353786620f04bd91bc2e33774026ec399530b4ba0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:264-277 | ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs:280-292 \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":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8549ae4f9ed7d4b1e852c721b9033c6ff7204d5c48613fadb28682415e33ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:245-257 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:394-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:245\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0cf9051f4b58c1f5ff45b71e84695a32ec7a8d8da90f3b597e688888026d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:367-376 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:901-910 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:367\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5386286c23810b8a7cde6288a93d54ed256c9b5997af5b0b0c2eb41b5c1fb732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:244-256 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:213-226 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:244\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"104f1de6992e641cefea3ff57e5e6800a0a04c05c6323a938094c2ecfae3a8a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:58-68 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:130-140 \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":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9206492a1e65929a3f9dadca7cfa23a3330b677a0f657cecd18fd45bb4fdb98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:107-118 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:126-137 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:107\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e81817a5bede09c9d5a96c8444dcd0f57ff4095b6e56e52e33403d0064d2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:686-697 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:790-801 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:686\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5105a77376d22240563b117beccdf91742ca570774f81d9ad2e9017765fd21a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:446-458 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:496-509 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:446\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:510\u0060 calls \u0060DrawTriangle\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:459\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f14ad6926b31d1294db9d8a0938500e2831a780ed2426c8e3341de5f8834a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:274-287 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1039-1052 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:274\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3669e6684be82743b14ca4a20accd0a43e0189ed137621c446f6f94490c89dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:324-337 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:960-973 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:324\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06638b3ffa24c7bfd1d1909ad4feb502c24fd556a71239dfea1138883180184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:404-417 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1148-1161 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:404\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5eb5c8a74ce348ad7d10dee3183f492182f7b28dbb53698c58bf0eed3731e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:465-478 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:608-621 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:465\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fca4738ffaf2a12bdf370e1cdbf2ecccd4a8987acab8d5a9b38d2cf0470161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:378-390 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:377-390 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 50 separate duplicated blocks between them, totalling at least 1075 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"709b0b5638608dcc90ba8569f4841bd0e580e1d1f40a09ab6d1d9545a9172559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:418-430 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:417-430 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 50 separate duplicated blocks between them, totalling at least 1075 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a2adfce3e96887fed0710e90425ceddd97e9e6a076eb081c0e0e41187c9fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:294-307 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:354-367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Quad\u0060 in one and \u0060Rect\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea55f800a8bc9349c0a1d8e82764f0ac3cd9636a267a1fb552c9ec7c4fc232f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectSplit.cs:70-80 | ShapeEngine/Geometry/RectDef/RectSplit.cs:102-112 \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 \u0060ShapeEngine/Geometry/RectDef/RectSplit.cs:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ShapeEngine/Geometry/RectDef/RectSplit.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e178cb44e97dd4b29b0d7ddc79302c60c16da36dd07be7e596c0ded0e7b319f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:303-315 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:354-366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Quad\u0060 in one and \u0060Rect\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"882f3c623441930f728fa57797ec72399ce1788278cfedd99a33e75e78d30b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:61-71 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:721-731 \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 \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060p\u0060 to \u0060Vector2\u0060 in one and \u0060IntersectionPoint segmentPoint) GetClosestSegment(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1873bc7e70ab92e898156d9412cf24277255ec7c4e2835f321f16beca6eb2ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:234-245 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:489-500 \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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e01309817aa454c070b9d5e8c3ead1bf616a9b74b0c21dab68a322d588199b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ShapeEngine/Text/BitmapFontAtlas.cs:368-381 | ShapeEngine/Text/BitmapFontAtlas.cs:444-457 \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 \u0060ShapeEngine/Text/BitmapFontAtlas.cs:368\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFontAtlas.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"dceab991357f19b5862b1cfe959abbace6e1207579c2d05c82ede780482419e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ResourcePacker/BinaryPackManager.cs:34-47 | ResourcePacker/BinaryPackManager.cs:161-174 \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":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b984ff72c4002f8e42d674a4a0d6bf50534440010e6ea502f7051328b8146a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ResourcePacker/Program.cs:251-264 | ResourcePacker/Program.cs:453-466 \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 \u0060ResourcePacker/Program.cs:251\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":"ResourcePacker/Program.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd655bd25997ab606734aecc5cdef160856142de08b03d3fd2bdee5c7832ea17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 17): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:653-665 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:793-805 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:917-929 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1041-1053 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:669-681 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:808-820 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:933-945 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1058-1070 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:664-676 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:789-801 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:913-925 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1037-1049 | ShapeEngine/Geometry/SegmentsDef/Segments.cs:405-417 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:668-680 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:793-805 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:918-930 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1043-1055 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:653\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b23b7131e58b9902e7094af47b46b4051ae598a7857a69dc58f1532341b6ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): ShapeEngine/Geometry/CollisionSystem/Collider.cs:682-692 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:709-719 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:736-746 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:763-773 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:790-800 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:817-827 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:844-854 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/Collider.cs:682\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060shape\u0060 to \u0060Segment\u0060 in one and \u0060Circle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56e695f484b43b1835f3a5897788ec40260ed9dcaa8473982af6eb31bc9093e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:291-303 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1171-1183 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:295-307 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1188-1200 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:295-307 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1166-1178 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:291\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c6b438ff9121f7cad8ee01b95093b46dc3bee019862eef763fa97055a2c69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:557-568 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:576-587 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:595-606 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:614-625 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:633-644 | ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs:652-663 \u2014 all 6 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionObject.cs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"128851c7646b9f9d2b7a896d71c6d2cde5eeb39587ec522d9b83fd2a9e45550d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleContains.cs:235-246 | ShapeEngine/Geometry/PolygonDef/PolygonContains.cs:188-199 | ShapeEngine/Geometry/QuadDef/QuadContains.cs:168-179 | ShapeEngine/Geometry/RectDef/RectContains.cs:225-236 | ShapeEngine/Geometry/TriangleDef/TriangleContains.cs:235-246 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleContains.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b11e8a63b3855ef704ede61389f9e2494e0996e30ea723a8717d5252e2b8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:34-46 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:33-44 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:35-47 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:35-47 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:35-47 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdf712f96e92c42e97499704e416bc7c7401a72115dc6a8617e7287345a1bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:49-59 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:347-357 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:386-396 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:426-436 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:46\u0060 calls \u0060Clear\u0060, \u0060EnsureCapacity\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:345\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af2785024f674005535ace838501c109f23459f7cd4b59a2776d75c0f4b1655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:627-639 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:752-764 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:877-889 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1002-1014 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:627\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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9aa2e5a9b261dc8f40ab155ebf8328313cd4e333d3a72b8c61aa142c562ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): ResourcePacker/Program.cs:209-220 | ResourcePacker/Program.cs:251-262 | ResourcePacker/Program.cs:453-464 | ResourcePacker/Program.cs:490-501 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ResourcePacker/Program.cs:209\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":"ResourcePacker/Program.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"525f89400b5e4ab7ec86ee41de1c6cc6284a163c3953fb4baca201558c1e62c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:966-977 | ShapeEngine/Geometry/RectDef/RectDrawing.cs:668-679 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:839-850 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0dedc35abb6c8efc0381425273dca6220f8f9bcb59efdaa303e11f2c927d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs:67-76 | ShapeEngine/Geometry/RectDef/RectClosestPoint.cs:122-131 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:114-123 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 1030 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb632872cd67575c6de416e6c38e0e8fc4ca4e7ecf3f3495fffdc5ad01cf45eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): ShapeEngine/StaticLib/ShapeFileManager.cs:966-978 | ShapeEngine/StaticLib/ShapeFileManager.cs:1035-1049 | ShapeEngine/StaticLib/ShapeFileManager.cs:1131-1143 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/StaticLib/ShapeFileManager.cs:966\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":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f47e4056a6a1a7589bf422e9f6d200e371bf520fb72e0e1892f61462687b7a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Content/ContentPack.cs:670-680 | ShapeEngine/Content/ContentPack.cs:793-803 \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 \u0060ShapeEngine/Content/ContentPack.cs:670\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b760b4355f9ef30f5a367f19ec0359f4162cdae5b86066f14d2265209b9b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Core/Structs/AnchorPoint.cs:196-207 | ShapeEngine/Core/Structs/AnchorPoint.cs:229-240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/AnchorPoint.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd91580f3f9d7cb1b6bf5c7929e62c53843dbf479227b3b191cbffe2a0a54275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:479-491 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:525-537 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:493\u0060 calls \u0060Right\u0060, \u0060Rotate\u0060, \u0060DrawSegment\u0060 and \u0060ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:538\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"5642faa4601ea82a833ab81a135e9aa60888affcfabd737cdea265a7faa66aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1740-1752 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1783-1795 \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":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"78296674cdd142b0c82a7f93a7ef7220a13d3e34388a11e5b295127cc935f655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:491-502 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:534-546 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:491\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"577726548b4c7a24715d66ac6e97de36ca47ef314effd31a6f7ba64edcf1cccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs:389-400 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs:600-611 \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 \u0060ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs:389\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":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandler.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37e8825f84b6ac7dff313239d24e29262d582f64f6a392316254ec949c6257b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:282-293 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:802-813 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:282\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcf4abc481b4e517321ff45af82ce6fe77d2f4a55cef81cd90486d49db73bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/Polygon.cs:274-282 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:309-317 \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":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9680e07ad3e3149cfbf7ffdc14a624659aafeae6b648e78841b48da1f0b9875f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs:517-530 | ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs:577-589 \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":"ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a79cb4c7e5b8c7c9a2a73ff1d0ae3453bd3dfa137e313d77f39268fb391b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:71-81 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:83-93 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fa33495bae27f503397ca9553ea69975ae0ec45691e4d3df07660db1fa2a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:128-139 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:159-170 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:128\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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb8ec1cf41b1fbc28885713cdd1167aecb3c3aaefe1577a6935e9e61015f4cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:969-980 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:273-284 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:969\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc03bcfc7263357764951a636639fc5f326f9eddce6ca24023a04dada6b63149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:514-526 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:663-675 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:514\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c9dfe896a4c7fcff3e7fd4e2c7d76f790a1ead803fa4e97da78a2afa742a12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:240-249 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:292-301 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:240\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":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ed56746c913b4514d54720cacb21094ca3de71239dee0cdc84f5edca4d17e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:95-107 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:84-96 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:95\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c938a0e1a243a2b1d45a1991635b003614e87e8fca185d99ca657a75c0512e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:119-131 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:116-128 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:119\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f373744e14ea878693afc3a3b854a5e999a32e5c6efbbc98b3eb67f2bfee4a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:143-155 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:148-160 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:143\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"757ce1c63c58d672c42a0fa14b2910173c4a7ffd663b3118d0c5a137053c778a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:152-163 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:188-199 \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 \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:152\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":"ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdd70ce774346726ac1006d21ed7cffb883f39328b9786209526ca548c3447a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:507-518 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:550-562 \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 \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:507\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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc73a8b2e8d0e48dbb2fe819cada8b11a6c33ef145acc4db09a2ad90513f0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:504-515 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:547-559 \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 \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:504\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":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"0553e8c8d683e57037aa6e605c665f4d8b924efed2c3406abd8cfd2fa579f4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:744-753 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:755-764 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:744\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":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d43fc4ad7ad30b0e39529029e3d1ba93ef070737d924408261c8c13b1d53ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:102-109 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:133-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060segmentStart\u0060 to \u0060float time) IntersectSegmentLineInfo(Vector2\u0060 in one and \u0060float time) IntersectSegmentRayInfo(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3ca4734baa22a358ca08049b7e6aa17723548efa4d59d607c5ca726f6fd6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:167-174 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:199-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060segmentStart\u0060 to \u0060float time) IntersectSegmentLineInfo(Vector2\u0060 in one and \u0060float time) IntersectSegmentRayInfo(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e432dd714dcd01e721d10a9b1acf76935c969cae73edb8d606f7f06a8e6aaef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:295-307 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1173-1185 \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 \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:295\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"feebc7346bab86df036ad85e91402b1511e97a363d89eb14b6fc07ed54e9e4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:505-516 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:549-561 \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 \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:505\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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b7fd156e52de99b7eab42057402c0652fab221d185f9e71f83a58b61363563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:471-483 | ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:507-519 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ca8ddec6deb46140b75a40ca49843319ac0c26d00f0fa92fea49b759ffa689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/StaticLib/ShapeFileManager.cs:969-981 | ShapeEngine/StaticLib/ShapeFileManager.cs:1012-1024 \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 \u0060ShapeEngine/StaticLib/ShapeFileManager.cs:969\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"d268ed2a7c3786e3144466a50f74eb7e68ccdecb825ac304c9ff3910f79fd083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/StaticLib/ShapeFileManager.cs:1065-1077 | ShapeEngine/StaticLib/ShapeFileManager.cs:1106-1118 \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 \u0060ShapeEngine/StaticLib/ShapeFileManager.cs:1065\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/StaticLib/ShapeFileManager.cs:1061\u0060 calls \u0060LoadText\u0060 and \u0060ShapeEngine/StaticLib/ShapeFileManager.cs:1104\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"e417fad199bc53e8fe914d3f8026a085ebc59461791e08350a80b1f8f2b3507d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/StaticLib/ShapeFileManager.cs:1134-1146 | ShapeEngine/StaticLib/ShapeFileManager.cs:1180-1192 \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 \u0060ShapeEngine/StaticLib/ShapeFileManager.cs:1134\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13f54bdda46ba7fb08174ac7ffafafa74962430d208b79c3f127e113820d71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ResourcePacker/BinaryPackManager.cs:273-284 | ResourcePacker/BinaryPackManager.cs:379-390 \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":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"de74107432dc5ef54e74dd2cc4d5c821b82a730fe4742ac00c38001816c86a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ResourcePacker/TextPackManager.cs:317-326 | ResourcePacker/TextPackManager.cs:449-458 \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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7f0692ec55fa4b965c294060bbbe883568ab91b0e1f99a3d9e00edf8ea7937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 18): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:445-455 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:785-796 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:864-875 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:943-954 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1022-1033 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1101-1112 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:334-344 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:617-627 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:757-766 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:881-891 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1006-1016 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1131-1141 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:334-344 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:616-626 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:742-751 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:866-876 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:991-1001 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1116-1126 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f3779e83dae578053dc4045bd500fe8eb22b8753e0d698ff31066ed91d4999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 10): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:26-37 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:26-37 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:52-63 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:27-38 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:26-37 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:26-37 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:26-37 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:26-37 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:26-37 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:26-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:27\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6647e86e034832deccc8c74cab213a2019944fe93c7ee2bd825f2247f0c9a3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:45-54 | ShapeEngine/Geometry/LineDef/LineOverlap.cs:137-146 | ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:142-151 | ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs:155-164 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:125-134 | ShapeEngine/Geometry/RayDef/RayOverlap.cs:128-137 | ShapeEngine/Geometry/RectDef/RectOverlap.cs:147-156 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:122-131 | ShapeEngine/Geometry/SegmentsDef/SegmentsOverlap.cs:115-124 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:184-193 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:45\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":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc689a6e1a0b5c7af4e10a2d93ebedc7959aca2bf846d4842cda5b1f4dab154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:555-561 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:714-720 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:770-776 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:826-832 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:882-888 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:938-944 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:994-1000 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:1050-1056 | ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:1106-1112 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:555\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":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"726341c607b9b292b990c151fee230f81393b33b6a63e786e93f63a5c7b04790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 8): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:30-40 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:152-163 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:33-43 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:134-143 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:33-43 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:134-143 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:33-43 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:134-143 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"00386eb4c336593b7059f4f95da42dd757c52fa7bbccd89cc1c183b75d300df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:333-343 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:358-368 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:383-393 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:407-417 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:450-460 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:483-493 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:516-526 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:548-558 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:333\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":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b69cdf0eb8caac5aa357d05930d9fa350044c07f065b7d11d167de35629ebe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:334-344 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:612-622 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:737-747 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:861-871 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:985-995 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1109-1119 \u2014 all 6 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. 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":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce8ec3a4a9fb5b1dae5aa707bda97d934ea78dccd86735a676fc7b6b9490178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:330-340 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:601-611 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:741-751 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:865-875 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:989-999 \u2014 all 5 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. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f3d5cd8782793f298ec9cdb0abca307b3efaad9ff7d37b4bc4f0c72bf277e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:836-847 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:915-926 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:994-1005 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1073-1084 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1157-1168 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:836\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a480eea6837febf8ce713f7e9a6b4c04dc19771c83da0cc644a03c26cf83e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:53-63 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:57-67 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:57-67 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:57-67 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:53\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c673011da2c70e7aa029e5dc6b609b8d11858c0aa37c93e6b41b0b522a6e0e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:422-432 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:436-446 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:435-445 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:434-444 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:422\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2928b1989990125712d791567cca6d964e86c34d54eeae0843475d805a55a123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:628-639 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:767-778 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:892-903 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1017-1028 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:628\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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"79756b89ae9e8c2ae61d306c2fe5b35fa004f0b654d7ee24b8cb9fc3338bb88c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:623-634 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:748-759 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:872-883 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:996-1007 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:623\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":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"83168c4a0fe73f732ae3b56d18b79adab026bdb8e8841903599eb3d33e2fd309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:177-186 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:292-303 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:370-381 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:177\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:306\u0060 calls \u0060OverlapSegmentSegment\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:385\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc4b9821dced08bbc3b9ecaec0a073335714a821877f8238a4d0094ca29b837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:105-111 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:100-106 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:140-146 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:105\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6968f457ff81201077b9e1a89fe96e9f6bbf466a1dc4e62519d792128e7a1141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:53-66 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:22-33 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:64-75 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab465acd866250d29bd2c833e9d787d493d4549eec16dc77a67d45d934e3d09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:470-482 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:518-529 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:566-577 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:470\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e929bb728a26faa3cd179eb8f4990858e042f16307da37a7e1f9654e1cad4bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:498-503 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:380-385 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:379-384 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"30619e77d94196a655175888f1e348bcf2f272ee10d167244c10f8036d1d0674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:545-550 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:420-425 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:419-424 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b04d74afb63e376aa59362331e78c6401db4327e35a88e7d8ae6d652e24e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:834-845 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:847-858 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:877-888 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:834\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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96cab4b20017887f4b8de5bf494cf7ab5c7b08dd6102fdf39b9f6e1b692aca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1607-1614 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1679-1686 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1895-1902 \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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8129ded252eb8782a92e749c90e34b18369de2008bd94cef1ed37d4301bded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:62-73 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:95-105 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:722-733 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:62\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060p\u0060 to \u0060Vector2\u0060 in one and \u0060IntersectionPoint segmentPoint) GetClosestSegment(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a66ff3141db47053852d988297c17d4c810c591d6504c5e6e69221f72f90b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): ShapeEngine/Input/InputTypeGamepadButtonAxis.cs:36-45 | ShapeEngine/Input/InputTypeKeyboardButtonAxis.cs:34-44 | ShapeEngine/Input/InputTypeMouseButtonAxis.cs:42-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Input/InputTypeKeyboardButtonAxis.cs:30\u0060 calls \u0060Copy\u0060, \u0060InputTypeKeyboardButtonAxis\u0060 and \u0060ShapeEngine/Input/InputTypeGamepadButtonAxis.cs:32\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadButtonAxis.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e6b1682d2125b9326af7c098b185a6eadf1f359a988631b9704ecd3802660c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): ResourcePacker/BinaryPackManager.cs:281-292 | ShapeEngine/Content/ContentPack.cs:437-447 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ResourcePacker/BinaryPackManager.cs:281\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ResourcePacker/BinaryPackManager.cs:295\u0060 calls \u0060StartNew\u0060 and \u0060ShapeEngine/Content/ContentPack.cs:451\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8473238291ba5ef91fdcc94d4273d606428c45e3af6f53ea088718f11b2d1bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Content/ContentPack.cs:471-480 | ShapeEngine/Content/ContentPack.cs:943-952 \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 \u0060ShapeEngine/Content/ContentPack.cs:471\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2140f1db2846e5afc018a8ebeea68086c69ca5c2879faf86f7f33d29480803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): ShapeEngine/Content/ContentPack.cs:682-693 | ShapeEngine/Content/ContentPack.cs:834-842 \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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"954c588fd6b6521e14024263e8f15fc341f6435cc4bd55423a51290ef4582974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Content/ContentPack.cs:955-962 | ShapeEngine/Content/ContentPack.cs:1079-1086 \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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bd2f18a193f267ea38f7f559bade8d8705328177114929a39237c5855d59be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): ShapeEngine/Content/ContentPack.cs:1185-1196 | ShapeEngine/Content/ContentPack.cs:1288-1297 \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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4ba472bf1b7a24c635b5de14c5bc9b1dd888f2e65c3c551fc06a403330f3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Core/Logging/Logger.cs:328-338 | ShapeEngine/StaticLib/ShapeLogger.cs:406-416 \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 \u0060ShapeEngine/Core/Logging/Logger.cs:328\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d12c00eb47e0be180b746b94e5a3678bb4b6e34adb327a06671a564f353ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Core/TriangleBatch.cs:611-619 | ShapeEngine/Core/TriangleBatch.cs:641-649 \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":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef07243150451daec0655607d3e1beb597f1fba4b3301f8c3e67c74a6f414f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs:355-364 | ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs:454-463 \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 \u0060ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs:355\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":"ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"61484d4f28f88077f62d9726536b3d690ab7cef6d161eb66124300ed838a3f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:341-351 | ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:378-388 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:341\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6587cbc14f2b183e0a4c26a21085f81fb9f8f92cb87193ac4486982bb84b3dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:31-42 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:128-138 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:31\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d6dbc636236e889dae49fe4d6b1ebd9d49b5ec5d1340cf34f1d8304784d556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:158-166 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:184-192 \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 \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b779326c50c82e59092551613c4bfe30130f9ebb5aca90b6f56a62877daf17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/CustomDrawing.cs:127-136 | ShapeEngine/Geometry/CustomDrawing.cs:164-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tailPoint\u0060 to \u0060Triangle head) CalculateArrowPoints2(Vector2\u0060 in one and \u0060Triangle head) CalculateArrowPoints3(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CustomDrawing.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cbe3071a3a2f6566f7ec82c6f3ea92976bfae2f516470fbb97082ec54da59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/Geometry/PointsDef/Points.cs:487-498 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:291-303 \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 \u0060ShapeEngine/Geometry/PointsDef/Points.cs:487\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/PolylineDef/Polyline.cs:289\u0060 calls \u0060MinInt\u0060 and \u0060ShapeEngine/Geometry/PointsDef/Points.cs:485\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"333a87dd216cb795d4efd218517da51d25f267ddc0a66f93663e8f82743d01c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/Polygon.cs:947-957 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:1030-1040 \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":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e52998962334a898db089e898c115bd7f36613cd4c329060842158ba52ca26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:92-100 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:111-119 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e90b37aeb3eeea1cdeb5644681b3ea5cb47a2189b7252a8839f6efa9b119ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:332-342 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:364-374 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:332\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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c0208fe864a9932b26f95320d787612c7cfcf6f91f1453130a7ee2678a73f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:394-404 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:428-438 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:394\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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95aa0b02ddee8dfd567ddbb4a56e1bef32d4d133262a76b990fd241d0509cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:467-477 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:503-513 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:467\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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90a46e46df6b3fbc19702fe3a6d567c554497802fe169d73eb486345ef39dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:540-550 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:578-588 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:540\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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"a947e465eb50c74901f5fc23f1d160512e9e49bbfc64a7fad98189130449c2a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:585-595 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:625-635 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:585\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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f0b89bb472f453e843f5ef95968d7ddbfdae03e6c01980783fe64f09526aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:630-640 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:672-682 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:630\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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bc10b7cd7d07cd74300ec900fd72ee8dfbbd1282a3aac6fdf376e2b926582f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:799-807 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:814-822 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:799\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":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f25085e3e7de6ca27ead3a44edcde27f7bee571f2ff24a32672b71c8318acb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Serialization/DataBase.cs:50-60 | ShapeEngine/Serialization/DataBase.cs:92-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataBase.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed8b4b1824b428b2ab5f38b4d04c6067168874f6f566aeac67514cb19d460f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:251-258 | ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:295-302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb631f68e96532770acb5b602fad10d6d6845a466bcf2aa257a83dd7eb175d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ShapeEngine/StaticLib/ShapeRegex.cs:25-36 | ShapeEngine/StaticLib/ShapeRegex.cs:175-186 \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":"ShapeEngine/StaticLib/ShapeRegex.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0478be66e7269de5743892d42fd916c6d71e089548bf391023b374332a87a803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ResourcePacker/Program.cs:266-275 | ResourcePacker/Program.cs:524-533 \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 \u0060ResourcePacker/Program.cs:266\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":"ResourcePacker/Program.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a282e2a36a654d1df87352bb8eb30c422450a62afdcf40a897ff96f4feefd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:333-341 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:604-612 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:744-752 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:868-876 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:992-1000 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:337-345 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:615-623 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:740-748 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:864-872 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:988-996 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1112-1120 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 979 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"233050e66fbda6f5942950729280c4e70cf736c3f6dd4f2727da2b3d11a809a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:222-231 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:319-328 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:363-372 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:385-394 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:407-416 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:428-437 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:612-621 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:641-650 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:670-679 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:698-707 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs:222\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":"ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00d9b3e61472c78b03bcdf5efe25dba25050c152eb1974d99178c60f26fc7b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10): ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:71-81 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:91-101 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:111-121 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:131-141 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:151-161 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:171-181 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:191-201 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:213-224 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:236-247 | ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:257-268 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs:213\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060shape\u0060 to \u0060Line\u0060 in one and \u0060Ray\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangulationDef/TriangulationIntersectShape.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1289e46a737a780ea3986506513c3a8b98ff6b29fa832d968a33fa4c83d95b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:417-425 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:373-381 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:49-57 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:32-40 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:749-757 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:313-321 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:28-36 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:396-404 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:676-684 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:417\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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9178e87bb79aba80dfb3e3c753a178c8960468c063121ea95618b530cbb5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:185-195 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:242-252 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:299-309 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:356-366 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:413-423 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:470-480 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:527-537 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:584-594 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:641-651 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:185\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2022404a0a4497eac55b3af0b1eb873823baf06aa3a8ed8e73022360e5c7e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:942-951 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:430-439 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:482-491 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1555-1564 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:926-935 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:666-675 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1363-1372 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:942\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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30ceea3dffb7b8031e89504aae78ad6ffeb437ff46bde90c15c6e983fb42a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): ShapeEngine/Content/ContentLoader.cs:908-917 | ShapeEngine/Content/ContentLoader.cs:958-967 | ShapeEngine/Content/ContentLoader.cs:1005-1014 | ShapeEngine/Content/ContentLoader.cs:1051-1060 | ShapeEngine/Content/ContentLoader.cs:1096-1105 | ShapeEngine/Content/ContentLoader.cs:1140-1149 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Content/ContentLoader.cs:908\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b9d6339b74a44f77a0ad393d73e1c3e2f8e20b7c56035f31d1ffac62f7f9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleContains.cs:133-142 | ShapeEngine/Geometry/PolygonDef/PolygonContains.cs:42-51 | ShapeEngine/Geometry/RectDef/RectContains.cs:99-109 | ShapeEngine/Geometry/TriangleDef/TriangleContains.cs:101-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleContains.cs:133\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":"ShapeEngine/Geometry/CircleDef/CircleContains.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b445a0161090aa048c23618f31113312724e7f72e033d1b18e1645983b6155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:381-390 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:396-405 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:395-404 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:394-403 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:381\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2524886af2e02359fdc8e66709832119a3cfe6ce74ab56e47136758b574259a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:763-772 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:779-788 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:795-804 | ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:810-819 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:763\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":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa99ec4badd1dd2c5bdde5637a34fa3639840efc581e8a084914a216d96a481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:802-811 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:828-837 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:911-921 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:940-950 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:802\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:922\u0060 calls \u0060Normalize\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:951\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"0414c5575558c14992f9285ce5d509ba02050e1ee8ac0757465e852b298e317e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:647-656 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:720-729 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:399-408 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:472-481 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:647\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:646\u0060 calls \u0060Normalize\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:719\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff52902c7d1f452ce50ba6469dd29b80704845fae1d47076962a4bffe0b4a6fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:132-139 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:163-170 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:156-163 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:192-199 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60276806ed0a3b5d3e1c8ed0896655a75a92342f1fb9fae8841efd12dc5656a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:50-60 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:105-115 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:462-472 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:605-615 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:101\u0060 calls \u0060Clear\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:601\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dea2cd15a9e714016d4969adad48e0a387a6ee76579187109502d41414f94c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:87-96 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:81-90 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:81-90 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:81-90 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8aa251bdb547c5dee30612af00e80cd54c5386562ce709eabdddee30da120a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1585-1594 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1655-1664 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1729-1738 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1862-1871 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1585\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1d1e276b3bceb977bff53454635acfe1ca751039a57ae38f6ef7461266d220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:380-390 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:420-430 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:379-390 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:419-430 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 50 separate duplicated blocks between them, totalling at least 1075 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef694bb15f430f224acdf8ebba038399725d8b644d308e034fa24e7560686aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1700-1708 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1745-1753 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1788-1796 \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. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3393b8505463ee43efdd6bb458ade6e7e898e4d8b2347c410b3dba8cac91b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:443-452 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:484-493 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:527-536 \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. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a7d2ee149791b14bdd4d276fdb317d8aae0249eecac814705d75f718223d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:194-204 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:252-262 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:329-339 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:194\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:249\u0060 calls \u0060DistanceSquared\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:192\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b28f62d7507d9a20e80408675f3191d14a0a75281af3efa933db3d5a4024076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:282-293 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:256-267 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:272-282 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaa9be20d7fb4d43ca22c1237473ed229b241d7dea363479c2007061c37cbfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:668-677 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:519-528 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:590-599 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:668\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"14815e59b4224e12c8b3a74f5e43ac2e1f0cdd7186dffc06061e3cbc654094c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:804-813 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:717-726 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:810-819 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 203 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:804\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":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ef270b9ea55f81f70812a62d1b34910e65a86574a6c572940928dabbedb228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:589-598 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:458-467 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:456-465 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b503ae1b89aa70e05b97ef03aeeb8b307ef8732ebfb430a2783c3a3d37e2ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:642-651 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:500-509 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:498-507 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1cc0b77081ec5ca09984fae027e7f79c09bc43bf44041918f4b165a4c347d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:698-707 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:543-552 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:542-551 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb16ad3e647e00fc99cd6515a74373130ebe56e8b083ba7a1cdf1ec6d9d503c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:341-350 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:341-350 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:341-351 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"994e3b78ecae5effe3a8d09539bf07fe26745b2d5bad6e1dcdc9fe31e683d231"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:455-465 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:496-506 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:539-549 \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. 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":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d31b33b27801f88c0a4d988ddc56b6627e29f054ad56026807fa9cebd87c813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Audio/AudioDevice.cs:759-767 | ShapeEngine/Audio/AudioDevice.cs:808-816 \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":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0abc0500289227796ab75233669d6c12ac8dc1a87d2f4c587042774c47fcb89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Content/ContentPack.cs:455-465 | ShapeEngine/Content/ContentPack.cs:549-559 \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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eae8bb94547f4f1bc4f24fdb3f6e91d8fd907f64eee2472d8e7da4c2d38dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): ResourcePacker/BinaryPackManager.cs:440-450 | ShapeEngine/Content/ContentPack.cs:586-593 \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":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4ba177c96613fefc412461a0e594307426cd102c232ac9ff52770cda1dfa19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Content/ContentPack.cs:927-937 | ShapeEngine/Content/ContentPack.cs:1040-1050 \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":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f269053e02630a32f29c843e6825ac4ef675b5deecb5c582f21db8784dcd77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs:355-359 | ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs:375-379 \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 \u0060ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs:355\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":"ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4951ffcecba80e797a6de8f426b959af58d5c6316b370f0816ea303777d74f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:625-634 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:689-698 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:625\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":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c2cc197ee3ee09638e2f8369f85e7fcfa66fb4566a6199dca9ddf746238842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:658-668 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:715-724 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:658\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e67e72068403475d19ebbeb1702c4f9ab4ac4af1fb15859c10453365b6d7288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:94-101 | ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:117-124 \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 \u0060ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs:94\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":"ShapeEngine/Geometry/CollisionSystem/CastSpaceEntry.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c73274491d9da01ecd1e816996dc91f1668e7b067ad1b3c3e680cc2b9cdcaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:172-178 | ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:203-209 \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 \u0060ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs:172\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CastSpaceResult.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e460deb312b384026bd1985cdcb632cf270bf19945ff85309ef78032092312d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:978-985 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:1002-1009 \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 \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:978\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":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4902a03c86ac5fc13d4a89d3c421380e84a002d4e986b035bc3757657eac14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:413-423 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:460-471 \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 \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:413\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"21696bec810c2a1dce7487656cc13fe156fd618087d8019df5c9e95d135669b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:166-175 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:213-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:166\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e18452593a7868069ba560bfc590af9935d27ac4c9fa5f6c05601f6a6bf85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/IShape.cs:179-188 | ShapeEngine/Geometry/Shape.cs:279-288 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/IShape.cs\u0060 and \u0060ShapeEngine/Geometry/Shape.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/IShape.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee81f9e1b28b4a29e557ed9bc82b0776021a80ccb5e1835febe7478bd9f862a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/PointsDef/Points.cs:509-516 | ShapeEngine/Geometry/PointsDef/Points.cs:533-540 \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 \u0060ShapeEngine/Geometry/PointsDef/Points.cs:509\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":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b7afc2a4297a8ab5c5a12e736e223c05b4b3b5456484b5af11d5ad0e2a7934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PointsDef/Points.cs:558-569 | ShapeEngine/Geometry/PolylineDef/Polyline.cs:153-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbe578412887eec43d03c598ec130834ff7622a0c2b58f97effc453b72c33e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/PointsDef/Points.cs:750-760 | ShapeEngine/Geometry/PointsDef/Points.cs:800-810 \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 \u0060ShapeEngine/Geometry/PointsDef/Points.cs:750\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cca8a6aa5680c568f44ba45725fe88301964ebc9df88f85c4a9e11af42f6216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/SegmentsDef/Segments.cs:246-253 | ShapeEngine/Geometry/SegmentsDef/Segments.cs:275-282 \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":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"548c9f0a1f77159cb9ec9abd1535ad4e9b424bb461755e4d56a4c48677d813e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:987-997 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:1161-1171 \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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df9b6629ad1cd465945fe6ffe2433729af3c46570ff809bd79f8286b869f19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:154-162 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:212-220 \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 \u0060ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:154\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":"ShapeEngine/Geometry/TriangleDef/TriangleMath.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f29be51e6cbea04ba2172def021cc353271c09810496b6c31742695903b1e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Serialization/DataObjectDict.cs:179-188 | ShapeEngine/Serialization/DataObjectList.cs:305-314 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed051fdb22565ebd3150a5989a1a54996a12cd4ecffdf58b22fc5346ec603552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Serialization/DataObjectDict.cs:200-209 | ShapeEngine/Serialization/DataObjectList.cs:324-333 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41af3300a840121f5dc6e6d791400a79befcc54f3491bf874731b3096bf0d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/StaticLib/ShapeFileManager.cs:865-872 | ShapeEngine/StaticLib/ShapeFileManager.cs:941-948 \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 \u0060ShapeEngine/StaticLib/ShapeFileManager.cs:865\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeFileManager.cs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"30676e784b25698e3c928d39ef7cc701eacbfc60e11e3e1ca9cbf5e369167292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Stats/SimpleStat.cs:921-931 | ShapeEngine/Stats/SimpleStat.cs:933-943 \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":"ShapeEngine/Stats/SimpleStat.cs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"1916d554aab3e143be7b2d1ebd9bbe131d371e166848c0d58e5ffd6fe95f8cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Stats/StatSet.cs:215-225 | ShapeEngine/Stats/StatSet.cs:387-397 \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":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff01d66b6a1eea3653c11de664551c68e6e467676557957a893d993073e04d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Text/BitmapFont.cs:114-123 | ShapeEngine/Text/BitmapFont.cs:131-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060supportedChars\u0060 to \u0060List\u003Cchar\u003E\u0060 in one and \u0060HashSet\u003Cchar\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"361fb7c2c2d6c7ab137224655842ed1f35cd03c83bdeeadd26ed386c660bcf85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ResourcePacker/BinaryPackManager.cs:301-311 | ResourcePacker/BinaryPackManager.cs:403-413 \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":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"52395c79dabd3258e36aac9ee2b74cbc9c2d677eafba106a07c0976af333acad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 19): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1116-1125 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:448-456 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:788-797 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:867-876 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:946-955 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1025-1034 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1104-1113 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:336-345 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:619-628 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:759-767 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:883-892 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1008-1017 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1133-1142 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:336-345 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:618-627 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:744-752 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:868-877 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:993-1002 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1118-1127 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2fc6e9df6d54abbb1409e12c900e70913c7c961d0c707428766085ab93f698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 10): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:34-43 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:131-139 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:33-41 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:155-164 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:35-44 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:136-144 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:35-44 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:136-144 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:35-44 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:136-144 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e867c0155db6f3d0f5ee2bfe80dcef42ed6dd90ad65c0bfac84c00b6cdc88590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 9): ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:941-950 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:978-986 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1014-1022 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1051-1059 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1088-1096 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1125-1133 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1160-1168 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1189-1197 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:1225-1233 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:941\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":"ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"f604186dc9992b163b99eec9fe28be515a8e27300b5db9d3f9c09d62654b837b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:589-598 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:642-651 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:698-707 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:458-467 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:500-509 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:543-552 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:456-465 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:498-507 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:542-551 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0a5bb273516857178bb0a87cad231b4799625c368d6bd16b88bb5723b6bd01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:193-206 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:156-165 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:24-34 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:66-76 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:100-109 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:131-140 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:165-174 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:197-206 \u2014 there are 8 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060linePoint\u0060 to \u0060float t) IntersectLineRayInfo(Vector2\u0060 in one and \u0060Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f4b6492af6c33ed0fab936086eea0aa6ce3105f86836ae2f2194088b381b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:154-161 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:179-186 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:204-211 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:229-236 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:633-640 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:772-779 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:897-904 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1022-1029 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:154\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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa7baffc08ae4d6e447027f903b959a29393b50d3d9431b56239174c1634bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:154-161 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:179-186 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:204-211 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:229-236 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:628-635 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:753-760 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:877-884 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1001-1008 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:154\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":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fff531fe43fc468924d45537b3cb29e063535bed34e81a7c3c283b3917d74e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:154-161 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:179-186 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:204-211 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:229-236 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:632-639 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:757-764 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:882-889 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1007-1014 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:154\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":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf2423ba2c079cfb738e84621d12dd1033181b6021972e2e1e163fd273a500d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:380-390 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:420-430 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:380-389 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:420-429 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:379-390 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:419-430 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d3f77e43ec4b081a68e8f8630539b71dbaf9f42f4d87b5482a9da2bce6d9d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): ResourcePacker/BinaryPackManager.cs:301-305 | ResourcePacker/BinaryPackManager.cs:403-407 | ShapeEngine/Content/ContentPack.cs:455-459 | ShapeEngine/Content/ContentPack.cs:549-553 | ShapeEngine/Content/ContentPack.cs:1343-1347 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ef41b01429fd93153edf6b3e3165732a98245415184120f6153abb8342553c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:79-86 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:90-97 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:84-91 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:84-91 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:84-91 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"205657c20acfb5acd26b3db7717cd224fc4e824f89c5fe49e98e4f7f2a11b56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:335-343 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:449-458 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:338-347 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:339-347 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:338-347 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5871ae594242d635c5c2a60a7171f9bb78efca513e2c20ea00c177dfb84aa65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:445-453 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:590-599 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:459-468 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:457-466 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:457-466 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"76db5c91adc143b213754334acb394d50b9cad0a38f7d6aaf539b4190a311d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:486-494 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:643-652 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:501-510 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:498-507 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:499-508 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"da560d70681f9bbf188c91462278c3fed39aac51ed9ddb31c987693630c01c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:529-537 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:699-708 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:544-553 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:541-550 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:543-552 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5311afca6d0a355526d0775c863c7cb57d15b5747bd4a7a7b0c4ba45762f8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:969-977 | ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs:273-281 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:2076-2084 | ShapeEngine/Geometry/RectDef/RectDrawing.cs:671-679 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:842-850 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:969\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eeb6b751903128794ad727ceefe5816ffe09a0135078ed9583651b1cc3048d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:126-138 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:191-203 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:101-110 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:155-164 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:126\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060linePoint\u0060 to \u0060float t) IntersectLineRayInfo(Vector2\u0060 in one and \u0060Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c35937d93243b27a6f4827cc6b3fe3a7786f3f65a277ddc849910cdfa7ccd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:348-360 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:407-419 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:259-268 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:309-318 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:348\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":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8829f6f11ac6d31f9672a3dfa396311703240791f3d005e48072afd4345b617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:518-526 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:566-574 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:667-675 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:725-733 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:518\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d1715b260e5d56760ec8e6428274507bc53aee2d555424b3c31764a648092f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:146-152 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:407-413 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:151-157 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:459-465 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 279 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:146\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa3cf30b36de6b96204c112a581b4f9309ed8a14f9b224fac9d934f042763bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ShapeEngine/Audio/AudioDevice.cs:417-425 | ShapeEngine/Audio/AudioDevice.cs:575-583 | ShapeEngine/Audio/AudioDevice.cs:603-611 \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":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38b4694c7ef7c706eea01f59605db73af2eea681a1086eb3a48313fd15c1998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:84-95 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:55-64 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:85-94 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:84\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":"ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c4c73b62047ee03cc27280923cd4d70cb1bccee2dbdd189dcfde34786329ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:334-339 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:398-403 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:366-371 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4796d8738134bb82de52cbb70df0e44ff88f6226840ebf627140a31143a22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:396-401 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:467-472 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:430-435 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdf3339b75d88790a28bf8d1fc697017a31e9a6a4203c1c03ae0ab018ebce80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:469-474 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:547-552 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:505-510 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe945b27a351ba9829051a1a7e4d2dd87feb2fea0c23641ef91f15d25ed21ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:542-547 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:627-632 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:580-585 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bda9cf9b593806467b23bf7d2cade13e19391b1755ed180f4818b5f6297f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:587-592 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:679-684 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:627-632 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"64838d3043ecd54dcfaea882a44ed8f9c8c97a69fcff91a0f1d8a1805546502e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:632-637 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:730-735 | ShapeEngine/Geometry/SegmentsDef/SegmentsClosestPoint.cs:674-679 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2840ceb2b7ae9044cafc36cacb83c5602c07303ab1e66c023448e1ffa7c35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:402-411 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:471-480 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:551-560 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:402\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Triangle\u0060 in one and \u0060Quad\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36f0f8d6611dc7f34c2c7604fdf402f7393e641830eec3a30e2e0977341f397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:356-364 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:356-364 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:355-363 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:356\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d047405f82c12d2fa1aaf06dd8a91c07c1dc3e1a8351913fe0b51f4e56694dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:203-211 | ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:251-259 | ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:295-303 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs:203\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8941cab1c741f02f18629d986943440e0d768a10b5e71ca54042527f9263ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Audio/AudioDevice.cs:450-457 | ShapeEngine/Audio/AudioDevice.cs:495-502 \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":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"debb767b3ee331a1da9a049d653493e1df2bec4d980713c03ac5f0887e5c167b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Core/TriangleBatch.cs:586-593 | ShapeEngine/Core/TriangleBatch.cs:677-684 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Core/TriangleBatch.cs:675\u0060 calls \u0060Begin\u0060 and \u0060ShapeEngine/Core/TriangleBatch.cs:584\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"510d633e696a3cd4f917e2ef4b28e5b8292fd4b5be8fa20dcfca4cfe1d89d535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:123-131 | ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:148-156 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:123\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Ray\u0060 in one and \u0060Segment\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80018a84a9ed14aa2dbac57516bb7ebe0b3e4c4128d0863c95e36ef4d2f7766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:191-198 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:214-221 \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":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9916f480376dc94f59c359e1015eb78b94c52d4f0bb47a33d2be2c54f5b28e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:150-159 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:183-192 \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":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30151adb3d9af446f16790d22f6ca368a1a4d71aaf27479996c67c598d20fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:359-365 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:373-379 \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":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cca0f21f87b09696a3c1f4e1c3ddf311381e9fff0f0122e3c64b55797266a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:327-334 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:473-480 \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 \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:327\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:472\u0060 calls \u0060Normalize\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:326\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8ab9e92e605be4cb572a7fd4890d38f07d243e0b6165287ea6c0c65fab4bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:713-722 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:755-764 \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 \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:713\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6bed8dfb626de320020759ae7cf3beb9ba1313e621a8192926689be9f19ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:58-64 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:70-76 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8852845137c7909ce92c539772bf8e77569839eade76de4b8ba3779cb572b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:438-446 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:464-473 \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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"0535135663cbdddeaceba4befdaca903e216fa9aac82af80eb6ddc2607954abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1664-1674 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1741-1750 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1740\u0060 calls \u0060Min\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1664\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a03a221ba5ac41b1955bf028429f4248744e75e1b33871424291fe17f2a848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:183-191 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:230-239 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:183\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":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5366bc71fbb1b158c43b14e9045608b15003e34f8c14edb25b07241f0bfe6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:405-414 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:445-453 \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 \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:405\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Polygon\u0060 in one and \u0060Polyline\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"28aaf6748d5349a7ebee7858b9dc20f774778b0cd1e017f6541d2fd41427b272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectMargins.cs:161-170 | ShapeEngine/Geometry/RectDef/RectMargins.cs:193-202 \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 \u0060ShapeEngine/Geometry/RectDef/RectMargins.cs:161\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectMargins.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb6912aada03cad6b8fdf6333ee6b5a3bdfe5404fca35649e98c727d1baa431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/ShapeClipper/ShapeClipper64.cs:309-317 | ShapeEngine/ShapeClipper/ShapeClipper64.cs:482-490 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/ShapeClipper/ShapeClipper64.cs:492\u0060 calls \u0060Clear\u0060 and \u0060ShapeEngine/ShapeClipper/ShapeClipper64.cs:319\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipper64.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d895b13fb646f8b65ec34512d693545497007bd7f514a55dbf8c7a9e4e094633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/ShapeClipper/ShapeClipper64.cs:438-445 | ShapeEngine/ShapeClipper/ShapeClipper64.cs:458-465 \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":"ShapeEngine/ShapeClipper/ShapeClipper64.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2c1159a0cfeb6b2b720541de462f200ba40c0389a1be8a28b7f2fd5573f2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/StaticLib/ShapePhysics.cs:1444-1450 | ShapeEngine/StaticLib/ShapePhysics.cs:1471-1477 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/StaticLib/ShapePhysics.cs:1478\u0060 calls \u0060distanceFactorAdjustor\u0060 and \u0060ShapeEngine/StaticLib/ShapePhysics.cs:1452\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30addd47a210344d5f50bcc2aa5f096402f58a5638722d0f170e7594580a988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/StaticLib/ShapePhysics.cs:1497-1503 | ShapeEngine/StaticLib/ShapePhysics.cs:1526-1532 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/StaticLib/ShapePhysics.cs:1533\u0060 calls \u0060distanceFactorAdjustor\u0060 and \u0060ShapeEngine/StaticLib/ShapePhysics.cs:1504\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapePhysics.cs"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fd21c633101ba6321be9f3bed1769059535abf58f16b6cd8d196c3410ee9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): ShapeEngine/Text/BitmapFontAtlas.cs:311-320 | ShapeEngine/Text/BitmapFontAtlas.cs:443-451 \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 \u0060ShapeEngine/Text/BitmapFontAtlas.cs:311\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFontAtlas.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9260e8adfa80fba642a69aa71e5e17ac1f74354e63d4f74f372e65221be5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 14): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:443-452 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:492-501 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:783-793 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:862-872 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:941-951 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1020-1030 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1099-1109 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:332-341 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:373-382 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:614-623 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:740-748 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:864-873 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:989-998 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1114-1123 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:443\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c2277d48b350709df597229fb9dfe70051f63c065aff0a0fcac12acf36fe63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:56-66 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:128-138 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:193-203 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:102-110 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:156-164 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:24-33 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:66-75 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:100-108 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:131-139 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:165-173 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:197-205 \u2014 there are 11 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060linePoint\u0060 to \u0060float t) IntersectLineSegmentInfo(Vector2\u0060 in one and \u0060float t) IntersectLineRayInfo(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2dc1d002ab614f0bfaa4a42920c1de53cfc4b853e0ae6130fdce5460bb9812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:948-955 | ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:810-817 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:436-443 | ShapeEngine/Geometry/PolylineDef/PolylineIntersectShape2.cs:488-495 | ShapeEngine/Geometry/QuadDef/QuadIntersectShape.cs:1561-1568 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:723-730 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:932-939 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:816-823 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:672-679 | ShapeEngine/Geometry/TriangleDef/TriangleIntersectShape.cs:1369-1376 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs:948\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectShape.cs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"3424f2c7045baa409d4522b220974e34bc0efb8c8fd35326e083180511803189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:186-194 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:207-215 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:236-244 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:257-265 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:286-294 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:307-315 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:336-344 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:357-365 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:387-395 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:412-420 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:207\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0c15241260ee00fe856473bfd4d87e719b104c4040a4e90e5cd7f57a4a93cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): ShapeEngine/Content/ContentPack.cs:1926-1932 | ShapeEngine/Content/ContentPack.cs:1968-1974 | ShapeEngine/Content/ContentPack.cs:2012-2018 | ShapeEngine/Content/ContentPack.cs:2054-2060 | ShapeEngine/Content/ContentPack.cs:2096-2102 | ShapeEngine/Content/ContentPack.cs:2138-2144 | ShapeEngine/Content/ContentPack.cs:2180-2186 | ShapeEngine/Content/ContentPack.cs:2222-2228 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Content/ContentPack.cs:1926\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"17993376891cef32c07ca4264755be61e91f7ead73e4d67eb9adb4264c84d1a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:184-191 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:234-241 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:284-291 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:334-341 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:812-819 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:891-898 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:970-977 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1049-1056 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:184\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f5125d14ac1112867bcd4c153bfc70ce4d839105b0bfed0c08e3aeb181cc6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:332-341 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:374-383 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:414-423 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:615-624 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:755-763 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:879-888 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1004-1013 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1129-1138 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:332\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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4ad599a7bd7b5bf2ed0501266fe247ee34374a3da3e5b7975cf32d75513eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:742-749 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:769-776 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:796-803 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:823-830 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:850-857 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:878-885 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:742\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":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0aca8301701464c19eb30a09cc713ddeae4b6c1cf0d35f2ffed68b328501be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:470-478 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:518-526 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:566-574 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:613-621 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:667-675 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:725-733 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:470\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c13434c462725a66750f7c97fb1cbddebc25197939e385a65af649bbfedab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:498-502 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:545-549 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:380-384 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:420-424 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:379-383 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:419-423 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"d874038cda8dc4aea8b2138fa1104a00dcf5f93890b5324ebc818861b94c3c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleContains.cs:132-139 | ShapeEngine/Geometry/PolygonDef/PolygonContains.cs:41-48 | ShapeEngine/Geometry/QuadDef/QuadContains.cs:74-81 | ShapeEngine/Geometry/RectDef/RectContains.cs:98-106 | ShapeEngine/Geometry/TriangleDef/TriangleContains.cs:100-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleContains.cs:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"ShapeEngine/Geometry/CircleDef/CircleContains.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c722aa9bef17551d1da4c7806453288b74b2666fd773b893838ed2c0a813362a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:350-360 | ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs:409-419 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:260-268 | ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:310-318 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:331-340 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c26c6defb9398c57add45f85fefd0eb230fa73e55d28ba2221a36b6128e7a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:33-43 | ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs:86-95 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:56-64 | ShapeEngine/Geometry/RayDef/RayOverlapStatic.cs:86-94 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e870b4a83a7c5a409500e1ba51fa2e07370e92c9d455a5277738c117b914b9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:248-256 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:273-281 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:1070-1078 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:1099-1107 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a125063bdd8c46fdd14f36ac8a8bb0cfdb502d61f12714cf40d3a0c8c5b78af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:428-450 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:451-459 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:673-681 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:682-690 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e354de1faddfc6ae43cab394e13fb304ec73ccb88427f68f681664f1186fb589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): ResourcePacker/BinaryPackManager.cs:387-395 | ShapeEngine/Content/ContentPack.cs:533-541 | ShapeEngine/Content/ContentPack.cs:1025-1032 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ResourcePacker/BinaryPackManager.cs:387\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Content/ContentPack.cs:1024\u0060 calls \u0060Invoke\u0060 and \u0060ShapeEngine/Content/ContentPack.cs:532\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a195e3b8d7a086f8db6a654208f1bfc880ef83e4d91f208e263e86d82dc295c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:343-349 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:377-383 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:418-424 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:343\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ef5b4487c790c94b88423979dad02d4816c4cf5958faf51c4b94d0328cb72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:119-127 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:149-157 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:181-190 \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. 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":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79c7369d305baad01f230c2977c711f08b2d0bfff77f6f2e89a19b9a1023965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:194-200 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:359-365 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:373-379 \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":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fff5963aef12c03b1bb8f59f17b88911cb6e8e30d740c0cb931e80234dc0afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:514-523 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:571-579 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:766-775 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:514\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:764\u0060 calls \u0060ValidateByOther\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:512\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e15cbd84080203e7c24d2b0f3772ebec32146b6430aa371149c449f4960a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:629-637 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:703-711 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:810-819 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:629\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":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8df42289b322f76440153de27c59f3c7d38bd0674f6218bd977fd98ab4a2e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:958-966 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:971-979 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:984-992 \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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"45be3cfd0529aaa1905cfb677322350db6ebb0efcf5526750a38b2d5e0f63894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:243-249 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:294-300 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:354-360 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:243\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Triangle\u0060 in one and \u0060Quad\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c15518064b7589584db38a5e47cd30a5a5405b6041f673e7e5ba99d88c828f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Content/ContentPack.cs:499-506 | ShapeEngine/Content/ContentPack.cs:974-981 \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 \u0060ShapeEngine/Content/ContentPack.cs:499\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Content/ContentPack.cs:982\u0060 calls \u0060Invoke\u0060 and \u0060ShapeEngine/Content/ContentPack.cs:507\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac3f956197e53537dcf07e1c0dd0a1041c98a454fca955ab781f7140dd7a09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Core/Structs/Grid.cs:253-259 | ShapeEngine/Core/Structs/Grid.cs:273-279 \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":"ShapeEngine/Core/Structs/Grid.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"724758c8db62c6e1b69141fe5f1edc5b401b67211c1d29dd18ed524f74ccca8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/Circle.cs:448-454 | ShapeEngine/Geometry/CircleDef/Circle.cs:523-529 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060result\u0060 to \u0060Points\u0060 in one and \u0060Polyline\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6674b5226da27f6d59807aced5d72410f1420dc86ba19c9b8ae412ee6e4c95b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:332-336 | ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:369-373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Polygon\u0060 in one and \u0060Polyline\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e5bb03a4722fc02d8998f905613cbc7809478e1fe8101c8f41b94dd336b3c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs:72-76 | ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs:97-101 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs:72\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060circleCenter\u0060 to \u0060Vector2 other) GetClosestPointCircleLine(Vector2\u0060 in one and \u0060Vector2 other) GetClosestPointCircleRay(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26f6d0f9b818d26a4c4d4f59d1f11684f11cae3f16b884114cbdb529dede961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1818-1826 | ShapeEngine/Geometry/CircleDef/CircleDrawing.cs:1847-1855 \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":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"921029708f4aad5cabbbc2d896438ac2d3e06624bc13496105bb586075145e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:380-386 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:499-505 \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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9aac746d9d5f5c377bcaa2d3d9fb4d04b48c7754d87cb514f793da58506344"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:421-427 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:543-549 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:421\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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf87c3126dfccd56534cb9c52a96302f0b93886506e3b462450486d8f1caf5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:298-303 | ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs:311-316 \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":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"626d015a341f8c84f018e177bac5c18788f6819b28abeafe9373f28bd6910768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:808-815 | ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:862-869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:808\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":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d59c1dce31f5727100027ef7bf2385774059625f9087db917e2694e68b4a7cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:266-275 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:323-331 \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 \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:266\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":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc20d0789ee2987df35797b79df13b34243fa658bdee7931409016978490aa58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:381-387 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:455-461 \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 \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:381\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":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9551c26269bc3f6d3ed1e4de347cb538403984759fe40196bb198eb7d313141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:89-96 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:90-98 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 224 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"947bf47228ac75207dca2190fedd008bc522c155113561531645c44fa9c9eb96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:419-423 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:458-462 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Polygon\u0060 in one and \u0060Polyline\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4063f1ec57e9dbee34f396b322f47b14972844873e267d02a35812eaf0c441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:28-33 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:33-38 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"00be8d3138f33d43c608237f441d085a8e95c678e3d4b73611311c5e5b31aa44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:193-198 | ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:229-234 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:193\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":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e34237c8da314ebf13968dc3aeb44878a70412ab9cfa6117b142096134d4469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:225-229 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:268-272 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a28b295063f863518d9cf166bd4fc5fcb5c4642caa814bea32a4dce1be80879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:261-265 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:311-315 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c8ab8d3aa7a55642438823027ac2ef1febb32966e2587e49c7e0f66b2ba6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:297-301 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:354-358 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f830c520a13771b0d0227ec4daaf70307a9871c3532ac200de3ee486786c2d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1131-1139 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1156-1164 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1156\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa04937e9d7ded3c556308035128c728e7f2d4a7adc920b734a43be293e7dd45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:381-387 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:402-408 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:381\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":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"485e7e0e22b2cb1cff89326d97b4c04351913d2f8248a8ea104de40e58f39b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:111-118 | ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:199-206 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:111\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":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"66491491a3863cfaf126b64ca8cf7f4f0be169ae076d856790273924768aa0d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonMath.cs:1166-1174 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:303-311 \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":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaa768c1d2c1d92b71991c650096701276668c10d256b0c92ecef5050698f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonOverlapStatic.cs:130-138 | ShapeEngine/Geometry/PolygonDef/PolygonOverlapStatic.cs:170-179 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonOverlapStatic.cs:130\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":"ShapeEngine/Geometry/PolygonDef/PolygonOverlapStatic.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3859cb6956c5169d26dcdc15be999e582ba58b595b54c8bb2142a37f175fc94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:229-234 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:272-277 \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 \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:229\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":"ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e92acb27e18c1874aa356900f4218bce9e689b5c40e034ee3c71552f7b75aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectCollision.cs:135-142 | ShapeEngine/Geometry/RectDef/RectCollision.cs:188-195 \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 \u0060ShapeEngine/Geometry/RectDef/RectCollision.cs:135\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectCollision.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3531f9ee27162d9d3ab3f703988788f074e551d172d3422177229a263b59dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:195-200 | ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:880-885 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:877\u0060 calls \u0060foreach\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs:192\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape2.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"54654889e1c5f8a3eec5bcc3c2bcf628793eb4b9ec7944ccbceee2619d7de07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:407-411 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:447-451 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Polygon\u0060 in one and \u0060Polyline\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee182605c96c10824f8a74e198dcd8261df8f0262739463809e7ee7b68bedf08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:581-589 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:591-599 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc456bde583abf9f53636f28fa80f2e63c61a6f9b9043f700b7c6b1972da3c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:261-267 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:610-616 \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 \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:261\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":"ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e23fe976fa0c078c48fcc27cbb459b15eca584a10d050cd528c5c2883476a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:288-294 | ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:639-645 \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 \u0060ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs:288\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":"ShapeEngine/Geometry/SegmentsDef/SegmentsIntersectShape.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e66585dad2f468916876201e60a9939e7c28f9d0ce9663789e0c4e5cf98a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:733-738 | ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs:800-805 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Polygon\u0060 in one and \u0060Polyline\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ad9c6df0a665d129bc8ff3345816a654bded84fc4aa3dfc61809c30a4157e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Serialization/DataObjectDict.cs:124-131 | ShapeEngine/Serialization/DataObjectDict.cs:236-243 \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 \u0060ShapeEngine/Serialization/DataObjectDict.cs:124\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":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bdd674d24cff44e347bb314baba1ca12468784e8dd6e3e5066510de332b87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/ShapeClipper/ShapeClipperDrawing2D.cs:201-208 | ShapeEngine/ShapeClipper/ShapeClipperDrawing2D.cs:248-255 \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 \u0060ShapeEngine/ShapeClipper/ShapeClipperDrawing2D.cs:201\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":"ShapeEngine/ShapeClipper/ShapeClipperDrawing2D.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9423fcc22fd093caac5d27bac6d19a3669794456e4efe8869c18fad84f906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ResourcePacker/TextPackManager.cs:252-258 | ResourcePacker/TextPackManager.cs:393-399 \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 \u0060ResourcePacker/TextPackManager.cs:252\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":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6efd98e6c41e85192edf925618a2127860aea5277a053c62770cd1049286b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 16): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:444-452 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:493-501 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:540-548 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:784-793 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:863-872 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:942-951 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1021-1030 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1100-1109 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:333-341 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:374-382 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:414-422 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:615-623 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:741-748 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:865-873 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:990-998 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1115-1123 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b6883cb235dfcefc34beb063660e54900c1b9bd58999fc547cb3672b11fa2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:422-428 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:544-550 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:436-442 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:560-566 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:435-441 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:557-563 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:434-440 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:559-565 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 34 separate duplicated blocks between them, totalling at least 980 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79d8c6541a4568fed7bfb702233c969c0a22bdb1672c4e1a281b0c712d60f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:86-90 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:588-592 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:641-645 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:697-701 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:80-84 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:455-459 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:497-501 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:541-545 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 340 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"957357b6ce365be35d1b656d852bd67960dd377b48551035a1ef329e40d48672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): ShapeEngine/Pathfinding/Pathfinder.cs:1100-1107 | ShapeEngine/Pathfinding/Pathfinder.cs:1119-1126 | ShapeEngine/Pathfinding/Pathfinder.cs:1138-1145 | ShapeEngine/Pathfinding/Pathfinder.cs:1157-1164 | ShapeEngine/Pathfinding/Pathfinder.cs:1175-1182 | ShapeEngine/Pathfinding/Pathfinder.cs:1192-1199 | ShapeEngine/Pathfinding/Pathfinder.cs:1211-1218 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Pathfinding/Pathfinder.cs:1100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Pathfinding/Pathfinder.cs:1099\u0060 calls \u0060GetBoundingBox\u0060 and \u0060ShapeEngine/Pathfinding/Pathfinder.cs:1174\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dcf1354c0747de8450aa4f8d9e9e64bbd3720143848f8d76be6f1d51230605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:918-925 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:926-933 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:934-941 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:961-968 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:974-981 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:987-994 \u2014 all 6 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":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"88527b614d0be02d2bab187f7c9adea81880263d011219f6d296103dca3a9738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:80-85 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:457-462 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:499-504 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:542-547 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:80-85 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaec79d58d91df3fb82ef5492c1ada45eeadebdf733e0b520f2fec198cb9c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:112-119 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:247-254 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:272-279 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:1069-1076 | ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:1098-1105 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:112\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:121\u0060 calls \u0060Rotate\u0060, \u0060DrawTriangle\u0060, \u0060ToRayColor\u0060 and \u0060ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs:255\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentDrawing.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a47cbb09312c4968f7edf4e0f5088dde87855721b10696126d5bef64639a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:334-341 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:421-428 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:410-418 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:409-416 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:334\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":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"832ee0b37be58edf002b5e3c1623eaba5cd8df84c8988d401082c23678422575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:373-377 | ShapeEngine/Geometry/LineDef/LineClosestPoint.cs:462-466 | ShapeEngine/Geometry/RayDef/RayClosestPoint.cs:452-456 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs:451-455 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/LineDef/LineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs:373\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":"ShapeEngine/Geometry/CircleDef/CircleClosestPoint.cs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"4549e8d537f17b3cb7e91f235197c989c3ffaded468330fd2a275a747555f392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): ShapeEngine/Geometry/CircleDef/CircleContains.cs:139-146 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:663-670 | ShapeEngine/Geometry/RectDef/RectContains.cs:106-113 | ShapeEngine/Geometry/TriangleDef/TriangleContains.cs:107-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleContains.cs:139\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":"ShapeEngine/Geometry/CircleDef/CircleContains.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a64796fbf078364941bfa2046218bf61caccdc6c04fadd5b1b626dd03501f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:157-161 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:775-779 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:157-161 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:756-760 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"38006e6feee088823ac7a387ab5e98b349f803c9584cb13d06be10e1cef651dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:182-186 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:636-640 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:182-186 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:631-635 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"79df97bbc25d909d27859532bf2058812c2db33051d7e6dc8ae42091db5aaf2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:207-211 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1025-1029 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:207-211 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1004-1008 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1141af6049aba32c16ebc4917c731c85cf538d247a4cd1aca33f2af532b6c148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:232-236 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:900-904 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:232-236 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:880-884 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2487bd8439b1ca9b14ef1b9b5d546cd867e8205757897dacb2986c3abdd949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ShapeEngine/Geometry/CustomDrawing.cs:86-90 | ShapeEngine/Geometry/CustomDrawing.cs:127-131 | ShapeEngine/Geometry/CustomDrawing.cs:164-168 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tailPoint\u0060 to \u0060Triangle head) CalculateArrowPoints(Vector2\u0060 in one and \u0060Triangle head) CalculateArrowPoints2(Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CustomDrawing.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d003713e179e645bb6cecc5ec19e271568d006ba1ff1b4590cc884a0ca00f621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): ShapeEngine/Geometry/CustomDrawing.cs:212-219 | ShapeEngine/Geometry/CustomDrawing.cs:247-254 | ShapeEngine/Geometry/CustomDrawing.cs:285-291 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CustomDrawing.cs:212\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CustomDrawing.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b365973b9bb3b56850beca6630f1c007674b06e1c4a9fc171434e999d3ac6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/Polygon.cs:348-354 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:423-429 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:506-512 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/Polygon.cs:348\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":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7d96a52b1b445be1a2e98b1ee42400cceeb841abda990b580f3b74dab6848e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Geometry/PolygonDef/Polygon.cs:373-378 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:454-459 | ShapeEngine/Geometry/PolygonDef/Polygon.cs:537-542 \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":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e534f2a9669e0dd821253a74aa38258dc501ba6188588178922e6c4a1a94ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Audio/AudioDevice.cs:731-736 | ShapeEngine/Audio/AudioDevice.cs:785-790 \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":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d26fd73352eab380868d4085a049c85f9e306aad301ff20801c9dfc58b6f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Core/GameDef/GameSavegameSystem.cs:115-119 | ShapeEngine/Core/GameDef/GameSavegameSystem.cs:311-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Core/GameDef/GameSavegameSystem.cs:115\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":"ShapeEngine/Core/GameDef/GameSavegameSystem.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc2b87aaaa847deb8c3eebe86447462150b38cf93b750bb0153e3653593b4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:52-57 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:94-99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6b41f275814d824266cfd9b2e8bcfb1aea7fe9d9574c3e41a4f89c68dc5cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:346-351 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:458-463 \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":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a491fa107a88db194a3efb2fb4e0fd42c1ab9dbf7fc017e8d835f23000877a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs:144-150 | ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs:185-191 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060result\u0060 to \u0060Polygon\u0060 in one and \u0060Polygons\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClipping.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cbc00eafb44bb60466c0a9d48a06eb3be7b9823ba6aa355ea601c45ebb3a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs:189-193 | ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs:225-229 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs\u0060 and \u0060ShapeEngine/Geometry/PolylineDef/PolylineClosestPoint.cs\u0060 as WHOLE FILES: this scan already matched 30 separate duplicated blocks between them, totalling at least 449 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonClosestPoint.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1571e19650648a97e8823f0613ec82c9dcfe535e78ba1c7b447eb170cc82fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:284-291 | ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:312-319 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs:284\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonContainsStatic.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d0aaa780afc894db40cc9cf613fffc26be610691636d2063cad1a9afdc2045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:281-288 | ShapeEngine/Geometry/PolygonDef/PolygonOverlapStatic.cs:179-186 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12e5fa2d027fd72630e08cde4edbe575661a4a48591a5adc85b463e4c492ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/Quad.cs:378-384 | ShapeEngine/Geometry/RectDef/Rect.cs:693-699 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ea12b8b50e71fa55f4a19a9932a07b1343d54e8875ad93d7f44370ae85f024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Geometry/RectDef/Rect.cs:232-239 | ShapeEngine/Geometry/RectDef/Rect.cs:254-261 \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 \u0060ShapeEngine/Geometry/RectDef/Rect.cs:254\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a114a168e0524a466ac1ad754eeaba57e8e25499ded16bc6504a368a7b57027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:111-115 | ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:259-263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:108\u0060 calls \u0060foreach\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectIntersectShape.cs:256\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectIntersectShape.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f30d36532b70c30c3f334cf0b11fd754ed6071b58a0f64120b0294536a02e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Serialization/DataObjectDict.cs:151-156 | ShapeEngine/Serialization/DataObjectList.cs:240-245 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Serialization/DataObjectDict.cs:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Serialization/DataObjectDict.cs:149\u0060 calls \u0060ToList\u0060 and \u0060ShapeEngine/Serialization/DataObjectList.cs:238\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"009149eb88595fcb04aa553eac33c8db2c6f50a90a52aad89dc49bdecbce9c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Serialization/DataObjectDict.cs:270-275 | ShapeEngine/Serialization/DataObjectList.cs:271-276 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Serialization/DataObjectDict.cs:270\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Serialization/DataObjectDict.cs:268\u0060 calls \u0060ToList\u0060 and \u0060ShapeEngine/Serialization/DataObjectList.cs:269\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/DataObjectDict.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e349fb961b31a45442e2e697a72d5770634aa5bada45bb149152bc6ad613412c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Serialization/DataObjectList.cs:182-188 | ShapeEngine/Serialization/DataObjectList.cs:205-211 \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 \u0060ShapeEngine/Serialization/DataObjectList.cs:182\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":"ShapeEngine/Serialization/DataObjectList.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"188ed857313c3c1dcb27cd93cd189ef64ae8054061ec40e3338f13be1676c6bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/ShapeClipper/ShapeClipper64.cs:232-238 | ShapeEngine/ShapeClipper/ShapeClipper64.cs:373-379 \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":"ShapeEngine/ShapeClipper/ShapeClipper64.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5582551db7dd16235c2c0d1ff434dca52f4479997d80d5885c9c45f65ccc3763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Text/BitmapFont.cs:157-163 | ShapeEngine/Text/BitmapFont.cs:181-187 \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 \u0060ShapeEngine/Text/BitmapFont.cs:157\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":"ShapeEngine/Text/BitmapFont.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5210f5626ece57d5d65038349fc1095e880d45fdcac04f2f846e3ba13ff8dd2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 40): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:36-43 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:132-139 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:335-341 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:606-612 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:746-752 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:870-876 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:994-1000 | ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:1118-1125 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:34-41 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:157-164 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:449-456 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:790-797 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:869-876 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:948-955 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1027-1034 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1106-1113 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:37-44 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:137-144 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:338-345 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:621-628 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:760-767 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:885-892 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1010-1017 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:1135-1142 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:37-44 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:137-144 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:339-345 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:617-623 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:742-748 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:866-872 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:990-996 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:1114-1120 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:37-44 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:137-144 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:338-345 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:620-627 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:745-752 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:870-877 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:995-1002 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:1120-1127 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:45\u0060 calls \u0060Clear\u0060, \u0060EnsureCapacity\u0060 and \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:343\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"05250c6a301cfa749fe0d32c0b249d44a258a305e139ba60369368d7ff60f624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 13): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:86-92 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:588-594 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:641-647 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:697-703 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:80-86 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:457-463 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:499-505 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:542-548 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:80-86 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:80-86 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:455-461 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:497-503 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:541-547 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 314 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"79277150d3a3ada16c5759014c7c2fd36cbbdc2c3382b5dede3e4d5d9bc86ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10): ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:814-820 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:835-841 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:893-899 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:914-920 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:972-978 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:993-999 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1051-1057 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1072-1078 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1131-1137 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:1156-1162 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:814\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9233b0efe1f1d87e0d9ba1a1f337e2a802ca18f1f792c90525540d3cb436ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:94-101 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:469-476 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:512-518 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:556-562 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:94\u0060 calls \u0060Clear\u0060 and \u0060ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:469\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e3cedd5844a61acb4c7a49b56e86b7c31d9a0b6a4fe9f5c4b23ad83e7b2163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:94-101 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:467-474 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:509-515 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:553-559 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:94\u0060 calls \u0060Clear\u0060 and \u0060ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:467\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6943f48fb6c5fe0db57730250b90f4bf2f252071b7ebbf9d53bd802575cd108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:413-420 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:421-427 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:658-665 | ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs:666-672 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8836996c8a08f9612e8807485cfcedff59263de34f1f8f0f2e37b43b92232e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:94-101 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:467-474 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:510-516 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:555-561 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:94\u0060 calls \u0060Clear\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:467\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f81e0ab56b9bec301dc6da57fa48d7472de1f6565a2669f8c8688042e5dbaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ResourcePacker/BinaryPackManager.cs:320-326 | ShapeEngine/Content/ContentPack.cs:480-486 | ShapeEngine/Content/ContentPack.cs:1432-1438 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55b3a82fa27bfe914e4a4438ed71395ed6b33fb33989d77dee82696bc3e5d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/Quad.cs:193-199 | ShapeEngine/Geometry/QuadDef/Quad.cs:228-234 | ShapeEngine/Geometry/QuadDef/Quad.cs:261-267 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/Quad.cs:193\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060pivot\u0060 to \u0060AnchorPoint\u0060 in one and \u0060Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bcf6499bed3c0497e289b7f2765d4a5688ebe50c21a9b00b60b86067c52353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:299-305 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:325-331 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:377-383 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:306\u0060 calls \u0060OverlapSegmentSegment\u0060 and \u0060ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:385\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadOverlap.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ec63b234473ddb9ab76cd9ac3e2d06c30ed2e6331b315bf35913cf65a4a133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Text/BitmapFontAtlas.cs:217-224 | ShapeEngine/Text/BitmapFontAtlas.cs:357-363 | ShapeEngine/Text/BitmapFontAtlas.cs:433-439 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Text/BitmapFontAtlas.cs:353\u0060 calls \u0060Max\u0060, \u0060Ceiling\u0060, \u0060Sqrt\u0060 and \u0060ShapeEngine/Text/BitmapFontAtlas.cs:215\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFontAtlas.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"07de1e5cfac712556cb3af84129f6d2400da9fd4066316526c9d267feb1ca8dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Audio/AudioDevice.cs:610-614 | ShapeEngine/Audio/AudioDevice.cs:654-658 \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":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23d290b4bbd4826ac170298fd0ea1a4f2c9923cfe557677c1c55865c6c19ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Core/TriangleBatch.cs:489-493 | ShapeEngine/Core/TriangleBatch.cs:649-653 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Core/TriangleBatch.cs:647\u0060 calls \u0060Begin\u0060 and \u0060ShapeEngine/Core/TriangleBatch.cs:487\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"543fed21c5005017fbacbef61e1bf685735e2f288655d6bc22a597bf4adc0d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Core/TriangleBatch.cs:536-540 | ShapeEngine/Core/TriangleBatch.cs:619-623 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Core/TriangleBatch.cs:617\u0060 calls \u0060Begin\u0060 and \u0060ShapeEngine/Core/TriangleBatch.cs:534\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b624dc1ba71680c6e5d77231f041dd0f44b72e352569abd46b7eae9c732d9668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs:43-49 | ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs:312-318 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060circleCenter\u0060 to \u0060Vector2 other) GetClosestPointCircleSegment(Vector2\u0060 in one and \u0060Vector2\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleClosestPointStatic.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85b9163952324aa1ae75757d8b2cf9107e4fa21f2f2950e8ab30197e61c3636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/Collider.cs:1792-1806 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:1822-1836 \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 \u0060ShapeEngine/Geometry/CollisionSystem/Collider.cs:1792\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Collider\u0060 in one and \u0060IShape\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddd4f7e96975e410bb4e5ebe119c024ab2bd093c5b67dc69930beb685d2b723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:329-334 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:863-868 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:329\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":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"734687bcd588ae5ed39453dd546e536f4ff3151abafb44bcc3b2582846ad0593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:357-362 | ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs:891-896 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs\u0060 and \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs:357\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":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e1870ca5c34d274595b9ff4a2c2cac61dcc8d2f5437a02f777ad1ae8a5bb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:115-119 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:95-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:115\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":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb50836575b644a2215a1299be414f500b1f136ad5a75d22761cc5be6ba2cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs:136-140 | ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape2.cs:119-123 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.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":"ShapeEngine/Geometry/PolygonDef/PolygonIntersectShape.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b05d7b80385f5766c5c50c680085bbd326555c08ab08358c59d558a3e826fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Stats/StatSet.cs:729-735 | ShapeEngine/Stats/StatSet.cs:873-879 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Stats/StatSet.cs:729\u0060 calls \u0060Abs\u0060 and \u0060ShapeEngine/Stats/StatSet.cs:873\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dea89ccaa0d706b81682edffc46e1c64839afa05e23649cd4d6f4c4a801f27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:152-156 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:209-213 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:266-270 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:323-327 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:380-384 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:437-441 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:494-498 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:551-555 | ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs:608-612 \u2014 all 9 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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/CollisionHandlerIntersectSpace.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c7fa17b9c4b1d9aafd24024330f51caa286e25893e3b50698b5df9b78da9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:633-638 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:648-654 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:679-684 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:694-700 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:725-730 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:740-746 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:772-777 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:787-793 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e1e6f585d530f2a651b5343722100d4f1234747e0aecdf9a8e702127aebeaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): ShapeEngine/Geometry/LineDef/LineDrawing.cs:28-32 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:45-49 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:62-66 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:79-83 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:96-100 | ShapeEngine/Geometry/LineDef/LineDrawing.cs:118-122 \u2014 all 6 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mask\u0060 to \u0060Triangle\u0060 in one and \u0060Circle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineDrawing.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3262a56b6826b499e271095d0b0d1bcbc1ec6102e15e1b71125a88bf40f7b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleContains.cs:137-142 | ShapeEngine/Geometry/CollisionSystem/Collider.cs:661-666 | ShapeEngine/Geometry/PolygonDef/PolygonContains.cs:46-51 | ShapeEngine/Geometry/RectDef/RectContains.cs:104-109 | ShapeEngine/Geometry/TriangleDef/TriangleContains.cs:105-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Geometry/CircleDef/CircleContains.cs:137\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":"ShapeEngine/Geometry/CircleDef/CircleContains.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7b86fca3b4852706479d21ea9aff042a06dec9d8d2b1fb58d8aa8859e213e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:958-963 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:971-976 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:984-989 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:997-1002 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"350cd1dfd45e8b0be87bc3cbba74eded2124139cfed24493dc54c34057d209df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1078-1083 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1095-1101 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1110-1116 | ShapeEngine/Geometry/QuadDef/QuadDrawing.cs:1130-1138 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a38d10e65c2d2fe87ec0774b0916c2025cb945fd12484c9a93e6571253a87df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Core/TriangleBatch.cs:560-565 | ShapeEngine/Core/TriangleBatch.cs:588-593 | ShapeEngine/Core/TriangleBatch.cs:679-684 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060ShapeEngine/Core/TriangleBatch.cs:586\u0060 calls \u0060Color4f\u0060 and \u0060ShapeEngine/Core/TriangleBatch.cs:558\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4c3bc43d241550a9232b80409ee9321549956364560483cac8b28a206ee454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ShapeEngine/Text/BitmapFontAtlas.cs:321-325 | ShapeEngine/Text/BitmapFontAtlas.cs:376-380 | ShapeEngine/Text/BitmapFontAtlas.cs:452-456 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Text/BitmapFontAtlas.cs:321\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/BitmapFontAtlas.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"28229a583170c9694674566e81b60495c2a2b3d1ffe0ab84721d0e3836359295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:135-140 | ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:150-155 \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 \u0060ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:135\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:156\u0060 calls \u0060OverlapSegmentCircle\u0060 and \u0060ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:141\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"10331203224108419ec4f7d69c494d78645b8818ba59f76c885d2e9c17c03c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:862-866 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:883-887 \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 \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:862\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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"6735ecb110087e5dcf42c5e4e91d80b66eb3cef2782ec426569e5224da81e258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Input/InputExtensions.cs:229-233 | ShapeEngine/Input/InputExtensions.cs:247-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060axis\u0060 to \u0060this ShapeGamepadJoyAxis\u0060 in one and \u0060this ShapeGamepadTriggerAxis\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputExtensions.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"075b664603d070fee80b078c0f181d614be777574c30082f57641e33a42d98e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:864-868 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:913-917 \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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"8759d02fe4e40f73a70a59790e985941c68d1b45588131e0ea08501776f62dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:885-889 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:935-939 \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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef11eb4802e12787d51bc5619f66fc35f33793e158385d93253c1e64cef1c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:912-916 | ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs:934-938 \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":"ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6da30394029e4c889626e4ff2f80a6f2f5b7db58a84a5306a0b186b16e27957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs:161-165 | ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs:187-191 \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":"ShapeEngine/Geometry/QuadDef/QuadOverlapStatic.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37eec4c16faf0076ad8863901e56db8d42660fa2b50aa88e82680202d3a463e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Text/TextFont.cs:294-298 | ShapeEngine/Text/TextFont.cs:309-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ShapeEngine/Text/TextFont.cs:294\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":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7940e1a743de831030ca9b497ef53642e98e29df4fb65ad4fac335d7e55bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 3): ShapeEngine/Geometry/LineDef/LineIntersectShape.cs:631-675 | ShapeEngine/Geometry/RayDef/RayIntersectShape.cs:554-598 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectShape.cs:644-688 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/LineDef/LineIntersectShape.cs\u0060 and \u0060ShapeEngine/Geometry/RayDef/RayIntersectShape.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 203 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c729a05692c5f97087e98f05a9a1bb780eb6ad58cb21f5ca78c5fa930b3756c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs:451-483 | ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs:524-556 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"285d6db9397cb5df65e84ec36c39debea3592e2edf84bc4fd280c4e5041f5f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Core/Logging/Logger.cs:67-72 | ShapeEngine/StaticLib/ShapeLogger.cs:106-111 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddba1a6089457237b2a868083922bcad27aef20f03c8f9be72e62c10922995c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Core/Logging/Logger.cs:79-83 | ShapeEngine/StaticLib/ShapeLogger.cs:118-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"344d510034dc823b6fe4f4a35c8f60bd37617b31a5f574b157ca46120e99d883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleContains.cs:117-124 | ShapeEngine/Geometry/PolygonDef/PolygonContains.cs:23-30 | ShapeEngine/Geometry/QuadDef/QuadContains.cs:60-67 | ShapeEngine/Geometry/RectDef/RectContains.cs:81-88 | ShapeEngine/Geometry/TriangleDef/TriangleContains.cs:81-88 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleContains.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"afebba9c0bda687d86aa083d3acbcf4c566421e7630df1529cb6265a234c8106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11): ShapeEngine/Geometry/CircleDef/CircleOverlap.cs:23-31 | ShapeEngine/Geometry/LineDef/LineOverlap.cs:120-128 | ShapeEngine/Geometry/PolygonDef/PolygonOverlap.cs:124-132 | ShapeEngine/Geometry/PolylineDef/PolylineOverlap.cs:139-146 | ShapeEngine/Geometry/QuadDef/QuadOverlap.cs:106-114 | ShapeEngine/Geometry/RayDef/RayOverlap.cs:109-117 | ShapeEngine/Geometry/RectDef/RectOverlap.cs:127-135 | ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs:103-111 | ShapeEngine/Geometry/SegmentsDef/SegmentsOverlap.cs:96-104 | ShapeEngine/Geometry/TriangleDef/TriangleOverlap.cs:164-172 | ShapeEngine/Geometry/TriangulationDef/TriangulationOverlap.cs:23-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 11 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 11 times. 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":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b488c876fec5a73801705a2f6e78df721463691bc1aa675f641ff6d17d26be9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs:452-460 | ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs:304-312 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseDynamicSpatialHash.cs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19d965632511f8cc3fc59a4b486a1d61194ca9e2d6b8d1b583b6df9512cafca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs:583-595 | ShapeEngine/Geometry/SegmentsDef/Segments.cs:80-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectionPoints.cs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e946f64d617909d9a86cbc5135005ec32ec56ba1be804c160a20a4a96ffcd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/LineDef/Line.cs:74-78 | ShapeEngine/Geometry/RayDef/Ray.cs:61-65 \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":"ShapeEngine/Geometry/LineDef/Line.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cfa44f34a891ae38afa9c5d2e510f7befaf6beb74ee26448bc4615afaa05f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/LineDef/Line.cs:88-92 | ShapeEngine/Geometry/RayDef/Ray.cs:72-76 \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":"ShapeEngine/Geometry/LineDef/Line.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8db45b8c58cb39ca1e2dd861185f5c6fdd74ae4291061fbd1764c86b6db74b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/LineDef/Line.cs:103-107 | ShapeEngine/Geometry/RayDef/Ray.cs:84-88 \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":"ShapeEngine/Geometry/LineDef/Line.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b378ba550145500a781f54c2f01364d2ec8a89ee0a637f0704c4b9b8e2c62c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs:65-70 | ShapeEngine/Geometry/PolygonDef/PolygonShape.cs:68-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abe4b6681185c8397d94a0d21cd14b1833a720fc02054c47d59fa73e89e9ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 4): ShapeEngine/Geometry/QuadDef/QuadMath.cs:99-138 | ShapeEngine/Geometry/RectDef/RectMath.cs:199-238 | ShapeEngine/Geometry/SegmentDef/SegmentMath.cs:105-137 | ShapeEngine/Geometry/TriangleDef/TriangleMath.cs:501-536 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. 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":"ShapeEngine/Geometry/QuadDef/QuadMath.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe083de6af5acbb9ba3cd026ea2e3f114f984c64ac8c3f98629ff080f4b41d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Geometry/RectDef/Rect.cs:755-761 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:497-503 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"84efc263be39e588f324288a12cbf6606a8c2979cf29b0112b6d365e07de1c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ShapeEngine/Geometry/RectDef/Rect.cs:1285-1290 | ShapeEngine/Geometry/TriangleDef/Triangle.cs:1305-1310 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"980e9e1e27fff8e15d1aada08521a7b4a27c8c3f102b33dd85f9862efc73a689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs:92-96 | ShapeEngine/Geometry/TriangulationDef/TriangulationMath.cs:199-203 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/SegmentsMath.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a9db94eb77e6383e4ae65b88087c130210a862907b997f527fbd34197ccf81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ShapeEngine/Input/InputTypeGamepadButton.cs:37-41 | ShapeEngine/Input/InputTypeKeyboardButton.cs:52-56 | ShapeEngine/Input/InputTypeMouseButton.cs:43-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadButton.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80424d2c3291c2feb679f665f28bd97f1fe26dc55094371f018c0dace8e4d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ShapeEngine/Input/InputTypeGamepadJoyAxis.cs:79-83 | ShapeEngine/Input/InputTypeGamepadTriggerAxis.cs:56-60 | ShapeEngine/Input/InputTypeMouseAxis.cs:43-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadJoyAxis.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef58750e5d6f817aa9df13bbded4fa9dfc797dcd13523ca1fea9b9c9c7b623a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Input/InputTypeMouseAxis.cs:51-55 | ShapeEngine/Input/InputTypeMouseWheelAxis.cs:50-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeMouseAxis.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15f1bbf7ae77d02c732d87cb478883312f9b78ad535163153c864ca651e7128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Input/InputTypeMouseAxis.cs:59-63 | ShapeEngine/Input/InputTypeMouseWheelAxis.cs:58-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeMouseAxis.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9ad6d0feacbdef51d7ebf4bfd1164e5658d811ca9d1be0f6e021483f7ec51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): ShapeEngine/Input/ModifierKeyGamepadButton.cs:84-88 | ShapeEngine/Input/ModifierKeyKeyboardButton.cs:75-79 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/ModifierKeyGamepadButton.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a473939da0dd327cb38ef1be0f865ab76a9b10690dc2fdb5ac5c772b79268f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): ShapeEngine/Input/ModifierKeyGamepadButton.cs:97-101 | ShapeEngine/Input/ModifierKeyKeyboardButton.cs:88-92 | ShapeEngine/Input/ModifierKeyMouseButton.cs:98-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/ModifierKeyGamepadButton.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacff9b183460ab3303ccec06ca7a18c78d6197fb93d7eaa31657ca0e8f85f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Screen/CameraTweenOffset.cs:66-72 | ShapeEngine/Screen/CameraTweenRotation.cs:58-65 | ShapeEngine/Screen/CameraTweenZoomFactor.cs:58-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. 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":"ShapeEngine/Screen/CameraTweenOffset.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eb27120ff0a9b9db5feb342e0d91bc9fda671087238266bb8b8daf0c5761d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Serialization/JsonClassSerializer.cs:62-68 | ShapeEngine/Serialization/JsonStructSerializer.cs:69-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/JsonClassSerializer.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fffba6a0061fe5d5a383f7583a67896003d187561aac5a7d424b0a4369acccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ShapeEngine/Serialization/JsonClassSerializer.cs:118-130 | ShapeEngine/Serialization/JsonStructSerializer.cs:117-129 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/JsonClassSerializer.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"93430a9ab32871b794b8d9e693a8d9c2e13cb021c091ea852aeeee0e0d73f961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): ShapeEngine/Serialization/XmlClassSerializer.cs:29-39 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:31-41 | ShapeEngine/Serialization/XmlStructSerializer.cs:29-39 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlDataObjectSerializer.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1602f7ea8c8f7293b2f3265bbe8422944a6728024ad822898e239b4c24be72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): ShapeEngine/Serialization/XmlClassSerializer.cs:49-54 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:51-56 | ShapeEngine/Serialization/XmlStructSerializer.cs:49-54 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlDataObjectSerializer.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca60b4aae327b2883bc20c0b19a1a12222e7d530fa5119694284829fd5c5132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): ShapeEngine/Serialization/XmlClassSerializer.cs:78-84 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:85-91 | ShapeEngine/Serialization/XmlStructSerializer.cs:77-83 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlDataObjectSerializer.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"028c56c3d920ef88d99f0ee9c14e7671d8d18e5f58d97c87e76f4283d809c407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Serialization/XmlClassSerializer.cs:92-98 | ShapeEngine/Serialization/XmlStructSerializer.cs:92-98 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlStructSerializer.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"294bd7bd8d1c3ce440bf09c4d48de1e386e55faa54218ce7c024818864200576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ShapeEngine/Serialization/XmlClassSerializer.cs:110-119 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:123-132 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlDataObjectSerializer.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b55882fcc960b7774b81485c7ec9bb7665b1c6f47d027d1792f1cad09cda12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ShapeEngine/Serialization/XmlClassSerializer.cs:174-180 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:201-207 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlDataObjectSerializer.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b96815b8a19cc218ee094da90366155f21819ec582924ebd780539e67b1704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ShapeEngine/Serialization/XmlClassSerializer.cs:193-203 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:223-233 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlDataObjectSerializer.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39313dd28c16a26a0484f95aa2224f9b92726283429bd6a8a81f0325f5eda45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): ShapeEngine/Serialization/XmlClassSerializer.cs:213-220 | ShapeEngine/Serialization/XmlDataObjectSerializer.cs:249-256 \u2014 before extracting anything, compare \u0060ShapeEngine/Serialization/XmlClassSerializer.cs\u0060 and \u0060ShapeEngine/Serialization/XmlDataObjectSerializer.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Serialization/XmlClassSerializer.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dd7d71836f850420db3e88e305be316fdfb1917a1253c14472b58bdc985996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs:581-586 | ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs:764-769 | ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs:597-602 | ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs:594-599 | ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs:596-601 \u2014 before extracting anything, compare \u0060ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs\u0060 and \u0060ShapeEngine/Geometry/PolygonDef/PolygonDrawingStriped.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ab57d20ef36ba09a1cd5befe50ce7939b491146a90f6b683c005840957b4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Examples/Scenes/ExampleScenes/InputExample.cs:99-165 | Examples/Scenes/ExampleScenes/InputExample.cs:371-402 | Examples/Scenes/ExampleScenes/InputExample.cs:469-526 | Examples/Scenes/ExampleScenes/InputExample.cs:593-636 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9df895ead35ea71cd2bf15cc3bc90329b1f8e77f15046a614f986d8d2cbdb85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): Examples/Scenes/ExampleScenes/CurveDataExample.cs:106-150 | Examples/Scenes/ExampleScenes/CurveDataExample.cs:152-196 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CurveDataExample.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b54ff4604228b991f9d470f3bbe1346db8801720704443463585de4e0d2b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Examples/Scenes/ExampleScenes/PathfinderExample.cs:316-344 | Examples/Scenes/TextExampleScene.cs:375-421 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4244a4150bc78ce1877987ca31e9e9967ab25520aed5bb017c004792de69ae3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 24\u002B corresponding lines): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:731-754 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:866-889 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1007-1030 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1153-1176 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1306-1329 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40d79ebd00e0cd2b48c380803a416b87450bbc5b45a05e9818dd26b90559f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:253-274 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:361-382 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:467-488 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:588-609 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"98604a84de7ad78182e980b7db6ffc1373605927c84f11566fc430cb15107b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:109-129 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:131-149 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64c4ebc29a1758588a3dab2d30d9eb84bb6f2abde30c9bc81247af5b582a814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:656-668 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:784-796 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:937-949 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1077-1089 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1239-1251 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f02467b3a1fa2f5a07e0633860230ecc083ad6f8d67659646c639a1350c57ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:231-245 | Examples/Scenes/ExampleScenes/StatSystemExample.cs:306-320 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d2f1fddf90da26019d14bfbdc0ef7677f0c7058afa4c1d25d4efe674068f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): Examples/Scenes/ExampleScenes/DataExample.cs:241-265 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:319-343 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:346-370 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7644b3123ee6957f7169937074d7307679d9ad1b9e7bac5dd951e9962202bcf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Destructor.cs:22-42 | Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Destructor.cs:44-67 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Destructor.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaabafcfe70c45bff17af058362c5fe7139b537c67412e8775b3c6d99ff482db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Examples/Scenes/ExampleScenes/InputExample.cs:431-466 | Examples/Scenes/ExampleScenes/InputExample.cs:555-590 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10bec300bb74587be27626fefb0c8533c90b21cc67082951f0ca516fee2fa78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Examples/Scenes/ExampleScenes/ControlNodeExampleScene.cs:353-371 | Examples/Scenes/ExampleScenes/PathfinderExample2.cs:1098-1115 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:520-541 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ControlNodeExampleScene.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a20f710c9c25672b917738b9f77edbb527c6f1dfe0aa8481e1c529914ee818"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:271-298 | Examples/Scenes/ExampleScenes/DelaunayExample.cs:37-56 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e90c6db4a62433534eeb740f6d5aa465e18a6d772dff6c4482f97fd79336a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:63-83 | Examples/Scenes/ExampleScenes/PathfinderExample2.cs:54-73 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:149-164 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeef9f0f8571d55aca2812a095af33f1c3f69999e0c6cb86a8567c844a27661d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Examples/Scenes/ExampleScenes/TextBoxExample.cs:83-95 | Examples/Scenes/ExampleScenes/TextWrapEmphasisExample.cs:187-201 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/TextBoxExample.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fadd071313a194101666c482ca35c2a029be909c912ff64def1f1951c51421"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Examples/Scenes/ExampleScenes/JsonDataExample.cs:182-191 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:205-214 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/JsonDataExample.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d19cc3d874f0b5f539be78c68c3f5050ec5c7182b3e43dbc63da1434a46f82b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:794-805 | Examples/Scenes/ExampleScenes/PathfinderExample.cs:300-313 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53bc59cdf318c8b36f6b7b59e7219ab3e0003647b9837b75fa33166fbaf0e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Examples/Scenes/ExampleScenes/JsonDataExample.cs:275-298 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:303-325 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/JsonDataExample.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f88331dbd9cbb9209dc2df3a4b44a0d5e8b4c8726ef7a884fd0cf923660cc70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Ship.cs:176-208 | Examples/Scenes/ExampleScenes/PathfinderExample2.cs:116-133 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Ship.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb45dcf1e8c4d553249cf96e9d6f8ec6c0fb6ad8b555c03438fd19041d0c10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:201-220 | Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:256-272 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d231c7612dfc4ba1353307cafc475c6dbd8616d21d2ecdb2657aa3279b859a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:286-308 | Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:414-434 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5e15121ec3af1ab98754f5dfd4d1f05a5f811883b7b6d9fc2bd3afb8d10d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/ExplosivePayload.cs:123-140 | Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/TurretPayload.cs:134-151 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/ExplosivePayload.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"031210a1fd4a45a25e5f2defe06fa0147deb4bda401a64803e6ab77a9b541812"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Examples/Scenes/ExampleScenes/JsonDataExample.cs:368-376 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:390-398 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/JsonDataExample.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"256d57efeb06ac0ce465aec3e81a05e5fbde539327f53925c9684bfb5fe2217d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:561-572 | Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:574-584 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9ea0b6a315236ed918c70394fa8306f3b089087eafd31034f0af36becf32e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:38-52 | Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:70-87 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3d81d3dab89e7af6aa146c0c7a28c4a1f6bf65202faa99007178a47f472e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:1056-1062 | Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:1064-1070 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0e4a43da3896d21a25f412aa8146d2577b1400f8b0b768ffa02f7ea458f3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Examples/Scenes/ExampleScenes/JsonDataExample.cs:245-273 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:268-301 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/JsonDataExample.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6943a4275f43cae6c9ba0e35e71790ff42c9aa66ff65b10042b9444ccfaf7e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Examples/Scenes/ExampleScenes/DataExample.cs:118-126 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:114-122 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:114-122 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61083c251f70e4d8ac9ae54e70f44c35802a97f2ab8af5ffd2d83a571f677d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Examples/Scenes/ExampleScenes/JsonDataExample.cs:227-242 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:250-265 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/JsonDataExample.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e149ee5da0aea42a69cca8323d9ce91c89445ca8906ab2dfaf1623ae0e9069dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Examples/Scenes/ExampleScenes/StatSystemExample.cs:28-37 | Examples/Scenes/ExampleScenes/StatSystemExample.cs:44-53 | Examples/Scenes/ExampleScenes/StatSystemExample.cs:60-70 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/StatSystemExample.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc3d37e25e7b930d8c518960210f5b314487180e24383375df649e43f86279b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Examples/Scenes/ExampleScenes/BouncyCircles.cs:209-220 | Examples/Scenes/ExampleScenes/CameraAreaDrawExample.cs:176-186 | Examples/Scenes/ExampleScenes/TextScalingExample.cs:63-73 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/BouncyCircles.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ba82b3ec5979b33cbabb0188b06606716032c010642aeed82297636e444de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Examples/Scenes/ExampleScenes/DataExample.cs:41-50 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:47-55 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:46-55 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e6f125dbddf3bce4f45f9e74e8b3e9eaa22634e6969f327e72b529aee5d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:713-726 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:849-861 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"089edd375c431d81131cffe865381bfa7fb7839cf32a45e5775cb78fc8e382d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/ExplosivePayload.cs:60-66 | Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Penetrator.cs:48-58 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/ExplosivePayload.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"71216b83ea5787507d54448b5a8fa842c03a11fdaabf2f1e46aaf0178d991f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Examples/Scenes/ExampleScenes/InputExample.cs:201-221 | Examples/Scenes/ExampleScenes/InputExample.cs:347-368 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fb4d33a1105293a4d278381102b4be8c5a7bb5744f4f93f41125216a8e3bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Examples/Scenes/ExampleScenes/JsonDataExample.cs:156-163 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:179-186 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/JsonDataExample.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c6b8c9142693c0102e3a4621fe9e96ef740eb0f03cc68650a0f696a68d106c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:423-430 | Examples/Scenes/ExampleScenes/CameraAreaDrawExample.cs:52-58 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"843c63c10aad285f72e6709a1ec7de0e87869a412d957cee9b9e3eea4dc834ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Examples/Scenes/ExampleScenes/DataExample.cs:158-161 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:165-168 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:188-191 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"40674544524c3dc6f55a8b75f576f195f1bd4d3483b38bbfb90e9563649ce1f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:497-502 | Examples/Scenes/ExampleScenes/ShipInputExample.cs:372-378 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"5558704213029be65daf7c8d055a543b5d6c92e2f10fe63f463d793c02a40a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:478-491 | Examples/Scenes/ExampleScenes/ShipInputExample.cs:353-366 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"072c6a2349e3da648fdf377c402272723bf7ec7424b65599544e212f5e445af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:31-34 | Examples/Scenes/ExampleScenes/StripedShapeDrawingExample.cs:29-32 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d2ee6a478b483ac801a93b4f4c3ed0e6f15386fcd72ace995005ef554babb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Examples/Scenes/ExampleScenes/PathfinderExample2.cs:1068-1071 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:497-502 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad05d72051f3c464418733cd8c3059d088b0aa95cade13bb9e3b0eb3b179668a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Examples/Scenes/ExampleScenes/TextBoxExample.cs:45-49 | Examples/Scenes/ExampleScenes/TextScalingExample.cs:41-44 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/TextBoxExample.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6ef23c6c61922b7031994dc1217e20dd044325abec99281d849314736699af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Examples/Scenes/ExampleScenes/CameraExample.cs:102-112 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:390-397 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraExample.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"505e68fe2265af35ee457f533b5700b8ba387051020b2f1c2bd4b833aaa99463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:70-104 | Examples/Scenes/ExampleScenes/StripedShapeDrawingExample.cs:67-101 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e23453b408e4ebe405074a001eb7f608c33b17b4141579b6dca91f2cf49deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 2): Examples/Scenes/ExampleScenes/InputExample.cs:501-526 | Examples/Scenes/ExampleScenes/InputExample.cs:608-636 \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 \u0060Examples/Scenes/ExampleScenes/InputExample.cs:501\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"608930c579a866e4b3fc95271ad2adcd7104715c7c93f0ce7a061ba9ddbc5438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): Examples/Scenes/ExampleScenes/DataExample.cs:248-265 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:326-343 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:353-370 \u2014 before extracting anything, compare \u0060Examples/Scenes/ExampleScenes/DataExample.cs\u0060 and \u0060Examples/Scenes/ExampleScenes/JsonDataExample.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/DataExample.cs:248\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f9b13afcc0a6ce43d81f58862358c131a4812208aa53c0ca6daf8ef18fd598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:66-83 | Examples/Scenes/ExampleScenes/PathfinderExample2.cs:58-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:66\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07832be28e12c79ea4e1885a46dc0a1f06c8cc5dc96232f007eb00a67f4a2d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:914-931 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:475-492 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:912\u0060 calls \u0060DebugDraw\u0060, \u0060SetAlpha\u0060 and \u0060Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:474\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"477ae40cb163528121211d2d0f18c148e7c39d3cfde7b87f68720ab9e7821f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Examples/Scenes/ExampleScenes/InputExample.cs:432-447 | Examples/Scenes/ExampleScenes/InputExample.cs:556-571 \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 \u0060Examples/Scenes/ExampleScenes/InputExample.cs:432\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":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae875dc0147964d711c90c10198a095330026e1dfd84699594f4a8e8f62a634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Autogun.cs:204-215 | Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Autogun.cs:233-244 \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 \u0060Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Autogun.cs:204\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":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Autogun.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7c87af0ad9f6a79d893175c7c09fb742c08bb11760de93a96912340ee5f6d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Examples/Scenes/ExampleScenes/PolylineInflationExample.cs:269-282 | Examples/Scenes/ExampleScenes/PolylineInflationExample.cs:287-300 \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 \u0060Examples/Scenes/ExampleScenes/PolylineInflationExample.cs:269\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PolylineInflationExample.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6051b66c2c63402d7a33dbd76fc69b15e23d69c7e5c91e07e74d820d7bfb18a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Examples/Scenes/ExampleScenes/DataExample.cs:75-87 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:71-83 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:71-83 \u2014 before extracting anything, compare \u0060Examples/Scenes/ExampleScenes/DataExample.cs\u0060 and \u0060Examples/Scenes/ExampleScenes/JsonDataExample.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30c9d82599ac25960a3912b419687f1f9c3199823918f8192ea09883240c84b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Examples/Scenes/ExampleScenes/DataExample.cs:103-115 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:99-111 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:99-111 \u2014 before extracting anything, compare \u0060Examples/Scenes/ExampleScenes/DataExample.cs\u0060 and \u0060Examples/Scenes/ExampleScenes/JsonDataExample.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85851afb528af8d82a3861d2d4c19c8b31110c11a03b73c00455fa85d698814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Examples/Scenes/ExampleScenes/PathfinderExample2.cs:158-169 | Examples/Scenes/ExampleScenes/PathfinderExample2.cs:187-198 \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 \u0060Examples/Scenes/ExampleScenes/PathfinderExample2.cs:158\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":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b7ed684959a9c38969db424bf9493c547f3b20e9b8cb938f7a532edce043a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1590-1596 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1669-1675 \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 \u0060Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1590\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":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"3325fbcdade45217e0cc671c42b8f36aaa38be46affaa04b8a64fce23e66b845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:123-134 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:198-210 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:123\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":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e750ad740e2fc5c4a4469980a98676e0692d95ddf3920a2beaf22b1b6d1083bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:149-157 | Examples/Scenes/ExampleScenes/StripedShapeDrawingExample.cs:163-171 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81a45e171a315c90b73b6f002bff6700ea6737b0dc56d3dde56081dda1d56b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:151-161 | Examples/Scenes/ExampleScenes/StatSystemExample.cs:228-238 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"73480b58ae17d54117f3b49d0edfe7e906f9c2530153debe46fdd990b9272997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:233-245 | Examples/Scenes/ExampleScenes/StatSystemExample.cs:309-320 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:233\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Examples/Scenes/ExampleScenes/StatSystemExample.cs:307\u0060 calls \u0060RotateDeg\u0060 and \u0060Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:231\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d16c6067dc9e9827104018e9bca23e6761e27d05c726cc84657897ac96e7307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Ship.cs:60-71 | Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Ship.cs:156-167 \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":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Ship.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c5a79520d014e871cfb1c8d01ee9c6dd3986cfbdfe6232cd8a1cabc0d8f1d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:430-439 | Examples/Scenes/ExampleScenes/StripedShapeDrawingExample.cs:930-939 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:430\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"e277b32fddede78fb7b3a35a88dfdd847bfc8d33f1c439e70f999efac840ea15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:352-361 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:332-341 | Examples/Scenes/ExampleScenes/ShipInputExample.cs:246-255 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d79a2e44ff2dfe9d03f3c3ee20e4ee4f602ba2456919de0a7689f3f5466d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Examples/Scenes/ExampleScenes/DataExample.cs:90-99 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:86-95 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:86-95 \u2014 before extracting anything, compare \u0060Examples/Scenes/ExampleScenes/DataExample.cs\u0060 and \u0060Examples/Scenes/ExampleScenes/JsonDataExample.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5216703b2db17f4f10fbdf160353d4bc73fd585ee5034b51f1eeef27ae82dadf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2124-2131 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2137-2144 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2150-2157 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2124\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6f9a4e1b29395eaabe4b1763484f1b67648761b0e937a060bb0e8f4ff2caa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Destructor.cs:24-32 | Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Destructor.cs:46-54 \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":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Destructor.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8e0f54a57286e829198057019657b7026e9e898a4032dd6244d78632eaa353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:255-265 | Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:268-277 \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 \u0060Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:255\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:254\u0060 calls \u0060SetRect\u0060, \u0060ApplyMargins\u0060, \u0060Update\u0060 and \u0060Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs:268\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/OutlineDrawingExample.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaab69b57d78e93fb4c405f1dd1fce3d876f5789383664492dcdd2bac0c987d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201311 lines \u00D7 3): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2162-2172 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2175-2185 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2186-2190 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2162\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ead43f4b22d0b4051654dd8e2170dd43e0c850117a4e49483e066c785a716fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Examples/Scenes/ExampleScenes/TextBoxExample.cs:31-37 | Examples/Scenes/ExampleScenes/TextScalingExample.cs:24-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/TextBoxExample.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ac298f87b9c064ede242e4981735c7a29239e6535e7128643477c395c27421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): Examples/Scenes/ExampleScenes/InputExample.cs:112-121 | Examples/Scenes/ExampleScenes/InputExample.cs:386-393 | Examples/Scenes/ExampleScenes/InputExample.cs:517-524 | Examples/Scenes/ExampleScenes/InputExample.cs:626-633 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"881dad04a8b72f0cae56d19340cc86f45c0faea4ff578c9551990f35aec96df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:93-101 | Examples/Scenes/ExampleScenes/PathfinderExample2.cs:96-104 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:183-191 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cc7f2aa13d71938a9d246c9908b698c41f9f07e2c22e4bd79268d13d93df83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Examples/Scenes/ExampleScenes/ControlNodeExampleScene.cs:362-371 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:529-541 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/ControlNodeExampleScene.cs:362\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ControlNodeExampleScene.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3099e9268f594649e1f62fcc7965f449b69e993e8268c05c8c1ed250168a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:563-572 | Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:575-584 \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 \u0060Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:563\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"084787cc6949d63df5048230238be22aa8cf869aaaed34905b35eeb3067b3584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:287-295 | Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:415-423 \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 \u0060Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:287\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":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"100120808a3657e3eede99d99fef90c036de60e1bd09c7a7bc84705f6923c73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:794-803 | Examples/Scenes/ExampleScenes/PathfinderExample.cs:300-310 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:794\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":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cee20bc2f2dcf813ff44e6c5fd3dbf01cc1d7827ab57731ebd57554b32008d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Examples/Scenes/ExampleScenes/DataExample.cs:119-126 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:115-122 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:115-122 \u2014 before extracting anything, compare \u0060Examples/Scenes/ExampleScenes/DataExample.cs\u0060 and \u0060Examples/Scenes/ExampleScenes/JsonDataExample.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0f3282eb2c6258bcd4659e89093b624033cd376020a2d91e8d32f873aa4518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Examples/Scenes/ExampleScenes/InputExample.cs:99-107 | Examples/Scenes/ExampleScenes/InputExample.cs:469-476 | Examples/Scenes/ExampleScenes/InputExample.cs:593-600 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/InputExample.cs:99\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":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"253bf14fef5d2faa5fcd9572c60b59caf8db46fa96d1b85a525a39eb1cbdb44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Examples/Scenes/ExampleScenes/DataExample.cs:42-48 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:47-53 \u2014 before extracting anything, compare \u0060Examples/Scenes/ExampleScenes/DataExample.cs\u0060 and \u0060Examples/Scenes/ExampleScenes/XmlDataExample.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1688d0551badc7c7352ffe8a537406d5d94fcefc26e1fbf6cd4c19ff025cd9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Examples/Scenes/ExampleScenes/JsonDataExample.cs:183-189 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:206-212 \u2014 before extracting anything, compare \u0060Examples/Scenes/ExampleScenes/JsonDataExample.cs\u0060 and \u0060Examples/Scenes/ExampleScenes/XmlDataExample.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/JsonDataExample.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0212216b78f03b413fca485d9c4b494b12bb96bc8fc2d7ce94acab247eff908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:986-995 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1131-1139 \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 \u0060Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:986\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1128\u0060 calls \u0060ChangeRotation\u0060 and \u0060Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:982\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ff4175f0b75f662c0b0184bb1dfe08f951e1c2fd6bc4e5ebed37b6b283b98c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1877-1885 | Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2062-2070 \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 \u0060Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1877\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:2071\u0060 calls \u0060WriteLine\u0060 and \u0060Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs:1886\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d680fa52de08c190b606034277e4bcbc2abb0d26219a3e7f259d91a4bdb80ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:201-208 | Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:256-263 | Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:450-457 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:201\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":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1be398c20316eeded313982f8353a9b0a8be077dc75fba096700d7728c4887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:144-150 | Examples/Scenes/ExampleScenes/ShipInputExample.cs:125-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs:144\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":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eb005d7dab97d1274bea2be20c53e782b64fc5770a1f2db0b7e0c9eb5fadde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Examples/Scenes/ExampleScenes/CurveDataExample.cs:211-218 | Examples/Scenes/ExampleScenes/CurveDataExample.cs:222-229 \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 \u0060Examples/Scenes/ExampleScenes/CurveDataExample.cs:222\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CurveDataExample.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea1575505ef8061ad252baf028e057fbfd5e0b9c7f1f0a205dd8921c9cd315e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Examples/Scenes/ExampleScenes/PathfinderExample.cs:260-266 | Examples/Scenes/ExampleScenes/PathfinderExample2.cs:1007-1014 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/Scenes/ExampleScenes/PathfinderExample.cs:260\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":"Examples/Scenes/ExampleScenes/PathfinderExample.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4037de504c48b9a7212ce19b7e74de492dc612726d3b71f879370b682213a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:1058-1062 | Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:1066-1070 \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 \u0060Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs:1058\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c9f413a983e078c2c5c017997ee1256967d69d8cfae217154786d5a4327ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Examples/Scenes/ExampleScenes/PathfinderExample2.cs:610-615 | Examples/Scenes/ExampleScenes/PathfinderExample2.cs:656-661 \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":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6e8b1ebc14839bd5de90959772e6e81be78bd42bb3370e5d66022dd16277f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Examples/GameloopExamples.cs:193-198 | Examples/GameloopExamples.cs:200-205 | Examples/GameloopExamples.cs:207-212 \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. 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":"Examples/GameloopExamples.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7510063e5eeda834634ccb8328aeab7959ade409279af1085f554dbd2a76e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Examples/GameloopExamples.cs:208-213 | Examples/GameloopExamples.cs:218-223 \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":"Examples/GameloopExamples.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"286d2ea599e198d9af6b5ce5f6938b22d5e6f3ef6702dcf584df0b6a597df08c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Examples/Scenes/ExampleScenes/InputExample.cs:103-109 | Examples/Scenes/ExampleScenes/InputExample.cs:374-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Examples/Scenes/ExampleScenes/InputExample.cs:101\u0060 calls \u0060Lerp\u0060 and \u0060Examples/Scenes/ExampleScenes/InputExample.cs:372\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b29206a193242a878d356827e879b6af12e36abb74bb6d7443c67d310aeb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Examples/Scenes/ExampleScenes/PathfinderExample2.cs:1074-1078 | Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs:506-510 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d19280e908fb70be4f72dc3ce97656a06b7a652c6f5ccf300709e1c2461f325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Examples/Scenes/ExampleScenes/SavegameExample.cs:202-207 | Examples/Scenes/ExampleScenes/SavegameExample.cs:309-314 \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":"Examples/Scenes/ExampleScenes/SavegameExample.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed53a149cc88bf13285a20c8db776452dd7571c4ed188b2a5600b23beb78918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Examples/GameloopExamples.cs:209-213 | Examples/GameloopExamples.cs:214-218 | Examples/GameloopExamples.cs:219-223 | Examples/GameloopExamples.cs:224-228 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/GameloopExamples.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5abe3bde766ec2d272621d305e6aa5d0aeb6986185bb739f963e811585e2163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Examples/Scenes/ExampleScenes/CurveDataExample.cs:126-130 | Examples/Scenes/ExampleScenes/CurveDataExample.cs:174-178 \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":"Examples/Scenes/ExampleScenes/CurveDataExample.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ec1ecadaf38062a02052a7c62f9fd47fc8b666b9d4e1b0801200ce4b61dd49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs:824-828 | Examples/Scenes/ExampleScenes/PathfinderExample.cs:320-324 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/GameObjectHandlerExample.cs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcfae804dd464d8fd331a8e1e56cf8cc1dc4b50c051a263969306ad9682b72f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Examples/Scenes/ExampleScenes/DataExample.cs:186-196 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:195-205 | Examples/Scenes/ExampleScenes/XmlDataExample.cs:218-228 \u2014 before extracting anything, compare \u0060Examples/Scenes/ExampleScenes/DataExample.cs\u0060 and \u0060Examples/Scenes/ExampleScenes/JsonDataExample.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e149ed283a5d2f86d6e711d93fde9402feae187973101a45db4dceaa1a45ab53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Examples/Scenes/ExampleScenes/DataExample.cs:268-277 | Examples/Scenes/ExampleScenes/JsonDataExample.cs:346-355 \u2014 before extracting anything, compare \u0060Examples/Scenes/ExampleScenes/DataExample.cs\u0060 and \u0060Examples/Scenes/ExampleScenes/JsonDataExample.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc52fa4701a0d3052c221b3e96d82870a5234130c78732e6b473ff07dae585ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Ship.cs:146-150 | Examples/Scenes/ExampleScenes/ShipInputExample.cs:112-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/Ship.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"763d50ef6c4514b7d699c0764b4b53ea6da075696bd35df62bca197372d88d8e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CustomEvent (LCOM4 6): CustomEvent\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameCustomEvent.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9ad55d1993e81833d509de0b5ef9209c95a654255f41bbdb8fe65f0071de8d"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (xUnit, NUnit or MSTest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D17","level":"warning","message":{"text":"Whole file has no live code \u2014 45 debt markers inside it: Every line in this file is a comment or blank \u2014 it declares no type, member, using or attribute, so nothing in it reaches the build. Its 45 debt markers (45 CommentedOutCode) all sit inside that dead text: one decision to leave the whole file switched off, not 45 independent debts. It records no note anywhere: the file is switched off with nothing in it saying why, so a reader cannot tell whether it is waiting on something or was simply abandoned \u2014 which is the harder of the two to bring back. Decide the FILE rather than its lines \u2014 restore it, or delete it and let version control hold the history. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ProjectedShapesExample.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa8c6b3ebff5bef4e353281f82abeae2d0f81a6702d1495599253b79244d4de"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/GameloopExamples.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a556bd19d7d26247cd4ebbf767e67dcd6b274f07b1b8b9f7baccac435f31ba9b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/AsteroidObstacle.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba4ea2b4dfbf05e3f72556cb8abc6f13a3ebfad4708c48a5a1e6d4c680fc511"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce570f180ed95578246e043435ad81244cf6c1a77c47c9f944397e91df77fa4f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/GameloopExamples.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73bbcd3d31650d3bacbdac7871e4114070b6088ed7ac2f41ebbb296aebeecf1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/BouncyCircles.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"61149898951f3d21488f00448ba159e867850ebd42d6887c6557dbeb8c8b67fc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6327bf3ff1a4d4636db29a25a9701c224f5f3a678a7dd91bf6c4610ec65a7307"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/GameloopExamples.cs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"168cb1ca34dfdc01716fe6943ff755ca4203b3afe1ffee7c74827ee0cbfd9581"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f7c4aa9b7267a56f01ad447eea2e40a34b6e799090c94a56b2d6dcca7f8c30"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c400a213a45ff335fcc5f614280154e03264d6fa4cecbd48b5786fad7769cd0c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfcc19fee1e1ce62f6043d56db3e9c12378fd283de9b30eed9cab7e5754837c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PolylineInflationExample.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f492b2f4c3fe4088aa1e99c5888de374636bd6b819504e0c50f50359a24ae6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/TextExampleScene.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f146dde79f0e2671f31c9c667c2b6f3f7de604eba37a33a6c094584c6fcf6e52"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d619bf5345bd6377f074ee677a7ae782fe36ead896a461353b5a89c557f5230"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/NodeWeight.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"081b5c09713cad4df9f707b790c155f589d4ec19588a18d835d8426d352c27bb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5fd2bdffb547156f80884719349c822a638634ca46daeaab2ebf947bdc4d8a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/PayloadSystem/PayloadDeliverySystem.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"331b2197d4008972e64b15b3a1562cfab43d578c4987a4032ad42219b706ee86"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/AsteroidMiningExample.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38d601c37a0bac33d21f609593e7c68b80d1f966c9eef134e9e62b49f453e27"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraAreaDrawExample.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2020bbacbf9e22fbea48b890338f5881e2fbedd9b03a41da73a38cf4c6addcfb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"e037f534a0df5793ff643e5b6da11b747f0d57c5994e0f4cec7b931619f15f72"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e3e0e66d2c8c9f3a88c748ce860bfb9697505a6a35ddd8f7d70b30436586a7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d00773777062efbac92eb7644630fe5e9a087d83785059c86ad62e69781eba"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/JsonDataExample.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b0627f6dfa555dabbd539db9933d8804db380518edbd91f8b33cb0662e963d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0eb97f1880372b7b3d6d20070af76aca5aa702c5ab136eb8e2120184ad0b49"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"a226d822f14301b106ae4fc715925b02b3d0de3708bd8adf1f8500113cf17f71"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6723d416c7641500e4a497aed3946f017370cbc9b43dc14db06d722a926e5ae"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/StatSystemExample.cs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9cc236955b2683efb712790c8912854b037e1a458d9b5ade381364f115ead2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/XmlDataExample.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd5d337193f46eeb2a542fcc4b1c877993367263e95fa1cf096ebcc1a7f610e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"681c43b654665d46bbaa9b915095c986fbe95d81df7c75e943d17b4ac1a1ee4a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a601cef5c6f95b5dad65969d95c36a45e78295498fb18af0e9dc847cf4a18fa"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"94401f0969e830ab172e7ee6aa89ce8ae2ce2a72ac468202113f6434a01dd74c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5817ad7ecdd4ef111296909035555afd8c9395e648de8fd7411359ee37c4813b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d7ed355386168d46a727dc64eb92d0462f19b00bd6a241cd081557a3112be5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f9bc115665321c16a6fa4afe4e0ed35502dc1f27ce1f12e17f5ed7115e987e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a8c7bf093dd1f30ccb314be745ce183f6e6a753da4e4c2bc8483097739a082"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dc84c8c5cf946a293e51a2e38d825325968e5a67475ba9d7ac8ee63c3bfe33"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaa560fd82ef28fd26ac3346eb128d2abe9787a887c0fa273bbd777af50cf2a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"df954b083711471104dc0fd63a534d2321581c240ef27bd8ee7388f10dd1f236"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f51beeef8c2cb1948fe63f282c849ec3318345ff93eadd49284797529bd3a2d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f167d6088840fb777e8107ebe15f9fa9b99b22b040c6177ce5404ca77961f6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/NodeWeight.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6730718997fbeeaa6baf3eb0ccab7f055398bc16168bba67cda0b361ab4214"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24d65165c0be456c1344a4540f108c3ebb1ca9c1f75e3d8abd8d4fb598cc336"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee4710c4e96d6d76248445cea42bb069321b4c31d0800a3c497c317c13cd7a1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 28 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/PayloadSystem/PayloadDeliverySystem.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"023316b2e50b7212ebce8cfbf552428ede5554370d92ddec7344849d6841c5f2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/AsteroidMiningExample.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"078106dcdcaab1323ef180a8e5737c4ee79079d4dc4d4162c50354802893962b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/TextWrapEmphasisExample.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6b553e8a592c0e8353e8dce4eb0b5a5ba822691a0b22ef37ece83c80eee342"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6121fa4166b27141663969984a1085b7ef2a9abe1e8f1363b76c965a654649"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/AsteroidMiningExample.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4b3e41813c56c2bd7f14ca87912212d0da51b91dc7734e82e5f5e787845d78"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e498be062be340216b2b4302b273c8f4dd394abd5f1ff3e4e4da8b3507b977b9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/AsteroidMiningExample.cs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"634309f20cf44a41aaa3537893f47db34232f60d50639665ea78a2e2ec4f3f2f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/AsteroidMiningExample.cs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fc48ea0f98768dffc40b8335a2864dee4e26171be4cb869d3985a06489420f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e578188ea0073ed0b2f93183c3d22a4f43ea99e69d8ba242a3c6a2bea0eb22ad"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"123a685110656056418a396c225d12ee8eae36d3feb94c2b0b2b7fd9dc66f96b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/AsteroidObstacle.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b349712d6414e33ef8ef8b57e27292fc89b77044630324f76a63f082f7cc649f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ScreenInfo.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ad7353c83c6f01837ca8943c0abf196873cdc478e16e38c146d764a03b8d31"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e7e81f43b3346baa2d914b7f64c9c9c72ed04febfd59c110f68c1b6136a9cb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c00bb9236f8356b41be38ccfec0a57b393a3509d734ee5992bf1d65e6cf97d8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ad18b10978454efa7f381d8b21bacf143b41b63ab3aebc410334dcc0e92afd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1528f7b107d1ea7434abfb488f21b32386ae454b2c8815a239c1cb283e721b78"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd0a3097f4e154602217cb80d0303ab8eeb1a3d737311f4ad1228a4959cb9fd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperOffset.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdb2eb1e52af693fd4f2c750183aee62b51aa0029f02acb1a731435027711b4"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Font font \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraAreaDrawExample.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81c8923271d6699cd2a3c503f510829ada0b9661c00bb6a9b812df32468250c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Font font \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16faed0c72ba7acb6f043ed4ce34166a794d14f1dc790b010d7cf3ea898433d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Font font \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DelaunayExample.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"828eb5f91c0d44ff04004cde2edc99fc8fb80ebeb101e83c0a9322360c6053fc"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Font font \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PolylineInflationExample.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ca337e33f86a3fcbc26c9a934cf65e06564557122f004fc40f11d05d4ad90a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Font font \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShipInputExample.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"eced76eb07332fb8e708d6810a53ee82ef0c81767c5ea4f3c31d3000dbc895b6"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Vector2 movementDir \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraAreaDrawExample.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7c31a5b24c192683e654bc641e9bcb4f25d80943f3ac9f0e5a67142ad6e31d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 21 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abf9a991cdc24116e798f07a9e99f87d80f726866cfa9363b8373bccb5098f9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ab87265149387c6fb0a459fdac52a4994d29238837ab48ea9092cbfa6b4663"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"372bd51263e9bfe0b331132db8689ce3376ec34dd95dbec01be58708d1bd4308"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DelaunayExample.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2889ba42262d9d9a92add12a049ab78ce7e4c8a8b6d3c4b18523b9011c4bb2fe"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":2198}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a3770f393875bf0ab8dcbdbb1e08c91446dc3978dc690cc77f74fccd270f86"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa532340e550ffb1cf3513d974f869e6c46d6b2e88eb1c91d8ccab81b6177a53"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cfa05bfa906cf7c7bb296ff3ac25973242455440ad5584589298ae461fd26a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac7af0806a3da4c3a4ce0734fd92ae26625a2e1734445b66c2a037e7ebac7b7"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Polygon shapeBuffer \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DelaunayExample.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1437e82944d309965c05fa75fb522e97c1825dbbae0e433e53aeb7c2333c8f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceExampleSource/AsteroidObstacle.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb60576ca8b40a636885eb0d06362a9447b190435f929d2fcbc29cb86a53f33f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49b54f5b9eee3a42862aef2c1e4dfe6a25a8a56b7eb88dbb8d3050b53b86e61"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c06fc4bd43cc313a9a34b764382375e4cd418dbb67f22f4fa320c23d38e22bb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dac0d6880d21e9422a32f2c4543f4a04a67eb64582d9231cd58efc64a6b8c3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"df91a84417eb6e2cf41d86879808bc18fa8af7feb5e66a7b4d3501e2800e5fab"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private InputDeviceType curInputDeviceType \u2014 assigned 2 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/InputExample.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ccac28479bf4fa5d2daaeb517a4f87a91c6619e0f9400364654e20b7422cbb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21fa1959a7b3e990be5db1ccec976ace396987221d0aebeaa45711b8deb392c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe6a4bf5f3a3c08f8c6e95e8071838ed052dcd3753128459cd44c1e3d4b48e5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"053e8de187fbbfbbd4c8e076ce4551383a322010373283b42ca0d55e3adb2ab4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b5aa306e35d267cc8304b3978c2b18479659b87246f0351708f77ba5911a24"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a978a2c35f36611c6f94111f68c6be2ba0e910a33df8593fc950d39bf1c9cca9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b20eba75ea56c9f74fee1866e94f634a6474c26d609ed186f6edb34faa90c23"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"210ca4dcf93f1a16d8638d2586383d66794e639267df742017256bc0d05f479c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b57f4348988a6a20d0f2e01d56dd618ff3ee96583b48cb5b3a749b388403ca"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 19 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PathfinderExample2.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac57859720f45d70f57d1656362012ecfd205270fe8de51b179625f6485efbb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 19 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bddaa810cc98ff9dba3422ce70ba23f629a7bdeb492aeb1e1e65a931c39c070"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 19 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8b3414c8ca2eb75e021cd735e2d8a7ded65287c952c954d9e613839f295336"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 19 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c967111049ed9b5df4eb9d46c7789f28669943190baa9dcfd22f46e5d8b580b7"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private float cellSize \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/PhysicsExample.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a97484fd48b779a932335eb48460626406922ea5a9739c285f2d6e87011e593"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: add effects for collision \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":"Examples/Scenes/ExampleScenes/PhysicsExampleSource/Ship.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1291b0036b27ce7e6e10e42c1b12c8d7aef768a88356c1b5ddca0b15ba0d80d5"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Rect slider \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8da648e308bd4ffc588a2ab2fce65922e31859c55092c3e885252180c6e636c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Rect sliderFill \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ScreenEffectsExample.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f404334d65519728fc973c222978b369133e50c5acad615e9476572b0bf9d17d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private float rotDeg \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68f31eaff0ca68462b7a77cbf08c9b43865be4964785ab83b96ff59ca03f386"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //Todo Maybe just use raylib to/from hsv functions here as well? \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":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"076dd8bea176c35a0c5e4bfc047ebd9f975c97061dbb078af962056c9a771036"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 23 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83da165c00206fa8d88e4695b65174ac39dd29e67115f24997d48e7971991f0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 23 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffbf08277ab381de00ca43d3bd5505b3d395a15d84d1a3b115b9d4867a0e4fc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 23 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda12aa6ff3814bdeea09e134bc99f8537abd4ee114548ddaad3e44f5baed124"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 23 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbe56f7eeffa71aa07367866712beb9cd93e55a775f2f2e777989a353335940"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 22 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"81db0e5b1fc2a330ab897fd2de7631a57689329e5091b2bc37a840dfe22a8eca"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 22 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e8b8c87376def8f86c71555ef5486d886370e366da69e94aa657906a29266e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31f2f310c4626bb88c48fd43ff817688587210eadb1096097010ae18fb1a978"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f38f49d77af2136d8459f9f204fb6d60d10b5777b01369df26c33f815f9de8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e91c824dcb75c9480d2dfead294cd8ea7685896536499b8e6c1db13ad50b89a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d58f5fa233b89c2dabab05860de6cfd3838d9b38934e07858a9388277a5ef7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 18 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"955c0b77add3398ccb18ab75a7ec23c9180aa61f028d0351f205189323bb5d51"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 24 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"362333694cd8dbb5c9764cb20e8e5360fdc3a076e0cea6609f60b63338a16546"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 24 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab342408fbe6d0272b11435c0f12b04c6ce46cca8ada8e341dc9cc6b8ce0562f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 16 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"724954f95c0938fb31645addeb58d39f902fff520ba553ee455710475c269f3c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 17 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5445968b001c643aaf060837a79ae5df5b63692d5b9da51877e30f06f958f45f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ReadLastLineLargeFile: Method ReadLastLineLargeFile \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including ShapeEngine, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"641eb7abd341c5a882f3bdc1377706eca7385fd855f90aa0e0591ab4c9d12dba"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetCoordinatesWorld: Method GetCoordinatesWorld \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including ShapeEngine, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseSpatialHash.cs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"5704a96fc4aec6a50e3559b035f7072e77b15d0e139db1ad84d590ce12c379dc"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetNeighborNode: Method GetNeighborNode \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including ShapeEngine, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52a6278ca942c2ab6f11a0d7eb41f315da233287b98951900eb4f483b112b23"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Wrap: Method Wrap \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including ShapeEngine, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ShapeCamera.cs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baeb5422ae86ea564fd9bf3e6e96cb6984a6de9cbbfecb1dc5475d0cb103ad1"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RunAllTests: Method RunAllTests \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including ShapeEngine, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"80582e7a9a54f1fd2fcf4a7065d06ad258ed5d16875d43d732b6f35b648a66b5"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetClosestNode: Method GetClosestNode \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including ShapeEngine, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"819ac35396bb9807c1f9388da20566a8f7e257dfeaf86a6781e8080c3a19ddb2"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: PreviousColorscheme: Method PreviousColorscheme \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Colors.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c3b8ab749bb279369268a148b8180a35c6bcca5d5a96fe25e62a466271d1f8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ApplyColorscheme: Method ApplyColorscheme \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Colors.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1858a1b444c4d3a50989fec00fb4175ac93d70a0a73639a1bf4ddfbd8a0ccc8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetShaderName: Method GetShaderName \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/GameloopExamples.cs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd462fb389afaf9550904108024914b817edc951e4f8134b8d443ad50041820"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetRandomFont: Method GetRandomFont \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/GameloopExamples.cs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aa87e1ab73582113b2248835170d393ea77d0a3816efcc09fbbd78191aac22"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: NextShip: Method NextShip \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/CameraGroupFollowExample.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5eabdeead550bb5dba00dbbdc4bc9925539b8551cc72b39cf560bf54f977506"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AsteroidMinSize: Field AsteroidMinSize \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7b8d3cea67ab7910bc0c83e4bf09afd7f928b55738155415457c4c25df1598"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: NextSavegameSlot: Method NextSavegameSlot \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/SavegameExample.cs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b27994251d905c99055fa96f4c21fb80891ea49a3168d62731f9f007b79956c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: PreviousSavegameSlot: Method PreviousSavegameSlot \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/SavegameExample.cs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"3987a3e43feb96e4d426fe504b6f2261298e48c243e1a5ed155e32da0b08fcf7"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ResetProfileData: Method ResetProfileData \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/SavegameExample.cs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"8927c9964d085a0c084db3070e48ec4cee4550e7740d0e8db8a10d09349c618b"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ParseShapeTypeEnum: Method ParseShapeTypeEnum \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72d07792c89fc376c349851dca4a7ca5fcd29c78b9a5a365046ecfe28d05e01"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ParseShapeModeEnum: Method ParseShapeModeEnum \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/ShapeIntersectionExample.cs"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceb469f568ce5ecf6c2e47af705b3f73c65ab1c903a691ae48a4aeb1f51ada5"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: StatExamples: NamedType StatExamples \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/StatSystemExample.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4715dfdb0199547e1de1a37361e7ff1227ae81c601cfedf30a0b39a5e62916"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DrawScreenInfoDebug: Method DrawScreenInfoDebug \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/MainScene.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eccbe62ef29cf37463b9e6b9a78613070e88873cdbeb833437cd7c48c807e74"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: BasicButton: NamedType BasicButton \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Examples, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/UIElements/BasicButton.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea44bab09def36be44b3aba1f0c12e376ddfc76d7b740bf8b13ef096dbad3e8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ReadLastLineLargeFile: Method ReadLastLineLargeFile \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including ResourcePacker, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8a464323a914248219d582364cbcfdb3e6ad0e60d117e42418940356ac30f1"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060ResourcePacker/ResourcePacker.csproj\u0060 makes this repository a deployable product (line 4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/ResourcePacker.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a24e78b29183a16adf13c392cdf1e4e71048d39104b3a74dc00fde3b3980d43"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022draw screen textures to screen before the game texture\u0022 repeats the code it sits on: 4 of its 5 words (draw, screen, textures, texture) are already in \u0060if (customScreenTexturesDrawBefore is { Count: \u003E 0 })\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75faa24a1a606147416eeeb7456f0559564caeb00e3e73c850a8daad10d6960"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022draw game texture to screen\u0022 repeats the code it sits on: 4 of its 4 words (draw, game, texture, screen) are already in \u0060gameTexture.DrawToScreen();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"039825c380d608f3d5ad41b739f297143c30f3106dad62be01ece6dfbe0646e5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022draw screen textures to screen after the game texture\u0022 repeats the code it sits on: 4 of its 5 words (draw, screen, textures, texture) are already in \u0060if (customScreenTexturesDrawAfter is { Count: \u003E 0 })\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"252ff95762fdac0e7bcbf18e4aeebe9f677126da066bff2d576c9df113fec715"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Apply initial cursor state to Raylib\u0022 repeats the code it sits on: 4 of its 5 words (apply, cursor, state, raylib) are already in \u0060ApplyMouseVisibilityToRaylib(cursorState.DesiredVisible);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0b15908434e700962e66cac889e7f69552d7634eee722d1241c08ec2570cfc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Vector from the line point to the circle center\u0022 repeats the code it sits on: 4 of its 5 words (line, point, circle, center) are already in \u0060var toCircle = circleCenter - linePoint;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64328e3812f6e5f1167c0c9f2a8103af711beff4d1cf8a2e89d42a7b22c4698"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Distance from the closest point to the circle center\u0022 repeats the code it sits on: 5 of its 5 words (distance, closest, point, circle, center) are already in \u0060float distanceToCenter = Vector2.Distance(closestPoint, circleCenter);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f4ef3472215b8446e37442f263edbf7ab2faaf8e317ef271a15af4bcaa0fc7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Normals at the intersection points\u0022 repeats the code it sits on: 3 of its 3 words (normals, intersection, points) are already in \u0060var p1 = new IntersectionPoint(intersection1, lineNormal);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62a35ebfdf1b39ee782d68515a96dabee37f308d9006f438ddc49bf2e686332"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Project the vector to the point onto the line direction\u0022 repeats the code it sits on: 4 of its 5 words (vector, point, line, direction) are already in \u0060float projectionLength = Vector2.Dot(toPoint, normalizedLineDirection);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"61158e07b2d54211ea3ec3e693d1120336d16549974003eb251d77ba58f9b2e8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Project the vector to the point onto the line direction\u0022 repeats the code it sits on: 4 of its 5 words (vector, point, line, direction) are already in \u0060float projectionLength = Vector2.Dot(toPoint, normalizedLineDirection);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ba053a94035f70c11d9efccb35c033ad131a60e70753ef20715004d43e0368"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the intersection point is within the segment\u0022 repeats the code it sits on: 4 of its 4 words (check, intersection, point, segment) are already in \u0060if (Segment.IsPointOnSegment(intersection, segmentStart, segmentEnd))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0439566c05dfb08eb4b5cee4455b1a8c4add6c76793e7593fd3875944db16d51"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Vector from the line point to the circle center\u0022 repeats the code it sits on: 4 of its 5 words (line, point, circle, center) are already in \u0060var toCircle = circleCenter - linePoint;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"278babd9fc84594ec19e7a7eeb05e835041394420e4166686cbfc19d0e3a28aa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Distance from the closest point to the circle center\u0022 repeats the code it sits on: 5 of its 5 words (distance, closest, point, circle, center) are already in \u0060float distanceToCenter = Vector2.Distance(closestPoint, circleCenter);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a13f415ebeaa5cf98abb25fcf2a9fa60dcec14b78d559ffaa0f1c3c29b9f427"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Vector from the line point to the circle center\u0022 repeats the code it sits on: 4 of its 5 words (line, point, circle, center) are already in \u0060var toCircle = circleCenter - linePoint;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4f49a15a5cb8a9f2d225502dbd921b3a06842eae6e8802977c6cd834a289f3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Distance from the closest point to the circle center\u0022 repeats the code it sits on: 5 of its 5 words (distance, closest, point, circle, center) are already in \u0060float distanceToCenter = Vector2.Distance(closestPoint, circleCenter);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineOverlapStatic.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e252175ec65b21a5fb0333653f46de5db9ebfc8d500292ae85898f57d7858c3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Project the vector to the point onto the ray direction\u0022 repeats the code it sits on: 4 of its 5 words (vector, point, ray, direction) are already in \u0060float projectionLength = Vector2.Dot(toPoint, normalizedRayDirection);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPointStatic.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2763e61ea66d58b3271089d5dcaa4ac340bbdbb80272144b9bead8e19e8f4d4b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Calculate the dot product of the direction vector and the vector to the point\u0022 repeats the code it sits on: 5 of its 6 words (dot, product, direction, vector, point) are already in \u0060float dotProduct = Vector2.Dot(toPoint, rayDirection);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aad972a2e2ac745f71dd2d0b2d0521586bdf53fc3b194fecbca9d18e0a25b9b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the point is in the same direction as the ray and on the line\u0022 repeats the code it sits on: 5 of its 5 words (check, point, direction, ray, line) are already in \u0060return dotProduct \u003E= 0 \u0026\u0026 Line.IsPointOnLine(point, rayPoint, rayDirection);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d855a14ff07c2ea060a8ae2ea05bcc175351be5d12c99608b5906084f6a93638"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Distance from the closest point to the circle center\u0022 repeats the code it sits on: 5 of its 5 words (distance, closest, point, circle, center) are already in \u0060float distanceToCenter = Vector2.Distance(closestPoint, circleCenter);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c594a0a2755334b208a9bb709df8b83a0aefcbd5d769a66a11cbf712c30865"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the intersection points are within the segment\u0022 repeats the code it sits on: 4 of its 4 words (check, intersection, points, segment) are already in \u0060if (IsPointOnSegment(intersection1, segmentStart, segmentEnd))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebf178bf52e90e94022a4ddf7d940dfa500f761194dd924e81ade1f2f40e040"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022remove child from that parent\u0022 repeats the code it sits on: 3 of its 3 words (remove, child, parent) are already in \u0060child.Parent.RemoveChild(child);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/ShapeContainer.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"07513ac7d063eac1d8e6de60c88425f904992fa2ca4d94c84e05d73d70e7ad91"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Axis Sensitivity \u0026 Gravity\u0022 repeats the code it sits on: 3 of its 3 words (axis, sensitivity, gravity) are already in \u0060if (Settings.AxisSensitivity \u003E 0 || Settings.AxisGravity \u003E 0)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputAction.cs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"234c898b7822568b0986c42924a6cf22358ebcb8b6f74084ef24f3e8279072fc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022apply multiplicative percentage modifiers\u0022 repeats the code it sits on: 4 of its 4 words (apply, multiplicative, percentage, modifiers) are already in \u0060value = ApplyMultiplicativePercentageModifiers(multiplicativePercentageModifiers, multiplicativePercentageModifierCount, \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/SimpleStat.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed5860f15348d7972479eabeb20d110564689572437bdbca90992dff8d154b9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 7 comments in this file only repeat the code they sit on (lines 165, 183, 428, 446, 471, 508, 538), for example \u0022Mark stats affected by expired source as dirty\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa875dd498c0bea877e791882246494ccc9735c715278160f723c3b77a60331"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060ShapeEngine\u0060 overshoots its size bounds (140143 LoC, 339 public types across 38 namespaces). 1 of 3 project(s) overshoot their size bounds, lowering Project Cohesion to 3.3/10. Size alone is no reason to split a project: where its type references show a separable part, a Split row names it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeEngine.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2480466c2bdeb9f91855fbbee0ab253e693ff43b695769a0be81b08d0791c5"}},{"ruleId":"D26","level":"note","message":{"text":"Split ShapeEngine: \u0060ShapeEngine\u0060 overshoots its size bounds (140143 LoC, 339 public types across 38 namespaces). These parts reach the rest of the project only through its shared core (\u0060Color\u0060, \u0060Core\u0060, \u0060StaticLib\u0060), so they are the cleanest seams: \u0060ShapeEngine.Stats\u0060 (13 types in 11 files): 0 of 331 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 0 times; \u0060ShapeEngine.UI\u0060 (8 types in 8 files): 59 of 521 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 248 times; \u0060ShapeEngine.Content\u0060 (5 types in 3 files): 0 of 602 of its type references cross into a sibling namespace, and the rest of the project uses it 0 times and it uses the rest 444 times. Extract each into its own project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeEngine.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1115b3b6911d89a295abab7ffd46b5454f09c75a2b1fdf5c44a2276d18ae0a4"}},{"ruleId":"D27","level":"note","message":{"text":"Pass-through layer: Game: all 4 public methods forward their arguments unchanged to customEvents and add no behaviour \u2014 an extra hop (and usually an extra interface) to trace through. Call customEvents directly, or give the layer a job."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameCustomEvent.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b849fdc013c938dbbe8fb87b9ae8b6ce250f463ea854f2b89c7d21da6cf7bd"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8815bd481d30ad804964886d9ee734fa6a94fa089e8a2267578326aa92ff3ae2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fb63dc2199575b8cde6d6e94c8a2e8ac97cd0a6dc0ba6bb6335a36a49ea3a50"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9140196e2759fdd156e01b16beb673083094a5bfddbbcfd2b85bb7b2ae152688"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f4f63fb15a5528a3493f003927b28e121778b57500311c07f010d4abc29825e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0d4c0a1f2fce62f0c05a2b54dbf403a12151cade551377dd0bcea2b2dd2454e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b399fb0459ec8b650eecf908e149bcbdd9532fc1418a1b337fe1900500299ec7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e8e7847b3fe143cc7f8b251dba795a7569250fa7c4a11d6b62fe8f9435076dd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ae375bdde5e7be48ddd8d0b51248047757e741b97d3481a74b0c95d41922738"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"484c91138e41220067d0ff823373fb9537470e97656ea7f20f66ddc8e4cf17f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b37e12314e344b531e052148335478eb0bf2c490b8d08b59aa3dd4aa1a47922c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d754f488f9dc69ee1dbe4f638580a02e929f56def2928d54be796d57cb5b7d46"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f8cc4efcdc99b96ee5a3f41ec287380ad4fc9e393094b1bde8986949e3d5296"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9b801eb3451b2dfaa84d20fb17a7e4b0928829e3408d7e53b82bf926e81c651"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b919d968ca71a3ba9819d19ecaa11b84651e9dc7464312325d70dc86dcfe7da"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29964a4d0b44880301cd58e2676c4074f70a549d2c52d67843581bfa18fef872"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b83c4f7e5fcff0679683f48baeaad216a2f2a6a058a80237a1d2ec43a6a03c29"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ca7b4c2368d175aaf2b70131302147204cff6238bb6c3c6ac50c58d81715c4f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9161eee3610e9f914c0010fe37006a1ff5b0195b214ada7da45dd7a58f6cd57"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4099f34ff5a5070c6e03466fb257b0143bfa7b9f78b11ea1da910273d704b906"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac443ca480ce2cd7472ea30836a55bb357e9305585ead8dc643114448b56cc27"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d88bb9b3ca992636b18fe4846065a2bfbed628cd26fda9c35a7d8586851949ed"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"088b1ac6b5b042c76d91712703b9dca3d509d7a02559a8c833dfb86dd30cba5c"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: InputTypeGamepadButton.cs, InputTypeGamepadButtonAxis.cs, InputTypeKeyboardButton.cs, InputTypeKeyboardButtonAxis.cs, InputTypeMouseAxis.cs, InputTypeMouseButton.cs, InputTypeMouseButtonAxis.cs, InputTypeMouseWheelAxis.cs: 8 files \u2014 \u0060ShapeEngine/Input/InputTypeGamepadButton.cs\u0060, \u0060ShapeEngine/Input/InputTypeGamepadButtonAxis.cs\u0060, \u0060ShapeEngine/Input/InputTypeKeyboardButton.cs\u0060, \u0060ShapeEngine/Input/InputTypeKeyboardButtonAxis.cs\u0060, \u0060ShapeEngine/Input/InputTypeMouseAxis.cs\u0060, \u0060ShapeEngine/Input/InputTypeMouseButton.cs\u0060, \u0060ShapeEngine/Input/InputTypeMouseButtonAxis.cs\u0060, \u0060ShapeEngine/Input/InputTypeMouseWheelAxis.cs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 28 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadButton.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36aa157d49fd78be704d944ae9a9436a6a521a7d15c4d68652506d1ddecad160"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: GamepadDeviceManager.cs \u2194 KeyboardDevice.cs: \u0060ShapeEngine/Input/GamepadDeviceManager.cs\u0060 and \u0060ShapeEngine/Input/KeyboardDevice.cs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060165f1deb\u0060 Fix: Ensure input devices correctly handle active state, resetting us\u2026; \u00604e260b13\u0060 Feat: Introduce InputDeviceBase for unified input device management a\u2026; \u00603c082415\u0060 Feat: HeldButtons and HeldAxis system added the GamepadDevice. Feat: \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDeviceManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57e4ab698e5e6ba2d156685e16816b0ad59642d66319612b68f60d34eb39015"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Polygon.cs \u2194 SegmentCollider.cs: \u0060ShapeEngine/Geometry/PolygonDef/Polygon.cs\u0060 and \u0060ShapeEngine/Geometry/SegmentDef/SegmentCollider.cs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006032f6e9ea\u0060 Intersection functions vs Ray and Line finished for all shapes. Ray a\u2026 (at that commit the files were still \u0060ShapeEngine/Core/Shapes/Polygon.cs\u0060 and \u0060ShapeEngine/Core/CollisionSystem/SegmentCollider.cs\u0060); \u00601a635ba2\u0060 CircleSectorCollider added. (at that commit the files were still \u0060ShapeEngine/Core/Shapes/Polygon.cs\u0060 and \u0060ShapeEngine/Core/Collision/SegmentCollider.cs\u0060); \u00606fae2b80\u0060 Transform2d overhaul finished. collider / collision system updated to\u2026 (at that commit the files were still \u0060ShapeEngine/Core/Shapes/Polygon.cs\u0060 and \u0060ShapeEngine/Core/Collision/SegmentCollider.cs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"959661bae4af39e9215b7770c00d6a0e0aed1238cd73b6b5758fe6e5ee4e5cc4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SpawnArea.cs \u2194 Effect.cs: \u0060ShapeEngine/Core/SpawnArea.cs\u0060 and \u0060ShapeEngine/Effects/Effect.cs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060918c8add\u0060 Refactor: Inital clean up. FixedUpdate/InterpolateUpdate functions re\u2026; \u00602c3637c1\u0060 PhysicsUpdate/ InterpolatePhysicsUpdate renamed to FixedUpdate \u0026 Inte\u2026; \u0060424ae846\u0060 reworked gameobject hierarchy -\u003E GameObject -\u003E PhysicsObject -\u003E Colli\u2026 (at that commit the file was still \u0060ShapeEngine/Core/GameObjectHandler.cs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/SpawnArea.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"484270e7b0ab0d62df96297eb6bf8ca7c8d6685acd97496302fe9e6449bd3899"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: GamepadDeviceManager.cs \u2194 MouseDevice.cs: \u0060ShapeEngine/Input/GamepadDeviceManager.cs\u0060 and \u0060ShapeEngine/Input/MouseDevice.cs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060165f1deb\u0060 Fix: Ensure input devices correctly handle active state, resetting us\u2026; \u00604e260b13\u0060 Feat: Introduce InputDeviceBase for unified input device management a\u2026; \u00603c082415\u0060 Feat: HeldButtons and HeldAxis system added the GamepadDevice. Feat: \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDeviceManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"615c06c5ebe9fb671563cb72d3d02d563c6e650ccbe2073592b94ecc45e2b66b"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39cc19a98a09361e320b8dad24b8bc1a72e87750fb5b622f7fee5793b36ab9b7"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: Paths64PooledBuffer: \u0060Paths64PooledBuffer\u0060 is not registered, but \u0060Polygon\u0060 creates it and keeps it in the static \u0060clipPooledBuffer\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (path64Pool; e.g. \u0060path64Pool\u0060 at line 73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/Paths64PooledBuffer.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adf163b814cae0900ce86cdafa56101a6af4a922875a8f07589e3e1fad28804"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: Rng: \u0060Rng\u0060 keeps one instance of itself in the static \u0060Instance\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (Rand, Seed; e.g. \u0060Rand\u0060 at line 73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/Rng.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd93bf018281bbd627512ae21d6f632a3fc1fa8f298f0dc691ff4ae1dc1928c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: TriMesh: \u0060TriMesh\u0060 is not registered, but \u0060ShapeClipperDrawing2D\u0060 creates it and keeps it in the static \u0060triMeshBuffer\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (triangleVertices; e.g. \u0060triangleVertices\u0060 at line 76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/TriMesh.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf9f6867a0662e9497fcd808fddd75f8610b4ff162a12d683aa08e47f24b4e5"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: IdCounter: \u0060IdCounter\u0060 is not registered, but \u0060ShapeID\u0060 creates it and keeps it in the static \u0060counter\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (count; e.g. \u0060count\u0060 at line 19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/IdCounter.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b941241da1e89bf66847d620c0bf8de11ddadbabcbf1dfe772e57cf90a7871"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: ColorPalette: \u0060ColorPalette\u0060 is not registered, but \u0060Colors\u0060 creates it and keeps it in the static \u0060colorPalette\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (colors, CurrentColorScheme; e.g. \u0060colors\u0060 at line 106)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorPalette.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcac7bb4196998723dfa95742f69776a0e3aad8183f3ca18c53c2efc1166c06"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: TextFont: \u0060TextFont\u0060 is not registered, but \u0060ControlNodeLabel\u0060 creates it and keeps it in the static \u0060textFont\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (FontDimensions; e.g. \u0060FontDimensions\u0060 at line 123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ae52f7be2a948ba8f940e34f62bd282fa76f9f9ebb297a1ca18b32ff5ade51"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: ChanceList: \u0060ChanceList\u0060 is not registered, but \u0060AsteroidSpawner\u0060 creates it and keeps it in the static \u0060ChanceList\u0060, so that one instance serves the whole process and is shared by every thread that reaches it \u2014 and it mutates instance state outside any lock (values; e.g. \u0060values\u0060 at line 94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/ChanceList.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c5ff4dd4f224c8a3753411336f754936dfaf2fbac615f4b025a12576c69fa9"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ContentLoader: \u0060ContentLoader\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (ValidExtensions; e.g. \u0060ValidExtensions\u0060 at line 195). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentLoader.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb276eb49e9b4c4500a7def7482a81ce56e483839d50b9a8c028d0f5ff4ea5a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: TriangleBatch: \u0060TriangleBatch\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (Pool, batchActive, currentColor; e.g. \u0060Pool\u0060 at line 49). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/TriangleBatch.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f76e6f5fd22a766c1b050ba2694d0ca65840a59df352faa4b9f1d99fd05014"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: CustomEvent: \u0060CustomEvent\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (idCounter; e.g. \u0060idCounter\u0060 at line 20). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameCustomEvent.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2875a80fa9d3eb93213554e2d9cf1d72f2b4fcfecde56f3571b593906749402"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: BitFlag: \u0060BitFlag\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (flagCounter; e.g. \u0060flagCounter\u0060 at line 293). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/BitFlag.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a347bca50de7534f772b640f920e418bd5062cbf4792ae50d48fe2a24d503915"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: BitFlagLong: \u0060BitFlagLong\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (flagCounter; e.g. \u0060flagCounter\u0060 at line 293). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/BitFlagLong.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"61881792de78abb2dbc8f288dae044909ed662a7b7ec4452946d95df0e6d5a19"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Cell: \u0060Cell\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (pool; e.g. \u0060pool\u0060 at line 39). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c68182894015411f284bda493edcc6a130f3d8c84afd46eea7a0972493382b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Circle: \u0060Circle\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (intersectionPointsBuffer, circleSectorOutlineTriangulationPolyCache; e.g. \u0060intersectionPointsBuffer\u0060 at line 259). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf595d0e580e59a3865aa88a09be5f0bd4bc52004627423c5d523d06ae1b1a54"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Points: \u0060Points\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (uniquePointsBuffer, edgeCountsBuffer; e.g. \u0060uniquePointsBuffer\u0060 at line 240). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3ffb2ce2395aad4f06b64c6c97f0234915c63b352cad0c835ae079a187fe86"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Polygon: \u0060Polygon\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (weightedTrianglesBuffer, intersectionPointsReference; e.g. \u0060weightedTrianglesBuffer\u0060 at line 928). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"177607f34b480f2f949b84af062e7318e09e7b0158b40d78ddce7ab6c34d160c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Quad: \u0060Quad\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (intersectionPointsBuffer; e.g. \u0060intersectionPointsBuffer\u0060 at line 263). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadf8724a955965d8ecac712210408d2a358946dd93267a06220fe268652b084"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Rect: \u0060Rect\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (intersectionPointsBuffer; e.g. \u0060intersectionPointsBuffer\u0060 at line 263). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9440fdd527df747021e74455dd6f4a93707ca203d009e20b0fd1b56bd542ec"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Segments: \u0060Segments\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (hashSetVector2Buffer, hashSetSegmentBuffer, hashSetUndirectedSegmentBuffer, weightedSegmentBuffer; e.g. \u0060hashSetVector2Buffer\u0060 at line 143). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"209c8dced9de70f221de3c425ef79243f12f26b610a90aa6eedfcc1fa89f05d5"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Triangle: \u0060Triangle\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (intersectionPointsReference; e.g. \u0060intersectionPointsReference\u0060 at line 263). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14cf32eb327caf1fd56c9fb55b23db4c339a85ed846f12915ca54ce5bfb101d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Triangulation: \u0060Triangulation\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (uniquePointsBuffer, uniqueSegmentsBuffer, uniqueTrianglesBuffer; e.g. \u0060uniquePointsBuffer\u0060 at line 209). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangulationDef/Triangulation.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fbcfc12e1cedf6ff9051e3c8dcc9d9411b23ce05c36e74b96ca137e8352e57"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: InputAction: \u0060InputAction\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (nextExecutionOrder; e.g. \u0060nextExecutionOrder\u0060 at line 126). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputAction.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded8d74cb0b8478b759ec274d25624f450128489c9b4068c9cd9a8d724841133"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: InputActionTree: \u0060InputActionTree\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (idCounter, excecutionOrderCounter; e.g. \u0060idCounter\u0060 at line 107). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputActionTree.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0299188281d87674418e8237d91094fc76ac4edcbae850c80f67a7cb8c9837b5"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: InputDevice: \u0060InputDevice\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (idCounter; e.g. \u0060idCounter\u0060 at line 11). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputDevice.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e6c6330e8da793182a9ce28b0691a29e52c157c5393d061216cd3c7b2c6039"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: InputSystem: \u0060InputSystem\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (tagPowerCounter, Locked, lockWhitelist, lockBlacklist; e.g. \u0060tagPowerCounter\u0060 at line 279). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputSystem.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7acd92e48a81fd429cfddecc18bd466c54d05fe5f8296ee91cff113c45e07e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Pathfinder: \u0060Pathfinder\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (staticRequestArray, staticPathResults, staticPathfinderInstance; e.g. \u0060staticRequestArray\u0060 at line 522). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77d55e466d3f58ea08e4ada67828678eb73d9aaf5e5df344ee7c6f2ffbc4159"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ShapeClipper2D: \u0060ShapeClipper2D\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (precision; e.g. \u0060precision\u0060 at line 36). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipper2D.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d830f59e331364ffc044d80f75188746107f5fb402b4d0bd14d14e31de0fc149"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: PerlinNoise2D: \u0060PerlinNoise2D\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (_seed, gradients; e.g. \u0060_seed\u0060 at line 31). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/PerlinNoise2D.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba963f0544a4013d9eaf0eaada9e96d5229be9d99ceb4ca83aa8aea255e24e93"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ShapeLogger: \u0060ShapeLogger\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (loggingEnabled, LogFilePath, LogFilePathValid, blockTitle, blockLevel, isBlockLogging; e.g. \u0060loggingEnabled\u0060 at line 29). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeLogger.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a169faf7f55eae340c296321eeedc7a386822bf6bbff7e35dc948bd08e6b90"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: SequencerIdGenerator: \u0060SequencerIdGenerator\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (idCounter; e.g. \u0060idCounter\u0060 at line 14). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Timing/Sequencer.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c1dfbe58419db5de1e0344e85c5b87b435870d4231abddfabcab7cdaa3fa39"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Colors: \u0060Colors\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (curColorschemeIndex; e.g. \u0060curColorschemeIndex\u0060 at line 93). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Colors.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6139225713699c363af0ff266efaf176ef4f774dc79c2b6ec8acbc37a91669ec"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: EndlessSpaceCollision: \u0060EndlessSpaceCollision\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (Difficulty; e.g. \u0060Difficulty\u0060 at line 507). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/EndlessSpaceCollision.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f543a2b8daf684bb76369bd1dbcb835d5280716c7a88bb6cf9d653e93e1cebd"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces ShapeEngine.Audio \u2194 ShapeEngine.Core \u2194 ShapeEngine.Core.GameDef \u2194 ShapeEngine.Core.Structs \u2194 ShapeEngine.Geometry \u2194 ShapeEngine.Geometry.CircleDef \u2194 ShapeEngine.Geometry.CollisionSystem \u2194 ShapeEngine.Geometry.CollisionSystem.CollisionHandlerDef \u2194 ShapeEngine.Geometry.LineDef \u2194 ShapeEngine.Geometry.PointsDef \u2194 ShapeEngine.Geometry.PolygonDef \u2194 ShapeEngine.Geometry.PolylineDef \u2194 ShapeEngine.Geometry.QuadDef \u2194 ShapeEngine.Geometry.RayDef \u2194 ShapeEngine.Geometry.RectDef \u2194 ShapeEngine.Geometry.SegmentDef \u2194 ShapeEngine.Geometry.SegmentsDef \u2194 ShapeEngine.Geometry.TriangleDef \u2194 ShapeEngine.Geometry.TriangulationDef \u2194 ShapeEngine.Input \u2194 ShapeEngine.Pathfinding \u2194 ShapeEngine.Random \u2194 ShapeEngine.Screen \u2194 ShapeEngine.ShapeClipper \u2194 ShapeEngine.Timing depend on each other. The lightest dependency in the cycle is ShapeEngine.Audio \u2192 ShapeEngine.Geometry.RectDef (ShapeEngine.Audio.AudioDevice \u2192 ShapeEngine.Geometry.RectDef.Rect, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/AudioDevice.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50690a2743ae6bd85f66928b3b23819e474391846d9993b3ac3ae57436f1a0d"}},{"ruleId":"AX5","level":"warning","message":{"text":"Appears unstructured (no recognised architecture): ~161.2k production LoC (547 types) across 3 project(s) / 46 namespace(s) with no recognised architectural style or layering \u2014 at this size, deliberate module boundaries would help. No DDD/clean/vertical-slice/CQRS/transaction-script organisation was detected \u2014 code is likely organised ad hoc, which makes change and onboarding harder as it grows."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf38333cec692da9187608fc8d12d547460b1d3964d6b4da78c9c51e859dd969"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IBroadphase (17 members): \u0060IBroadphase\u0060 declares 17 members under just 5 distinct name(s): \u0060Fill\u0060, \u0060Close\u0060, \u0060DebugDraw\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBuckets\u0060, \u0060GetCandidateBucketsThreadSafe\u0060, \u0060GetCandidateBucketsThreadSafe\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 5 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IBroadphase.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9ee085d07e82d945bf5b99dfffe716e2dff8048e0fd803fb99b299bb180df9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"715bd899b59f0d52737e495e4312622dc4c8e3af5961b1b6aced92a90e32fb1d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71e742a020af15c8504d908742982c1d784640ca5725541ca0bbc7c96a22f4e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawing.cs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"13260359054939901bd505aee601a0f8c0f26427e53fdb0c55c1830fef86de3b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleCollider.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"128a2de25a2723c51ff870be879eddd79006b7ccb3df38c2234ad2715912cf6e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleCollider.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffed7387b53f8f399d3c127884d962fecdcc3d3cb7224a073e0900e03ba1cf25"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleShape.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0bfc6423f34e1c311648d85341d34ceefe4df4f5c36baeeecd4b2f9e0fa1f3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleShape.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbfb3cae0d537a7dd0f8117d8711765c843a6ecb0119d0970d0f6772798de9e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c461cc8697b36a4e824918df101bfe2c05108a7d13711e1011eefcf0e4029d2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"412404956321c53576a3eb317b348854327dfc3160f52d2ab90f2d186124be65"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77c16a23890249d8de72cb5f14493220c87a201fac35863853fc92ee50eadb6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec8888976e17784bb0a5998d15cfe04de060e8a59234267beeb7a9bab9cd5a3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/TextPackManager.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"975218ccad333e3a09fb36c76ab292c0db92e48cb0bd6a15948e3d8ce8e17d59"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Achievements/Achievement.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23419f526be15a6602a6ad328ffb7058a9b2dc3c34ebb2f19f5eacbf472e2db"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Achievements/Achievement.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5fcfcef98861f30967045361c0fa69f119ea6a92ce699ee8276adfb047f3de"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Audio/SFX.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6ec80f146689337d17bbb750de2cc303e7d9d49b7a54948a81984d960206c5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f1b2fd09ae1f990c5f1ec1a5628e32ad2e51f92dabc43fd2ab119d394fc377"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"856eef8619906e9f617f45b0f77d379e6bd19e59a1d25d7dd7de8518cf732de7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0e7c72bcdcadb1b5d15432a49cc84f5f8dd98da593f4ff8d814de318633f88"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6639e8dd82ea602e7609a6c835bed1f468183fdff82308f4686a18c6565b02"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"4593c3df96e6fb997f8ecf17a83cef20bd77bf6fc13ba7109f455fdca072ee5d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd40f4164f1806f254d791b0e475eb05bd85597214f8d800db0fa9c36921bda"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"058c928326a699012f2f51f349794953b05c9a155d1cd0b4e38710a374c7a6d0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa4e0f4d5c28478f69c04d178113d6562308b57acc3542b82704d0361d25fa9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e3b687c0ef5addb29330349e35a5ce3fc24754bd4f1425c1d41070223ceda0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"4171303508a4075b41a3c1dd9f01d99199b09d5c41357f2a7e6b514b1d84c61d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e68a2b0d9dddf8a72a9442a7bfbcf56390ec73a8ac0edb3cedf58b891ff5af7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Color/ColorHsl.cs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5449a091fa9f09bf3a09e801f0ce37bd0b7449f56448d80bcbdd0f689b81c3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcdbde819be3fd78f55b2db364ac3de49bc5a58c88068d02c8c73fd8e3d804d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73731392b1ba9b463006a0592625b17800f4a526e9a2bad32c64d90a38e6bcf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9005edbd144e7d638c9ed39ad88b01b5d3916ef32d50ce8358544d34431fcc39"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81ada82997ff7cbf3a9f79af573d010e121159a7476fda9c083fc328bd6d2a1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"563f00fbcbf186ac5be9ce9fc106ae0a84e2588297ef1eed0d42a0081d8bb185"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"16752d178592d820b1d5bab0c73c0856e4cf315e272060c59aaa6950ff8f57f0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0cbf267db595fa7fc744bbc892c656b0a9d6a1401e1ed91f10f26eeeace7d8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f43594ddf7b12c9639c0e457ec03fbfb6dbd7180e939561037934c79086c53b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cbb31f77ee26b2d8358d1e1a597fb98f22a024d833a45e932c3e2da9b2a36f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fe67a65421d5eb9ec49436cbb9135b7dbd3dcaed1d30259f2ece7f29c132d5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"2622e625656ce3a24aa3167487ebd685efe6ba27ad17d30c6ad5215fb202d4e4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/AdaptiveFpsLimiter.cs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d1a4465111c94391c19610fb359283294d85c2c4851f751915bf6388ef1726"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Curve.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c277ed289a68ee24babe0c24b267d6732c0692ae3f7060c6f6f37cf7063dc0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c97d3e8dcdbf1b5e10896b8890f32e097e0f32ce7e56ab1638551ba949f1449"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aeb98df80a92125281c695ebc7b130ed0447e888fe1a132757fb2064a88d523"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"993255553b0af65fdd8937d5b17d2644fbad6c5e8549e22538a2af853e466885"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"e253a6f43e65f646be7cad9c5b12f8dbcac779534d313660ea4ed2e553c9c600"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"3236408dcaf423a749fe6d9c1695a8c7338705e19433050794a07fc6d4ed13bb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"db05d2ae7f77b5e6e977c827a11527f96bf569ceb682eb08f1fff6f3416b8dd6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/Game.cs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa61f1881a748391837c2cabec3987812ed3ad70307be1a9160f86d5d59b0448"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e73040c29c99563e0855fc23547558ff09d0a66b4b58183e1ad91f1d7d1e7ec"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffa99d8eeeb11dcc14cb9019a60fbba52fb779193de7d0eb60265a292bb3ae1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42875e5a6d2547636e4e5c42094df304a8845cdf7e9837d4820b9b7c8688927"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"047f3c077ac4f411fe31ec3c9673095e54ac038f35ff631abd0310e1173446df"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e915d7104caa51330231a61864a7876a056d445052b29929a8cb162fa06da5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf2de90b481a74d939ece08f363159294c933c14bc6017719b84bb30b807e35"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameGameloop.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d33f0a38c73a99b5a74d4f40b5aa8dfbc3be7c4931f9f91bd9bffe7e1d08335"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameDef/GameResolve.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfde3b189afd285c3d1c1d9a99fde773a808398a664e52762de39d9395ba4f2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5e4c76557e4c57ad4f947c38febb1fac343bfcab28ccb56bae8bed832d7047"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97d75ae1defe2ccb58a197815739d7d223c0ff32da925bc093ffcddd22742cf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"321d955f029eb896573700acc2d28e10ef4139afe900d329bd81ff25aedc0962"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa033fa7ab2772b18ef35d2100de082e26114a32dee8b842a9bd2e5ec1fc6cf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e0596bc01151cf4c28dd43e0a43a353fae7d47c797c1d5ec0319b59abd8c8e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"6717bbb2b93f770ca0904aa707efd23c9ff38ab74eb5078c3bb6311b12be7d14"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ace04b56a01bdd5a7c2f622edd2662832f4cf431fd02e48f937e51a58b0ad08"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7b65d153f9150cc7653fd0520c4eaa39eb61e37c9578124c9596d8710503ec"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4efd4a507ba66b7b3aaaed59337bdb6e98b9aabaf8f1a39d3c76000768ce8c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"7901f3def40ab531c7676a56a2aa1333825655d896591e4a4d9dc594c8b33968"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"6486764edf46ab1a2fa4875f4a2466d9f275a9002e84dd40f483c451c22701fc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e56f2a3d6846e193d4ca5cbf53c73ed31812d4460e68d93d797326d18e5a9eb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bbdb7168fd4554d46d1a11d38a219e5af78d8dec5f979ededa354bbaba2b20"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"efff733308e9a606a4dfacdc3ba4c551a16442fba3c69686eeecb54f970debcc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a590933f8b1485819cf740acba7d051bd41c17e51ce6dd0fbe621ef521b505"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b54e8e628a69f69162856578d898e88ba8a578a944f23212eed880ecd39d36"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"6638de5b2466bb0e01e417b50f9c2eedc4f3f63af8d58b9747f7f85f424ed0fd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b1c180fb239d57f3d01b6228264a17aaa9bf842146e41394bbce4f494de3b0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1809ae1c38d3199e48cd42e353cf9d4225d0d35996fd1f7c797f40dbece774b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6623b8f511d837939cab7a1ae92351360de8f1910690e4b3007ee6e5c47d4b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"41450ae6359c8f5148c7ae63e1d6a2440dcf845f450ed348c021e944ae6ab92e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/GameWindow.cs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedcd993cd02e97614827a8b24944564ae41517cda2c599b8662fc57f76226d6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4debfb04f0c60e6bd7eaca9f2376f89caaf8f49707bf907a3b30dcce2838ac2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/SlowMotion.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b0740be81cc0ff8be124e3ec3685cd2c22c3ab13a88f12e303bd237a95e86"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/SlowMotion.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0768c32136a7b7fc21c9dc9b58943c1faa14cb6021bdc94112a89c19a02ee6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ScreenInfo.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fadc4d7fd689b98489a1ff7bd5e7c1943a1a9c97dbd6af85e421e0b450e6492"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ScreenInfo.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3118963a530a679cd04c01f3eef98e9ec037288990d1730457c7a65c58d739"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ScreenInfo.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cc035d4c2916758f7a62f8d1caf7288e6324038873a410c60cb241604943df"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94f0e330ec5ece1b258c400f555a7cb4222437cf72fc939834178272a58b245"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd45109bc8c60cee35c1a4d7787fb42477cf014bd98f508a3cc3b02f82abb603"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e0d8b117fc77eb6fc248c2b7a33c873211522c9ac781f394e8343f7c7793a2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f4c3752a5b0fa3635a01a517fc732e8cc1bd2e0017ac576d8fcec197c03db1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c8b416fa5328d3bffc51ba6bddeb6451ae68dae1c2f5420246edd8edf62d35"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8380057d6f7b88ba7e37307535a5f0986f0eb8674bf7185e15a457473af3d8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/TransformMatrix2D.cs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a12b1ef99d7f024994259228093ddcb73a70c50ad9acef4fdae6b77deb9b868"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"45beca175cc3dd338543936958931a86829818d7f6664981c36a95db6097d33d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CellCollision/CellCollisionSystem.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1d714f87085d942d9490e3321f3ba9691f997d19faf8a87a54cfd58898669c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/Circle.cs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b355fc007462913206ce2d4b543b3c7dce070aced3a012bd0cfe7785c6b460"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"045b93ab573401f8275284672003deb5f944d47d1f95e4998c913dc173990ea2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3adcd0f6c6d57abe39b3ad0a2af1893019e4068b5b299a75fb136b4fcd8d41"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"28109f39ee69dd49fac75e0427bfeff538475730247d5f1a5f8671a1af64d9b7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1b8f81f0f29c9bc580a4b36ef8b31c03b8168524ab23431020ba954b6bdd2a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac33012408c291b85a6de1e284f6fcff3a00bc8017ddc25a0e0a6bed2fff312e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb2f9c04c68def419fd5186cb8e64a0c7eaf54381e4ae1cad2c2d8749a02cee"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"df026cdb6faf114010290cb685a979c9ebb6e8b36eccbb6e9471048d3a1b10f3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed07424f612b61b09c847e9b19d6a60db8a97ec1aa1e3f223203f3546a8c6b8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"9453c983cc688490c20a6095e24722255d22a82996d1c82033d92b43af7454d0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc4bc1b0a6bd22bc7dcfbcdc0381f9c342290131618ab04318f58823fda5407"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"89534b2f4d7585fa3837d2ad0c20e59d0b487b94667926607079f395df0a4878"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"528c61d092af20f75ff4e9a7928e1a8701f01133fd0d22a5aa42999ad44a896b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"97acf685be9a071b99bbddcd7a1d85c0f6f4ebd3e0cf90ce637ca9c0feab64aa"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"44889e59541576a3c02cf229902cb18722c4fe421207dd25912e0983c8164943"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61c99eab4a2b9825a6ee158f5347ea1ac02ced46e8402a523f7ac6368046a84"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d6f57c540f61430886f8dda8d6fcda335ae35dbae82feaccfd3611e693d4a1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd02a5bec309af5dc8dbd260b32b1702db02951ac03cdd24d53a9f4247b70cd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c4a064389ab560462cf028ac9b4d5ae64deb72e209382e06823fc90037f084"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa9642d860b607158375c8e0d09c0aaa07de6f9fa79b1ac65674e54d8887e06"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleIntersectionStatic.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11a873bfea5574de040b14cd75f090a51127bf16d3e389a06bc40415b83a039"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlap.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"47137820a2b5b586da7e6b7158a349c6af8b50d5029702378fad65a51732d3f8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleOverlapStatic.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8f07f1164d4d540287bdd24e1984b2926de8b666b0481fa78056dfbbd1d399"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/RingDrawingStriped.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"36800f69a00157bb4e6a465c75f5846e1f0476fffdb6587fe3906a9c87829a5b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/Collider.cs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"53adf29a3ebc10030f098e6c20cfac5b5a931fd8e4aef5679867a6dc830b4e72"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/CollisionHandlerDef/FirstContactStack.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2171b09146b4bdd85b8b05dbdc21f571defcd624b5ae123b82973c388e2116ef"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f087cdeb3e8269f0c88d9c879684d7f613bc6896a4cc397f8e7f79b6ac51a08"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6a0cc4a711fedd002ea3a431ed8bd83cfdac437f8e6411178d62f82ffa17bf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2d20fabf1944175d56d4badac18ceb288c30f3c5efef7298781ab0e79d6594"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb16d1531470b00cae61e2fbcf738aceaa3b896782ea79b03b83a5e12cc865f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbadf72583de1cd96bac87b995391ffa949b43b4be4bc98cfea8d5bb4b5d25a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a412f62ad22209fb9e513facb77a06a9da091fffc3f5abc38bb0ea1415db5d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68048253eaac3a0c056dd52306d91260de281e28ec6a9f0e2aef3e0b88cb8c2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"abed48434b868b1df4e95ec09b4c2cbf73d7a9c4f59b79b0ec783e45be669e6a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a486b20693ddf42e257afe93db41b3dd6ac15309dee9ab8d96eeaf1f7c54bba"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e751fb1fa28dd9c82b1431bc48ab5461731f1847f74d16f39adca855386c486"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1545b9142e634a1830f5b865772ab2d7996e6e42cd07a099ccddaad0c0e7e24e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56d943e1fae871f4f1b6d712056e97ba70db66a78e709e3038eabec9c4d3573"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fda3785d959d960b9205f5684bf10f70749f5e8ea0d888c513a8059a561dee"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1ce80cdd5666873c088af42e238e6605a3325d2249e0ecca5fb3db84227d84"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be2d97a92d3998114c4e12715c20c1dad68ec3fff1588c5c3b6459a61d681d0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cee42f6855f07ca3c8737f357efe5d36e3c28e3ff1668d6bbd59a437b7e86b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b165adef05cd8b6a9f6a96fc161c1d7c100f0c73e2dc87d3c0e9417805739012"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e1f227eef0a70699fb3d264ecc2e229213a67035b1b564955494bffabb6ad8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d25c1c7edbf74231bce5de067bb48dc3d2a09c10d75e11f25899e14dd5be03"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d3b0f808522325eaaabc2b664da3da1243554efd6572662b1eb119900ed139"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52d4b0f354c58bd639b365804c4f3293e6ffe65d47f95b3850c89500eab6da2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8f1c9eb94216a05b3e7b90ffd863869232180ebc8a3076026984f7a719f5c9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52bd5a837c965c4e5a7411786ed67bb67814df2b58bf29195052a264e6c4fe4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e7388b7c6438e8fe765d0d891264f1cae7293e67efcd09b01bfba8167efd6e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a712b39e95ac544cb39eff0cb5551a8b43102cc40a8573a9be7bfc7c25bc4946"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc0e30b3e5470503ed322cdab35e7df5c62a23eee1857415afe94bc0ae2068d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a7ae3b9b29400fcf3f33d28d22476e7aa5f3d9a0441d7e0f591bc7763ca3bb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb92955bafc46de64317cc31833819e5f75a4355d257352cf3733b41ed98bc3e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"128a8cafe283f11abaf03a4397cb4c1e118a77ce72cebfe980df7355decb4913"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0b10383c014b7f6c5ac2072a66fe0ba8942a769edd72ce6efad18700a01c35"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dab2dcb2b61c688162fa19766cc803bc5b29948dbac87571ec0ab745f3509c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46517e0a2be7cab410eca7761a02d18471d8a83da8fce8891fffbf753bab9c9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"736fff6bf021add37fc23f105e882b29368ec65436960cd692a6df7b8f78f1bc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af650a1425a102ae3a4a091b35ee78da50122eb2c0e7ad052f5128e80acf601"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8b6985b7900bcc36f221725bdcc21bc686626dcb47f7db0e6cf1bd62efa7ab"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f344cc2d2e7147a048e273b6f2f34e29c190e2f1dadb7e83329dd832fb9e90"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5a08c71197f19096eb81caee9a042bad8d4fffd5a9174fc96bfc32f99d2be4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4590a992247d5e2b816c41a93c8007d6162b6aa82bac695e1eaa14a9cd41316e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"65be20fed3a0a1d38813cfd7b0ac82d3d22f1e855e6422f5cb90b4ae4b7b0e53"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc51a0f04fc62b2b86d10d8e9b871f4fb624d4700b1a85929c9bc6c11bf3333"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fec38d6497c0330e3b4b5fd8ad3c8813fa0ddf513be96a425c5f81fcf0299d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1677009b9f54f7ba51d8d39fb9feed34276f35e3f4bf0ec45608a8d8f092fa3b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc8e8a7acfe62eac1ec035d8398b01cca75c02bb51e101335e9f1f1df6ade8d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b81957b04b40a5e32f2b3e5eac5ea282b9c4f3ba7cb62e65274b47879b2a32b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ce7ded22877d749361c5e265db7774a8d6691bce012e19ceb66760ffa9b3eb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc1f8d478251bcc59b45bda74ed7d13a582e9f24923ead4ed9e3eac6c9ae820"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e8ab43e3beb664ee77d1ae1d6ec07ec305d97a0c756817b71ff187befa6f9f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbb8e1a214d2bd046d56a24398438867e464fa535131fe838191f6de1798f47"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5637d920d98a9aa65b797672f7fcbb86a5866f3938680eea4ceae47d905f76bf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3904f057f3f58dac469710bdc6446f4d7a1661686a77bbbc6e0c6c8d183de489"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPoint.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e581d54f9421bd2ce2a855ff7d1a40f794470a589441dce3db7ea943efcebe96"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7457cc7f830c65a83fd5a5fcc550c119db4434a2793f0ed7d4ef5b4dcec916e5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bedd3c4e082ff292878eb97a433f87eb4c9cdecc6e9986e0210403a60aecc4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5404f0f15065fb0036f4ec5d52b59687b77393cc6ea358d4d191af15a601af8e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5820f4cd8269febce770c622d1a2da92b5d409069341c97304e0f4f17a48d454"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"988bae34670311942d8e87744677dd18ec246156f695fbcf152c150c366feeef"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1949a83aab58f4968c95c718d66c5e5cb9221af0368237b86710fae7ae4318ad"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"008549712955db7ba8ba96c67fa327807c2fe71013957c3d0b7cbd9278a65ca6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"025b0662c1dc53b61979916bed791df198e5eb0b060aa9e54ad3d3ae2c2792da"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d332ed53dec29d91cd73accdf1e1f19fc8a3b6ec976dc90d5d04b752183096b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbd955b125e7e0ac1cad9584ec93762df9a73902139177d3eae27c5cd2b91af"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67b15b811d09759f433ce1c17bac60b092ae7be8a6a6c842d371f6167b07fd9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"871131e8ac386e82e6df82e12e9732163eae4c83cea4bf692f6091f0ecb32bcf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bec63aeccf0cf34ebfde89df803c8daa532e69a117a063f7e1e54010a3bf7e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d23f64cb4d439deb53b8ed1fdce3b144610590cd66fc3d013a0ab9cfdc2860"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d67f2d3240511af624fe778013e13980bdb9b1990ad1dc15fd796f219da850"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5937dd242e5eb73ea3e3f686c97d47013d6242d5451a554136a7ece273631e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5028c9806b8a484603404abc8fe18e3dfe01b94f02e4ef2c1f6dbd97757496f6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e1abf0d67e6e158b852bcef157ca5da9af40fd35eb603801aeb7793efb4bf8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed58540168fb7be909cb3c2e1ee6a781abcaa828b2079f138ad0c4fb5f76c1ad"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd55c681d416a6306f43192c3e98e1e6578ce8cc9db4b4ce997781457b54b45a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"59aae1a9c9ad5c2fb8d902084c0cb15f57dbb507c891f35eb8ec400e2553ba6b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea657f9ba733c63c678f0b4635877a11a3b293b217fcdd7f94d746c15638c78"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eaeb533ae74b96ba5f1960abf43471fe4cf8c05addc9486bfc04bdad297301"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5066dd6d030ff306198b0ff011da5425c02fc09c77acc7c668753d4564d04693"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6559f249db9f8ff57d8264e2e08a1358d282a4e53b0f053e93d901cefec2ee95"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7466c726b0d3c63e0cc5e051e9700178ab3090c7f9822fca062e0f3e514a6382"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"197f86a1f54564c102a954b1555baf9ce73cb30fb4db772f2aa92dd80a6b5f42"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d1e0e71de6774eefab9c84351f8238be4dc8e5c56dde126b8ddfdbdc2b2329"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dd2125f505c6ec4a957c7184a5cce9bf910a3c5c153736033f8b5f68188b7a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4976afc766b339f419cb874961ecb5200bf1e60d0c576c3c1e1687b3dad26bfc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f8cc8553b8d003d0ebb96f684e53f301a75e75bba87f90243afb2f4721ad41"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49be07ef774e1e44f457bddf78be68575b9def55beb486139fc158822805f77"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c292b4fc929154779cc090c32eed0d594b2f7ff294cadd5f88570ca852dfbc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"da09e1df5f787a0a623dc1f97215fc022975c90494f220632a8870934c8d6f02"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5e29832012b6f3c3311cb12a6ef7e7815f15683c4461f28114588dd663eeb9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7d70455fa53fddbdb443ad9775a080c7ad3fc44d6cb2f3431f3a08bd790cb2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa8d52d676a83b9589155f9879e379e3f7b987b170353f3d2841b912f75301a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"162ec89adf74cba18df8269d0bdb7fea9e7e4188948889ab3f5df5d8f5024b31"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineClosestPointStatic.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d86c5a9edf469d4f046e2e958e87bdca6f4ed5f3925563ea4087cb765fd357"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"87aecaec9311286b319fe3e267a396b465c587bcc4217bc6fe02a630a2af744d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9224e0b47ebad2ec3015c9ca2970d74cdd7fd347e17c100e3f357f0db1979d3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb60af7f3b154a7a358d70792b652ffe36e5c87cf2543a86fcc7a0a437ecc4e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c24406492d97bc05594bcaefb6adc983d07218952d201055dff201d475fb2a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"828c1b71c009dc0210d9c8f5dfab9c3016d4ff45a720fd608c795cd88bf88242"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc9eb607293e09dd95f47281c1bac58864a5895b6ed75c197b95d62310f5eeb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff87863be73378537f2b4bc2d45e81f691665dbd7c7d079975e7e494e79b8fa"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02d323affba6a0b4d96c4d4fc924d74a419e614498ad155ab5c6f2495f87f74"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectShape.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d75fb433e3172dbc8bb2591eba986ddcc0c23ea161f60af59fc64508359a15"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bb6e4cb70b0ae8daf0bede24ad7fe8990b52fad517edc8afe14d48a3624986"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"235662d405bfae01441c94344bb0532dcc7b0d88eca7b50b0ad429128f492cf2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec2a405345925e253d9321bf010e51a867b22f1e53852e4dbf6a70ca5f74b41"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fbc47880f9c070da5990bb5178c326c6b8257f5739fafaaa59b107446fca67"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a513481868d9e83837426fb1fecb85e5831b16d3efce6efa6a421c10ec18ea"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7625f92d74b8b1de346216d20fff503dfc97d5483f81768941e4abece31d9c05"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0235a895b31799ebcbad0b979f08ba68aa2f0671ea660456a6a067f8d4a0a5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33c22a3084a02f3f376cbb46be03fe6106b2599ef779f572949d0b85807dc75"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8611c2667f53c9d6ee7ccedf9f17354b0dda95fbea1d495f27a268a42e2cd8fa"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a653a4373e19de24941b0ada202b98cf0167e449b25834a026d9de6abe14e2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee04d7f49e883b8b3638d0824b2a7e480c1dfe243988b4ccb9416ec7086b9458"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f655e5f1517b2cf63c007c78cc230822cab13457fc06989f0667d42871fef8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PointsDef/Points.cs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"a805c7c7daeb67add2858b3a4c252c6f57e97ee4b647eca5d0898c4a143bb6ca"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/Polygon.cs"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"30193fea8d298a7d41cbb9a791d4d6dcdc8789fd6ea77da4dcd81f2db787298b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd11249b794c045eddab515186685ac54192d86e691c61e87b5e0c77697c3e48"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"625ea4a86f4d573a57225e803d38bfd45ba585b047ca1628b3f2e05f8d34922a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"8233a75acae92480d9817ec6cd12242f5cde209ccc45a471848b647818cac77a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"4891139ef24bccbe0f4d60cd0a9731c44d4903f2f2ddc304d7b27ae7350cb102"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bd3d451599dd14b9bb4e1569cbf8d696f0f9d1e69afab20e1b99aaeb3388b5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"7655b7d24c5b07935fe404092a9580308854a1ba5ba1f933e402d539ce62d41a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6954fe5cae54668f08792eb31a42d1a8502057904a45c4308cb6091fedcd656"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11362c910f62f1537b890cab2b471a495dd0e55106fbf0f31599b5f3db8d80d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7c954f31f76e436647d6b4968a09776d242ede49dc2de038b25ef2392def0d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae00b36ab7549c890ea3927856dee5c321a285eb24f97c44323902155e2a7e9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47dcb3f197ff4765c9bc4308c780e0dbf8505677dae38b37ec4e4ebc54cfd9e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"0641374501e75da1b0edd9b35f7afa5ab1f2315e1553575f466a6726b4a344ad"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fab3832ada3c8434ce752b4656ccb03e57ee4da9a9c5285942ef527a103502"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"142387531a313cd0659d70d556070cd6847cdb410d82787d0a1631bd1aeed14d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"09610c72a10200aed30f283c770ce8688d2e1342e024cc10dda2ddd28ad86576"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae72e20c42a79118e7cb88ec651bf84085df6f13c2ad46dca0bb883d8c19a40b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"7969fb52bb686b4d6c7781b494e03216ee496a5f443f6dfe82bc93695d6873ad"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"500811522766bc694347bb8fd92c78fffbd609408260235df3b6c46ec40b3960"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5be824622f734861683c5031a8380d91b039cf0f456917c3c081710c44a6261"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eeaa18c78f6715a806775ebc10157d5e2d0c5789587b1dcfe16551e2959ac1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce8dcf1de454526d3547bf4b0e72d0706a0f05b5c95958b3c28cbd09ad1f6b4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"35212c9a82b12c67d1d9af01d559e5ab9f4d374b12061737c556eba7545ed2c2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbde5ad487ffae2d7a951a7818eb38afd98e8253aa630aaf6502538aa3a3da8f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"31df338c24edcba16e8203e53d0913353d5ef1bd52d97f0f0407757644a5e4de"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25f851836b5ebe1f5d85c4328b461a17818911eabc176ddeafe11bd59766045"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6a9253e4de4ff5cd6b33ba243dfc31e9f23656b0bee53a93a9a2d0fe43cd0f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d573d682a5e3d0f338fc172214a592d5317a867eb88d0015f28996216397c1e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f2517b245cd92472cd30506ea014737c0baa171494aa44be5980c5d5dbce6c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonMath.cs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbdd6a0eed0d9742f1960ff12960da4c8c5c1d360d7d62351c4131d18fa5c09"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/Polyline.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccd03eb1e385a23bc417836e310696cdd8e5312ef24c14493b4327d0d0b389e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d21ca30b47e5b958d955d28b52e8ac35851809fb0f69e0e3d19780f60fc143e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7777ced727633b04144312185d137ef8217b08e671e120babf38bbe45da9941"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eafdf1a2ef8c17bed3a10a7d419b90bc35a2d5a0c9240b569c7bbeaf652963c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49b3baf3c8dd47849dfc84428f4bddb2ba58c403a360039a0dad84e00a15bba"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc8e8771a910e4e997f5229e0870b188d93315811975ee6c4bdbcb1578db9dd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b42bea5489d091963179bea9703c29c985d5723355e49799f86082533d205db"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd8f04272713c29bfbf626c1ca96664f24dde4df3b25be2bbc3f0ff30d5bc24"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf3761080cd9897791353e5ac737011b956a0cdabc69a148f131826cd8f5186"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"812d55b130f9c0d83a2935a154961ff560394bf3e0167b1217ea51f18ada3a65"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7270becaef772da992c74d04cc633b74770ce27580c69d4c259f6ed00b59aeb7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6543d5aca4a59dc8b173ccc21ed30b9b0df37e89bdad39b4aa92c88e05c9bf7a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbb749c4cd04c44fe5afefa5c8b4309e0b6e92b9ed7438a1e53a50a29a9dc91"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa65a5fd0991510fe6ec9ef02e5a7f29b32ee2e45d926e520a2a1b9a80dfe0f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4fb9f409517e7173f84eb72f29566a2fc8475013cb23226bd810302bb73e95"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3077bf22b50ef77f95aabf4bd4bad9f49a40317b4c169f8bd6b7489e4406396"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"590b40e32a03650285b9b591fc42dbe528cf708366a0691255ff8945c306ef3c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd79f912634d31989414abbe8a0202d02064cef6d5185ab66c92e8e686198dcd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ece985b475d411ee8daf79cfc74e23c56562c2c4daa98725f2ce3c9e9b393de"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"17834935dbb989842732b0ee6644d3c831000e9d2fe59070a94064b58719b90a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6a14e39fcf73580d93f6ff563af06e16578ba634ee6c6f79230b198cec522a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed9d18c3b2f8ef4d2d0c436965eade9506353cdc13df89f27fd3037a1739a79"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd41f0314bbae13893d473e196e5a1710fd3548903e3c09257dd6978a328c789"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddbe3d01736079a3dc5944d3957bcd5af93f0a8b15917721d6d763395d831ce"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7745bdcdbca5a2d6af07381123bb076646ad2ccddd6b27f1c63f32cc6fa82f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c02ba6da68f3f050c53873f493ab5b540f2d65bfe8346853b556e11a52b9c4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"007b6f3bd64aedcced843c1678095268a07840a674c88365ade76b896d49480a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eba6a6bcdfab0fd61beaef37cced5085ca3b8db355d77eba8d6a03f0189265"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f35a7d984f5b5e384f39ecdad2507cc06046a7db5b59d74102b01c1e7f8c796"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c133301d0bed0a9c61a227d21ed77ec3686dc193aeda9b864fdace1968a942"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bb70f9b03e5a367b2694c2f3d5dc49824e5332f03db7b407e4a15eaff8218b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7b3b364eb6b0a3cb380f4a2211de7fe738dffafe13a21d2cc50f428f1a1b09"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e22e20ea8d5f3274ff337495d79f52567d82938050917477a98c5ddd1288f20"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27b55e6d485dd41792543d02cf74fd2bb15e658d4253f29f051da6c429a88f5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5575ee63b8591632ede05256afdcf75d81ac0c5a8b8abe6376785d93b805a622"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c8617c280e0ec1376e6b5cfd86f89e6c6853c56b122810cd3cc6f4cc05d9bd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f5ebdb703403646d3c495d82c38c85cf9028761de701eaa374cc58976c0bfd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c97cfaabb5986d5e0b6351f5f6d58c072da1fa37a2c3153c761b36a46a3e655"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"2619caaec1eca0224d9d2b3ffe5e79400f23741000dd8d57ee8ba41ae6945049"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bfd09ca133edad07d54f0e9ae6cc27d8e3112b657ba5a139d37057da8b0a6f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d6785c73800f64aa28beaadb0d7ce93f13c773b98def3d2a0dd6f73f79c28c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"291c7708aee06b6eafc86ac0d1a00cd71741d17197b9b7c7d7de4f61411da7ed"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"67512f9bf6d599f30aa2b1fd1daedad96650e15786b9681a887d5a8b2ba25f2c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0c1d203b54663c889f9cc9e9f83a7bfb1224eeec198ffc8d2f3d2cb04c055"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolylineDef/PolylineMath.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4c0d56daa895d72599a057f5dd135d8e3cb2c2abe28479ea368e531da3c2f5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 3 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a2acc16b9a0869eb688791e4237b8357088f106b7fa60eccf2596d826d4552"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbda0ce0b5fd2923afb32e5b02c9b54b1f8d71c7993269c630f47b9b09ad2ab"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a666e607874e5616b6a337ce9ff964c8bbc5ec004dae8636ef7112dab75679"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3e1e22698492a60bca43947352b8019b4cd2a6e8f4297b922bce6ce4c500e9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 4 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/Quad.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7185527ed768618c6cb013ca35518ccff07521e2f0fe6548a8717bf2a6a0edf4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b5a7cf6a8411cc23ef03c86e8c4b1086b26eca41c6e6477e0975cd2c2f4a01"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5abf83b7486646690dfd5e5699870f4752328a69b9565fe083b9adf0336221"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"9274d84e4bd82330868ff4c7673c7583e9ae3f9a5ca735e3705a7d6517367a01"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba9b5a8c660cb8f5cf62a2dc437d0c44f4067bac4b5f74bc4ec58f1723a7647"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"de945f7e8e2a85bab4e416d131b55be8fd1012251bce819b52aec4df2881fa66"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c1dc73f4d5d15a26fddf7239ed511c7a6477176af0d320c9f9ee4d6d28701c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcea6f402a1c93e7e0738790a2703d420ece666a775a1f334ce5ecc59b5072ce"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c94f27a9f049014b1ebb5ae88d8c24de8f2971b4cc8d8e56b0dd26ee876665"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb17e7fa9c2b3f2589c9fed6794e5c40064332cbe131ebf428276c848bea763"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ba94b783b84dab12e1b9401146cb63f3579e296009c376da3e79a05fc44c1d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d70aff0ec62e361aeb30b69d5242faa3c1f1530a012fad60d20d39d86fbbc05"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e04b6f9b8c973dfcea79e4d631f63880ab006089a78276f543c155f2fdee608"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d828dcf8d699eb42d40b60acd2ee3fc646607b36894ac14c06a709872373a3fd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9c0ff5e87ce7b1e5f25d9d8c7c27baf2895871c6700c9acadcacec7bc81f06"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3119923854320445811b1854f6c04924349a6d5d847c05cf13e3cf9ba4edd9ce"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2539440298fd76e7908b60f2163b7ba68f33b69e033c3ea6a1f8dd601150d0a8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d0eec1e1d1cfe1b1b3f04cf820b39e211ad77eb67e2cf390f26f7e2ca0a48e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed621e5f00fe93c6a955aa5ad9931ada0af98d56f9e0900853e093a6be3d095"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf04b72c3d72fb8cef1efac31e25b6745d5fe389d6d69df87f4e22f70eca52af"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"782558a265e0aed90a14cae10a05ba90a09801556935f412e95fa4b4b6923c67"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f41a82658004f835464fd4edcbc76109fe8518702334359d1af0cf12091ef8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c3c73ee4d539717873f8662529c8829fc5c51093929ae8809b341b6a4049a6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8c6be2df34009ed3f6859ed2784421fe5a1a3d53dac08fe08bb82902ed0f1e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b4ff50bcec883575b25071a55d33e8b385cdd588ee12bada8deb27105d01fb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b25cce6b22c751b5924276f1de91c373dbfa38f4cd009ba5b19446a628506ac"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecbf75bd7a981443703d2917d6d26042d02995d329b6c6cfc3796c690ed336e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c5572d1770558f2c14c9531fadaa22b4517ee14cae47035e5ad7919f777dec"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef28526bc80d962cbf9d24af38a3bc888cfe4c15dc3821cb3200ad8e0cf8264"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a38ef1a5a58ec09bacf478bbb8657bc71c09dcdeb639fabccdc453e787a94f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"848cc7d8748dd2bf16a1d2c7702cb41d9c6d6757754387fe623b3a8806f3657a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad53dc4781d0c3d7af0787b24d172021289251bb7c770f8fe6f8203416b041d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2ece4a6b972ae8634a1e1dbc1330a84e0ac4bd99ccfd4d19967d03c8eeb404"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a1d98eb83d6021fef462f9d28ed75920d2a7c11e5cc9a2645a4fc25deb6511"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"99761d0bd4ee8c7fc41a95d6ac2ce7e800e13ae5a7852fa2041091b1ebe7f33b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ffec7b01e86c7ad9d33e8c242ec87077b008ff284ea3d5b954ded1a00050fd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc496e4ce4917ec9362442ccfe18a009e350f5f3896c08ea57a01c7aa630dcb2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8742f5fe894f2e3345424979ec25bf23b3f83ebe953367380cd0be3d00c52f2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaf653a06ca8187b499f406790bdebb867d20ada8da04cf3d0e2f052fc301cf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5b4dd67f6d49408a43d76696dad24157a62df26f32c9fb4e887a99fb982393"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RayDef/RayClosestPoint.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b9ca449fbecba9ba595d38c67ed2cf2b952a5eb20da6f065505ac5c67af9bb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e15af077affcf2995c1169d4c1f523c29d7f9f7037dc5ca5458b076f18c3037"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35807bcac6ed717b61b5a891325f312534a8a5ece78931b0f95fbbf26b2c28d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fe4d82b961d87a963a941f5a276ec5425f3251fb285a34699a66ba0b253002"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4277e57767b3b7211eaa731491c70d9cd72b056659644fd96702a955a05fab"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"048560c9da0d47c4ae7af197ab3174498fba1a96e0fa379d44c4b588ba1f36d2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7be7a4bb0fec277d97580435629e9234c5729d57927c97a4bf3b7851c2e1abf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce69f167d125962b431c9cf03aae4654d9744e6b97bcb1f821a08b6e7004d07"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/Rect.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d68123f6b5c5f65c212471eab42cc735c9b18ee2f86f35219d3966d0a6f5324"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"065d9fedad68764c3b0bbdd3fbac1d399db751e973ec0d736b6f84c809c8fd0c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7e9034edd1a4936118a2403804ae19e28efe5e4bd080856ccc7b06e9a1e04e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"258e031dcc8f06b48398de7287e028c5c2600cb49b04b2eeeba8c07d4af79a20"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd3d3d5057fee63005142562bca66864b4a11e2e7a43e76de5fb1f219d0ef21"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02b14128115850abd4d12cd833fbc43e424a5819cec1b21769fcb53fd1fba43"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectDrawing.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f05a2388b94d2e1570eed52b2252711b0905055918a847716cf2982e18f671"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/RectDef/RectUi.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05ec241fb7ae09243959031e47f392afad438c6f7b48b1f24fa611069317dad"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b498e14b2251ec706819d6ea07a291a1052674c2a3d9e5a7cbb309ac7036fd1b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"534b9c64d31d6d9b4ef9c185b77f652806e1ee1c61fdef64498bdb77e056a7cf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe6dbb3303ae61204c9de4821a100d8682fedf3af527245941e16dbd64c7417"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc1caf1e3c8ba053454e31ae5dd591ad16090d291c10f3cc794b8012a3aac23"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"037f084a47160f3c74e711c0caa0bb118f513e04c1cef0aa4a8c2253d2353448"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffb26eb2b2d3874d3bdf64c42bda00bfab5bc3a900c309e66c41b463f626dea"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/Segment.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e58a78a985c58ba147822217c3a377592861580cd1d843c0f000b964020a944"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ea54a64fff46a5469e212dda442f65d6f8f1b6eabfb02ee2a007cfd635f973"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dbf6bdff3c3a38afde80fec824fb884b27eeddf776c08e60d0041e0d8c95c7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0049b6e140ac7acd1088fe0833b4afeb1e4db6cd0dd84a059d1c2aaaf2a69ce2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8d20e04467a380370cd864072ed1c7736ec6689e79eb456b36dd65f8c4f956"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f91fad8f0a7ad1191e039ad26bd7a877546e6886b3e1b17613727e2d1f6479"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c189a91d42eccdc9f0a496ec3c6c624a366f792ae476d4374a5bab5d1c2b799"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"330e7ec2ccc1886aff685ee7ea4622d851cf3b72bfabb6eab2ed50f407c64045"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4902d1a0111b5453c4c942644db3aa73f75c491aed1b2b686d312f6af7af8b14"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e55bed5fe12c5c579f4838e27228ae14a226946605695cc429476672ee1d5e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"7097f25eac5f8493efbf70ba9b2a0c9da40cf3c1b429eda4e6f0e2aa61fb65d5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c645949b2477732361f908e52821e768d9fe578345d2178ca458cae9a0f90c79"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc13619ba5697ad7c0a2015a405b82df1826029a8ce9c4e4d6c75448f27fc643"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e704e847aa77428e874527e8fbc32ce7f6084f19bd71eb2d7bbe6944766cd828"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"41abae100f30ff166e160e71c304fa6c6443e7d6ebc37c7d2f953a137735b6fc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"daab9bd478766039318e81b704b064c5e4747eed33d0a6d0bb255b524f518030"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c731be5cec443486b1228cd15b9a56f4c5324e91d09b233ef6c46ebbd5fb21bb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46142ee54c12d3220251d7d12df6756566b30c8e4fe991a1df5d01ac05411b3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d81c29efe899c3eafbcda3b2c4d09aa263598680f6270971ff40dfe761fac53"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f849ca4b246507df18dfc0e569922bb3bc8e9142b60df018dec3df47cf1adfe"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf96d89c16759263d077cc2ebb7d37a4aad2bc355791421a36790de17b659842"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de26fc48d1cc05268ba33add877fcf4c3749127e7dc78e9dc81b22eabd6f101"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4cf9e7c11b0bfc5871b96e117aad91e9bddd345afa639ed1a9dad105965c49"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"42be8a719dbb32d4c87d88c4442b2565101cdc1440b94eb53c1e84c37293dd9f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"062b9dbdb1b85fb518ad5af9143b7a997d0e4bb8edb3bbd975c2fb307944b014"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39e0a261d13159baa31c45a9853196c77481367c7b7e95379994a00bcd2c9b2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eccb972766139e9ca68e922ed60780a42b6168d3a5a7d43500d0d14d45df539"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30f49dc3d684bf94cee111438a4f2dac10288793759f6af6051c9ceecf8ac3e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eab9f8ee3758711c47af4044e52694383e26bfe423aaa53dd7652ad380799b1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf6f047e315321ac1c2c6e34b7d1b5500d258d71319efb0c020458f8f97ea9d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a327fd9ce24e22ac0113e60e8bd1a40553d507555c78057b27cd2fb07709370"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9e860087eb0cdf16187877ba6ff6180c6a6c209f2c71ca139f8c040abf01c8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3574df81e361943ee94fd8f1a7dc9bf8686a67db3b8f3b60f659f9dcb61985"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9da737bde482200c816c0a652d78571d4c6b0b4c88a552495222043fe12461f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b9c6aaf329506b9fae691a1ee6b0d243f84bed4f04795979db7ca7299d3d67"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e7f7cc645b1096aa47ab0ad1897370b591fa7b6c0d476a16d85b6d8d17985e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentMath.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"78320b28d41ff15cf4e23e88a919010caa831da1176c371e9244da548a767df6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f31d18281594138c3d7d0ff6e1987f60d2a43032978ec649a0c492d46829df"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9987b8b7e1e6b6f2c369528fbce0607cc9b6508ff4c242a5c203594d918b9fc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50698f50637999a087fa3ec2d0f89e797c8da3b19effe6399a425965ae86b3b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd01cda9cfaafb5713b0edfd7cd71aff6759cea74ef9f4b4de8bcc2550c9c74b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d8a4bd6e68fba6e380e15af62775ad959e880501f268d7dc0521d22a99d13a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc70dec5ae75a4e1051706ca36f8885628cb253a2d4acb5bbbd60c8aa5510ad5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"007c08debe9f36ca7d2d77d500e9a0705316ee65fa417f89452ea22cc0b8e68b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ec3b3cfdaf9aba748313279cbe19248204143950435207442256283ddd052a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlap.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"682080626aa35984a797aaa0295dfeaf8a9bbdf14b497ec19c16a7590b15fbb5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"428a7a3a9ab43420858fb842f0e382e800971f97059c33a5b220678953ace72c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"914e2c67782f74f68ef9e3d8c75f3349391bbc6a3eb39e6d2070f80e8e991f01"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"be28ea00f443890b84be2c295696ec1247bd1b6f201f8c0e0e89aea6d6dd263c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d34a1b3e51d03820fe78669620f8105a031b87f91b8be12b641ec4c3bc7f8e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"34373f20626305540c6ff71f75f49f424aa5f4784e18bb7d43f8a0cbb5fc0034"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b1a880a2c958d79c615734f6c6c5d44e6953c4b47ec71c4df9bf7d28c3c5d1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentOverlapStatic.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6149f3e622177c63de8858069bc2bf09779e1b989fff4b3bfe56b041585be398"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6f55b886633b4bf856ed3e2a6ee96690f2b4e6e3197993c245f0ebc599d819"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9689187512f80f4b5a19347aa5b82950f9f7502f092d4ddef5558bb36d72e2b2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e871f97c79a40a32f6f7d1bdb8a488e653dfad6b8332865860eb342daeb1f958"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentsDef/Segments.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48c8d093e7ff3a0ff6703497a3dd0751985ad41b8411ecff64f1f315ae83909"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7597dab4b9cf962865cd4c6b5c8c60f9664cf0bc7324cca558db3832d47e7c0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0becb8f1bd09077594ba35e769a6c5e0a9131b96c5838e0f5c84ee116317db99"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f589d147c4c1cbc45ad75fccfeb49ffa8219ef0e02edca04b3e935a14d2af120"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3c6b59fc90b75da66bf7336ff64e8a7e195e6a52463e93cd11127f17f41499"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffc93e817e9f9d73b6cd64884bca7fc7edbe1a8d0a0d3ee06caa03fdcf6873a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66c6790ea21dd1dfb2dad0fe838dc4fe2409a7ac1c33be287ba2d906907d149"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f8d0410c1f842f456aa8f45fca53f284ec2a65e30ecb76fbf09731636e5c02"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"025d551c29e47447fb987f5ce6ab05eddf2ee34be01263c6cfb11b55512b836b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d3fa76f9ca3ca9f20460418544ba3159f1f97348658d1bd05c468bbc20993a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9e7e4726efed30c77286a50eca2839d039511be4dda1cee4e0f84492b0c6f6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"024f6405c5219fc8549ae31c3f761a5e8c37308392668b766d210c9111490be2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"818b3dc63e4c013ddeec3f1965c2e30ad5c46620a74cbe8aa1f407ff17a07695"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5c0530b2ab3db7997e6252de74fe3db89a7e9e912b7c6151d806716b7b50e6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/Triangle.cs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"318fa70ec6f2cd4cb27806a328439c97b67ea05abc987f06bcbd972fb5581cbf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleContainsStatic.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5ed2a9f23b27f6d61311fd769fbab57c0c98efdb98ade4e5fce70ded51eda3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"a023b90731f23572d52162dbb929f139053b74874a784e005e266925bb674adc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b760bb3794d19bc2adb1cef8e24847afb38246e3dc9775de12a2b8455e365c9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4a83d2cf78f3ada433946efda6672aa80a0ef2149e527ec6f0ffdeb6abf452"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3d2f107ae904f2b62aa5851292fe3eaac66108fdf492f1bd9b7cfebd5dbcc1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"716f3ce98970d0a8fa123f3f1f73a81dcbff7054a45ff360e554103fb6a0f42a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c65ae5f6928985ec0ce3efc1a9c2b112f542183575a190033af8120f3f77f6e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ea6b13795b6d7814fbdc5695ce7afd510212a68ffdb6e369caa898c4e0b938"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fedb8ac8e47121077a5e3de660bf31022eb452fa71d98fcc7ede476c993e8d3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a599ea05193f01cabc6fca04ebdb6826600548c2162ba86f08306db8534e48"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10623a266d62d81a261d2eaed35dee0ad831e7cf6241821893b25f8f2d353a3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7af725e6f6f52d7b6fbf087fc769972b04bc6739e2b2b405ad99c4e75e5ed3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangleDef/TriangleDrawing.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"3264029806273b19893917af9b0afe0b5c3edc33590cacf0f9e7b7feefb1edbd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangulationDef/Triangulation.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eddeb7e2f0e20696734244cc982dc65d9a219a92035e32f8c3386b9d064da1e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangulationDef/Triangulation.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe9b3add35694b36ee8213d09e94646adca13e2beee6972bb2c293d390a58d1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangulationDef/Triangulation.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be8e578cba717c9dfe72cbc9bd0743c0125d1e3934a0ce45812b877cc7592cd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/TriangulationDef/Triangulation.cs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0f2b7a777ac65a1d5776b655bfd4ecf704ab02b600410066f64ab5850ef21c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a94350ab3d215936c28f76af8cc4e7d6795329bce5b6e7f6042d3cff8e7ef4c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputAction.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f87533351f59347260caac3aa3a3c4baa2046a38ec20ed4ea7678419e2c6b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputAction.cs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5da5999526cc7a57706ab668762f2689f3e20bd8be4bbe2a42fc86c981f3d26"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputActionTree.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"936b5fc1f7a7631d054d953feaa80eb7ce34ecff46c6bb3d9596b4ebe058136e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputActionTree.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8c8ee05be564cd90cb250e03406d81071c159dcc7fade7a5eeda7abd3e1fb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputActionTree.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e43d8c55cdfd13ce2696af584a65c4351fa2176fa660021dabbae510e7a921"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060EndFrame\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputSystem.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4b1a0ddcbca38925f41b13f682b59e25bd72083c71e84630e00fc4d105dbb8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputSystem.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a2fe9c8afb72f4953fe92cdde7419a5a973aefd3c78b890f9c1168a73edba9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d76056bd1145dd76f7ba16c8ed1a98aab9fca6e32d7fb807cd4a9bc1e29184"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"95027326a6234be5fc7b2904e1e41a8a5cf40d11356dc72d0a873114aaa8d73c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"db581f61b85a54e4328483c0ce247cfaf7f6f874d81dc835e49452d3779175e6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e236cd6ddc9d04ec4e9a5e31d1b3ce97585fa89ba197ae765126b98d54018c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc45b4ab1ca864a174dd8ba923c631cb65cfc0e87a9f88cb3bd870fe9e2980c6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"80118d33808b57423f72d80c5e434e818e451a304fb19aafc7c0071c8aca4b9c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec327a8f0e65dd787382f196030e6c307a125eedbc71d6da392742cb55a0d854"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d738cc31b4d9efd8b40b36838c61d56997c4aa02fc99ca795ca7463ba654cddb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Node.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db224458c1baab035cb5ccedc9c19590b9064a15a8ec7bd0cfc75680cb71bb1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Node.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"201c806d6e690745aa36d51a40f10b872d3968705bf17a8a3a1ad1b77a2046f1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Node.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b606bd6496476de77b6fe4762bd7abaaa130d9bee79c3b8a4093e34e7ba86df"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/NodeWeight.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad626c4f71a284fd5573c1637ab815969d75cb59bb1b2fd0d6803f9007e8ae4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/NodeWeight.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"af49e1e7832240fb059cb22913c61b5c0fdd80d7da513bc0a0e7e84be64880f3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/NodeWeight.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d8d32616bc7044badabae290f9b93bde6cf4274afcd9f6f81408537cc33e7e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d5f897ccedf67fda764dac1002f081cf0b67f45206595dd5d68f4c5478b057"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac239129c293ef073fe099a8635cc3c5ce5ce829c30b725b4ba8a9767deaab0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3aac9c510db0ca6900b794c7062a0f08c3a0c137f3212c351a4c44543553765"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad63ea696b20f36c8e37cfad7326183036916117ff75b7f06dafa4edc495497a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Random/ChanceList.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad2c92bc27e039633c85901122246ecbb19061f91b5366837d06e1d674d0cfa"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/CameraFollowerMulti.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b745006c69d25474cb8dee3a04d26be3cd309ebcb06e9b4f2af877cc0968b3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/CameraFollowerMulti.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d161720450cf8188871848daeb6554d5e45188f9ae6e77cfd042e983cf4166"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/CameraFollowerMulti.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9675270d7863c511cbc17d5df887fe5cce76caa76da36bdbd77e1edafc2c0759"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/CameraFollowerSingle.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb25c8a3dc7e625468c78ae6a57a8f4942f624e2071014e873a7148a70779d79"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/CameraFollowerSingle.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fa66dadf669adb5bbbbdbf52a8932f55b8285f9010802ddd63fa915df67d83"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/CameraFollowerSingle.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f41b6adb77312349588fbd00fcf8fe4dcec27dfa753601ea6454c1fa08a15ea"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/MonitorDevice.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ee6e3933d6d52ffb53aa97d27117a47be79f519887603e9410177d5d792cc1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/MonitorDevice.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"35037e9685f241f1840d3eea41311805189bf6cd10c0f033b970a4a95567f93e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/MonitorDevice.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b42f3f893fe9236574573df0d39efa0b2e4b4ea186f414e4bf3283a781d043"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/MonitorDevice.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fabd6a86b79e457697b73a7c0d82468774a723b5317d9b4ad6c191fb10f371c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a543120248ace97765e164101fcb042e97c6f8131c401d21bc0f8f8ec7cd28"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2758a13e9f0225331a8b83af0c41a10d35b9bea38383642cc1a8a3494d99a8d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"0deb8060c4cf93c64dec857845868909b183661d3a9d204f832642d879f40f11"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ScreenTexture.cs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b46e4dbf2a0843ad88c8bafcf01ac2274f0f880ef5dfd5db431c0db4aab3f9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Screen/ShapeCamera.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd186d634d80970ead0aae785bb9644d3b42f9c7409fd50c376bd12aa6566ce"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"510bc89e6ca7f7dce3b5b1c6cc37f79869b53630f7c53c6a57ad5f687c02862a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d533e0d968d1a07606deb34c4fef5ac1aadb8ccd8ab49b1f04cd33a90f218018"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6227dc49b5f14bb9ec3e3a40bbc9b100ee604072660a13828339c989567db60"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa5c575bf5932e64bd1a969456c72d418065fa4fdbbbdbcbee06ed6f5f3f9a5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb5f8791e9a8e7fa6adaa82039733595800e8e5a02ec5f9591d4037144ef398"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ab3c18958457a9118616a7dc610152d5f59d049559ef022f34634d540ff1d5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9c8115578e27b76341a5178fc28c575b2dd980bca9959e2955d16cf7d3a195"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb5284a8362a3465568664cab97ba88f411c17832378facfb20649f24aa062e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff69f704120e876fb01e94f89d9376040485b585a240f4e097f9fe5027468a1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperConversion2D.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"82157f4d32f97e576dabe5e8d4bc54a8a0deca1f4c8eddc717ade1003f8b6f29"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperOffset.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b92b1cdda43051584301438b127fbcfd7018b93eef5194c6ae8c4ea51cd9f8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperOffset.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcec8094b6ab6e1f11173465270a17ca601f0cf85380632257f5abd3393b226"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperOffset.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c170b9844c6ddf69300d1ca7f6860dee42cc1c6838ddd0dabc3110b1e77bf4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperOffset.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84cf25daabc0888f00a6d001c6000be062d4e01399089c6a4a146732f8b4bcb"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperTriangulation2D.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ae58494632c96cdf4c1cc9e6170ce257ca96e3aa44fb50144cb7c089a7b3dc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeMath.cs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdb02c8d618a402cbed9c07067711974c955d0d37f1e1ce24063d1309c0d148"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeMath.cs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7789f21100cecc8fb0a99ad1cc542bbbdfda6c5e0f7f290ebdb0d1ef255d5c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/StaticLib/ShapeMath.cs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"171f14fdb356cca4826627f47a7088d9242951316053f4f82cbc203bb39d1eee"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"33627f7791861efa92ab4efdd5d0eccf53ea68f4908afd75800b6c1d2c0a5120"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3437dd0ca76a5979b84b6ed44ac4f35ac6254e7842447630cdfd6504b4516837"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ba1701e8f5eca4324e3dc13c5c13c732cf7bc861fc0dfceb0c12f4e436331c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeba80e0c89471a14d6d2fb2caa17abdfd938f798737617ba47d76ffbd9e8295"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"af55c9c9a0305272e3cc4ee71b6dd3c426edc02c8adb65d49be7dad9f576256b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Stats/StatSet.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2331ba928ccf363b69db33100a3afa403240e1a04e64b2600ee343b20fd347a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextEmphasis.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c324e9f91ee65a556cb5c28aa1306faabdb003d57912d7916ed481cc741e978"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03ee562101ee64094ab1aff9656ffba7e2f2055eeecd52aa64f821e9d291c0d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f124a86358d914f94a68bca0f13533f474c76bb5b26c605a97491b83bf0305"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ab9827b69857928d49da2d5f7ea2765b1307b36ffbf6cc8355777ff9a9f0d4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d873180a5177760070eb862a4a8666aec88b25700112befdc0911d86c49c235"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cfdf499cce0bcfdeb6a27d07df8aa8404cc915d64a732fbed1ce8e6a6c2158"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"743ab98c5fd431bbec445ab896741e19083ca25c3f0138e17040c114dc2ae80b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3fa9e01e2d9d8329255b81ac8918f0f73923ad26bdc023483c60a5e8f0d6a3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"2534290d433a539c0b0089178c1b69013070ce349f9bc9ca4f77d634c10c7627"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29ae5f3356f371a7bc7b38759f656fcf497ed72d26ef3133e1c5cdca689ab56"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f26d6706c326f51541ef143e7e963331c2b5f02c10b14c885fc131714204497"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d40f8fdc7618c9d8e6425e463fe9919712e4039648769b58ab60551df15f0ea"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95674596284d2341ef212034d62a704af97becf349f25c27d1622fea5a9d46d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0737ec3c023056de68f643e6d3e18861a6a9f81c3248b18ecb397e08ca2297d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a8e0b105c8f68713ea3ba6444e9259a8bb5876cbb2f406f19a3b57333b3db8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"efee4780d0e40e0eabfe7d4b1c60fbbf067d066b167993a15f120f1ca5ed4c33"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"34825f551a7403379f09473a39aa1b1be6b96269347fc74c1463e25907e0b8c9"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"963afaad0b901078b9d91acb4d8bf4fc1cdcf52bc16c2ea5efc0d5018387fce3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2ff8e88f0856f6cd918682d3d9b7557305f103cc7bccd5b9dc8a1f321a7d65"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2806898af215d0d9d7f47495dc9429cd7d9c3b7d751302d481a4090dd766d7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc6b94a8c41afb3ba7574df2a2ee2b815a741b51a48d26df9568096410570b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Text/TextFont.cs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"057316b86907799801ff7c93584cf325466e52357bb4b4ce0fa0025b3f969a73"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea01a3f23efdb8f722c01140132f1f09465f34c2712fbdd9497fa59da19e1e6f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0f571ee574c0870d5ce46c8a77ecd3cb179ff426fa759a8431be4aa2e6e1d7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2617c895ecb701db0e71fab3922594c69a68e0c03c50fa94cdefd04f358595"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a700c5926e21b8cef7572c821524bd318799f485b5802bf64737d2a0a0c0d43"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ddbda94fa5e64c2eeb4db9767fa3b4457d18fa48217fd37d1f83d59044371f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25ece6e058837d9c57e4d423ad6a93cc80c31af5866983a1c1683528a9a33a1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fe791c5c225e9f4a364b63a87d44f0e7e8c7bb716a87991557aa466f64a1ff"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e476d2a1e9fa9908dbf2c200ebdf0c9538970b187b7cab6b80ef545ae91f66"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"413dbfb76f5b6c39b4ea5a90aab0651f46273cc6ecfc9d880687aad68e35e9cc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"7793280a695615cb8706274c698befbaeb5bf3563369d4aa0976f50701171262"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dbd189cad9abd4dec6ba02e059a2ee7b637c1fc3a699112a9671b97af40ab5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeNavigator.cs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"41da819b40995f11c63f7d8bb68a1793258b2936132d7b0b07616eee1a7d1e28"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNodeSlider.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cd6c42251ceac60d3df9814e911796b3bb5bd5e276f176079531ff8f2d02ff"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/RectNode.cs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd83bd3569ae83929da4f7caf54972c86b95095275553aca8b6fa7062237ad4"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060ShapeEngine.Core.SceneEmpty\u0060 (ShapeEngine/Core/SceneEmpty.cs:7) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060Examples\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/SceneEmpty.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f71114d16e0ed3ede0b609bb55c1baac498586b4cb1f40523e4bbf1346649c"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060ShapeEngine.Core.Shake\u0060 (ShapeEngine/Core/Shake.cs:10) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060Examples\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Shake.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5e58b3b2d31e3d149bd6c98539e3c695775c62c7ebaaa968ef2c34b3348cd6"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060ShapeEngine.Core.SlowMotion\u0060 (ShapeEngine/Core/SlowMotion.cs:12) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060Examples\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/SlowMotion.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b454926488a3763c069467fd9f57c894a1eb3803d5cf05d761794383ee7355"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060ShapeEngine.Geometry.CollisionSystem.BroadphaseColliderRegister\u0060 (ShapeEngine/Geometry/CollisionSystem/BroadphaseColliderRegister.cs:6) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060Examples\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseColliderRegister.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4326685cdcfeecca4a7e8f3857984943135c17bb3d5cbe77f3f895116b70dbc8"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060ShapeEngine.Geometry.CollisionSystem.BroadphaseStaticColliderRegister\u0060 (ShapeEngine/Geometry/CollisionSystem/BroadphaseStaticColliderRegister.cs:8) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060Examples\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/BroadphaseStaticColliderRegister.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7814315f411b0dce07bdbd34e39b821c795e34b5ec423079d15e2a53befd5fd"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060ShapeEngine.Input.InputTypeMouseAxis\u0060 (ShapeEngine/Input/InputTypeMouseAxis.cs:10) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060Examples\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeMouseAxis.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cb935a2f028e8f51dc4988285588dbf2b273478650434529975caa84cc2b78"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060ShapeEngine.Pool.ObjectPool\u0060 (ShapeEngine/Pool/ObjectPool.cs:15) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060Examples\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pool/ObjectPool.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54ab3092692a163cb23ff48c1062e8a3cc995abd8d20cab7c77de8145f7a33e"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060ShapeEngine.ShapeClipper.Paths64PooledBuffer\u0060 (ShapeEngine/ShapeClipper/Paths64PooledBuffer.cs:12) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060Examples\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/Paths64PooledBuffer.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a33ba1a7a8ebe1c947c0df8d51f50f1a1429a42f760606b25de0a1d31d242d"}},{"ruleId":"P10","level":"note","message":{"text":"Public type used only inside its own library: \u0060ShapeEngine.ShapeClipper.ShapeClipperDrawing2D\u0060 (ShapeEngine/ShapeClipper/ShapeClipperDrawing2D.cs:14) is public, and the library\u0027s own code uses it, but no other project in this repository uses it (read: \u0060Examples\u0060) and no public member of the library exposes it. Consumers outside this repository are not visible here; if they rely on it, it is API and should be documented as such."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeClipper/ShapeClipperDrawing2D.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9e190fd6f4f160dbb1577178f95430fae78cdd2fccfa0b9baf9fd3d82c350b"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 5 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/publish-examples.yml"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed3d0d7c28467261d003a8cf6abc881841cc635e9d2324ab34b8ff58916f1fd"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 1 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060producer.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a68ed81886b5fe6d4fadd7e01205eb46499572fb6d95e5961e777c4eabcb775"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): Only 0/24 awaits in library code use ConfigureAwait(false). A library that captures the caller\u0027s context can stall or deadlock its host \u2014 the classic way a dependency drags an app down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9409e0163ea155fbf96ac6090b9aebd32c62808d0aee4aa2a31f3d049418befc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await UnpackTextToMemoryParallelAsync( SourceFilePath, size =\u003E cacheSize = size, ex...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"032eb1e8f1d830d1443b0b1c155af54d8dd2644516df0b453110f2a80a4512f4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await UnpackTextToMemoryAsync( SourceFilePath, size =\u003E cacheSize = size, extensionE...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18c6c574fac56e454bc6bc7b94585b03ea2ad425d9e75a0fbc971ec6755d7bf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await UnpackFileToMemoryParallelAsync( SourceFilePath, size =\u003E cacheSize = size, ex...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ad18b03357419de4d0fb4e6c620170d7bba5f63786c36dca43067c389dbb35"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await UnpackFileToMemoryAsync( SourceFilePath, size =\u003E cacheSize = size, extensionE...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fcef833d250100343c6ff62753571884214074631c4c15ce3a9011e5966b93"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fileStream.ReadExactlyAsync(header, 0, 12)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7977c3b1c895b4720707bee982f77cbe182ab6589827b63709d150ac0d41df"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fileStream.ReadExactlyAsync(pathLenBytes, 0, 4)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ceb8f0ac6e6513226e31f474cf10484238c7934a6c4315cda8983c3c025e8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fileStream.ReadExactlyAsync(pathBytes, 0, pathLen)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab444f665a36ab048369b0877c8fc7f5d080c482e87cde97e2ecc9e745539abb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fileStream.ReadExactlyAsync(dataLenBytes, 0, 4)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"94654ffb4b0a19efe8e5ab88f8069ce50eb7f7b9bbc7f77210c3682b5bb24905"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fileStream.ReadExactlyAsync(compressedData, 0, dataLen)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c0e3cbf7e0635bd8fcd794e7ab9551660209720299d531fd1b046b21d544fc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Task.Run(() =\u003E { using var ms = new MemoryStream(compressedData); using var g...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb659846a67e7715696ae37a71f314791438e6ef33b52756ab1f0cd47a1d5be"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fileStream.ReadExactlyAsync(header, 0, 12)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"405ff94d8140c10c285a18dd97105d599eb5ab53ce996675328e040b34a7f6b9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fileStream.ReadExactlyAsync(pathLenBytes, 0, 4)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dc7069e1611e4702998bbd0ccb07b83ec029cfd384ca74fc282b2244a2a1e0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fileStream.ReadExactlyAsync(pathBytes, 0, pathLen)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6a02d2e6e327d61fbee5fd175fd4fe55add21a75ad18f1f9adaa9398e5bcee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fileStream.ReadExactlyAsync(dataLenBytes, 0, 4)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71b21214f4b3479ff751601affaea2095d86df69822ae557a3bfdfc94096c1f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await fs.ReadExactlyAsync(compressedData, 0, entry.dataLen)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e208300a12a7fa1924c4811749b051aa5528feda3a13297efc7df215d4e2981"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Task.Run(() =\u003E { using var ms = new MemoryStream(compressedData); using var g...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b5eccbcc5f8ab9ae8b1cb7d92ae7f872ddc705606fb54c48108290bab2bf5d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Task.WhenAll(tasks)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e31cd21c8a8338edc25b7f44a11304a742665bd676aea025dcfbf8cdfec9f83"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await File.ReadAllLinesAsync(sourceFilePath)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba5c29278a59ae0bffd56acea47df3cc1634c03b7ce05d63ef491b61c74f619"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Task.Run(() =\u003E { using var input = new MemoryStream(compressedData); using va...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e066cfc2a5c0d56e64c5c4cfb50c8ecd63a4e0134ca75a5f31ceaa23b615395"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await File.ReadAllLinesAsync(sourceFilePath)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"8014d989a4ff6a1b2645c14e896aab5adc0d4be903cd8556be5b1169c2cd5824"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Task.Run(() =\u003E { using var input = new MemoryStream(compressedData); using va...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d863d823976a1f2dd169bc9c90d6a9281ab8c3ed9640a9efe3e20175194a07"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Task.WhenAll(tasks)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c8516f04f90affbb0feab4b970d3fb4dd4377bf1bc34ffcf64386dff8496af"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Task.Run(() =\u003E { cellPath.Clear(); closedSet.Clear(); openSetCells.Clear(); o...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/AStar.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4f5a7390f2bde9fcc7dd23096b397e3d0f3f4060d5f576ac16e55f9a182e61"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await localAstar.GetPathAsync(startNode, endNode, layer, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Pathfinding/Pathfinder.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3279528a000da4da46f0e045eba00adb082378c7d03c44d1d19e45325109b42"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: ShapeEngine/ShapeEngine.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/ShapeEngine.csproj"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64b96232c51c365e5dcdc9c24172b06e76308d567fa1fae35ce44a4be05e49b"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6619aa93b9b6b190631b6c864f48de82980e3c28a5cc50997323d1c043221ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!IsValid || length \u003C= 0f || lineInfo.Thickness \u003C= 0f\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/LineDef/LineDrawing.cs, ShapeEngine/Geometry/RayDef/RayDrawing.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineDrawing.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3ffacbae0d6119e3e2515765d62181dc152d1ffd9bb78f525bc78afa24b520"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!IsValid || length \u003C= 0f || thickness \u003C= 0f\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/LineDef/LineDrawing.cs, ShapeEngine/Geometry/RayDef/RayDrawing.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineDrawing.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7083fee5a42730385c77951484b2272c27efd141b5374da27ed88b76cd9e943"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!closestResult.Valid || result.IsCloser(closestResult)\u0060 appears character-identically in 3 files \u2014 ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs, ShapeEngine/Geometry/RectDef/RectClosestPoint.cs, ShapeEngine/Geometry/TriangleDef/TriangleClosestPoint.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/QuadDef/QuadClosestPoint.cs"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a8974069d21c75e47c7648eebcbb0bceb98770d85aa781db5c32d1af5ad101"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!insideShapePoints.a.Valid \u0026\u0026 !insideShapePoints.b.Valid\u0060 appears character-identically in 4 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs, ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs, ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs, ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6841d5fe5e78c18db6fee14007cbc1cd28689fe794e1fc9d13d58e9afdc953b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!outsideShapePoints.a.Valid || !outsideShapePoints.b.Valid\u0060 appears character-identically in 4 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs, ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs, ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs, ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d9deb8f0fe69f668ffb756b4e31a208c57368975ed2293eb968ec15e04c1c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!updated || deviceType == InputDeviceType.None || usedDeviceType != InputDeviceType.None\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Input/InputActionTree.cs, ShapeEngine/Input/InputActionTreeGroup.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputActionTree.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"795c28c687472c46db727a58dcce08ed1a373ad7fd3174be8f71fbd9a3686183"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!used \u0026\u0026 pressCountEnabled \u0026\u0026 PressedButtons.Any(b =\u003E !Settings.ExceptionButtons.Contains(b))\u0060 appears character-identically in 3 files \u2014 ShapeEngine/Input/GamepadDevice.cs, ShapeEngine/Input/KeyboardDevice.cs, ShapeEngine/Input/MouseDevice.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/GamepadDevice.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc9aec9fa6c82bc876d40f43ed6739c0979ef0666892d766ae8466a4c392d01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(Direction.X!= 0 || Direction.Y!= 0) \u0026\u0026 (Normal.X != 0 || Normal.Y != 0)\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/LineDef/Line.cs, ShapeEngine/Geometry/RayDef/Ray.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/Line.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b31bf4d0681dc07e7248cd5385dd06d9a45c3b32a5d34d79dcf8eb2bfdf991b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Math.Abs(Normal.X - Direction.Y) \u003C 0.0000001f \u0026\u0026 Math.Abs(Normal.Y - (-Direction.X)) \u003C 0.0000001f\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/LineDef/Line.cs, ShapeEngine/Geometry/RayDef/Ray.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/Line.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad37c8ef9365e666fd6348c0197604bcbea2f491ed022668615a7f21143861f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Min \u003E= 0.0f \u0026\u0026 Max \u003E= 0.0f \u0026\u0026 HasRange()\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Core/Structs/ValueRange.cs, ShapeEngine/Core/Structs/ValueRangeInt.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ValueRange.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57ee115416091dbf3b956800130741754038660a016ebe9a9090bac9a133496"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Min.Equals(other.Min) \u0026\u0026 Max.Equals(other.Max)\u0060 appears character-identically in 3 files \u2014 ShapeEngine/Core/Structs/ValueRange.cs, ShapeEngine/Core/Structs/ValueRangeColor.cs, ShapeEngine/Core/Structs/ValueRangeInt.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/ValueRange.cs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2d2f0d870dc63a6475d88f9c68ebde5b542bb881bbf8d58fbd9fa219fe5438"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060MinPressCount \u003E 1 \u0026\u0026 MinPressInterval \u003E 0f\u0060 appears character-identically in 3 files \u2014 ShapeEngine/Input/InputSettingsGamepad.cs, ShapeEngine/Input/InputSettingsKeyboard.cs, ShapeEngine/Input/InputSettingsMouse.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputSettingsGamepad.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"625ad423f48c84b9b99e73179fb2f8ea82d40b506ce6b82b25f822512897fbc4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060OutputType == LogOutputType.Console || !LogFilePathValid\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Core/Logging/Logger.cs, ShapeEngine/StaticLib/ShapeLogger.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18d0bbf177824f5f99d47a2ef94844e676ac1c0151e6a8cae723f3ccb21e841"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060OutputType is LogOutputType.File or LogOutputType.Both \u0026\u0026 LogFilePathValid\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Core/Logging/Logger.cs, ShapeEngine/StaticLib/ShapeLogger.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Logging/Logger.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f407ea8a8f250375f1284083c4e8b8a2aba40678b4c68b015fc8f5340edff4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060RelativeShape.Count \u003C= 0 \u0026\u0026 shape.Count \u003E 0\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs, ShapeEngine/Geometry/PolygonDef/PolygonShape.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/PolygonDef/PolygonCollider.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cc459d8e4a38fa19792315ae66837fb01f2cfc4179b92371f05a5cab1f5060"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a \u003C= ShapeMath.EpsilonF \u0026\u0026 e \u003C= ShapeMath.EpsilonF\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs, ShapeEngine/Geometry/SegmentDef/SegmentClosestPointStatic.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/SegmentDef/SegmentClosestPoint.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da819ba257140e4600901e190cdaa591f9a8f2c96e49f7302265e17a404c1ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asteroid.IsDead || asteroid.DistanceToTargetSq \u003E (AsteroidSpawnRadius * AsteroidSpawnRadius) * 1.25f\u0060 appears character-identically in 3 files \u2014 Examples/Scenes/ExampleScenes/DataExample.cs, Examples/Scenes/ExampleScenes/JsonDataExample.cs, Examples/Scenes/ExampleScenes/XmlDataExample.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Scenes/ExampleScenes/DataExample.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"62677a686af718727fb23ee5447feb0e97d0e1f7b428bcab40713ea023a896ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060axis == other.axis \u0026\u0026 (modifierKeySet == null \u0026\u0026 other.modifierKeySet == null || modifierKeySet != null \u0026\u0026 modifierKeySet.Equals(other.modif\u2026\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Input/InputTypeMouseAxis.cs, ShapeEngine/Input/InputTypeMouseWheelAxis.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeMouseAxis.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1328a8363ad91626e0e463ddec092e18946c20e5bf90f0663067f5dfbe76ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060axis == other.axis \u0026\u0026 inverted == other.inverted \u0026\u0026 (modifierKeySet == null \u0026\u0026 other.modifierKeySet == null || modifierKeySet != null \u0026\u0026 mod\u2026\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Input/InputTypeGamepadJoyAxis.cs, ShapeEngine/Input/InputTypeGamepadTriggerAxis.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadJoyAxis.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce382b9a1ad83899b57533baa016df7954532438b4214efe97bf8845a1020fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060button == other.button \u0026\u0026 (modifierKeySet == null \u0026\u0026 other.modifierKeySet == null || modifierKeySet != null \u0026\u0026 modifierKeySet.Equals(other.m\u2026\u0060 appears character-identically in 3 files \u2014 ShapeEngine/Input/InputTypeGamepadButton.cs, ShapeEngine/Input/InputTypeKeyboardButton.cs, ShapeEngine/Input/InputTypeMouseButton.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadButton.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc4d058a379f54d72cad44f3df4073164d8f7f4648e13c607c0f50684a3569d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.Parent == null || child.Parent != this\u0060 appears character-identically in 2 files \u2014 ShapeEngine/UI/ControlNode.cs, ShapeEngine/UI/RectNode.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f1909bc2436a168d143ccda5fdf1ffe9400cc6bc378d8ab73b7bfc6175c006"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060closestDistanceSquared \u003C 0 || distanceSquared \u003C closestDistanceSquared\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs, ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"58554853c2f3f465e4e57972d2322754de2eac967be40a5beb9765c4d7e2e4c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dirPath != null \u0026\u0026 !Directory.Exists(dirPath)\u0060 appears character-identically in 2 files \u2014 ResourcePacker/BinaryPackManager.cs, ResourcePacker/TextPackManager.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d209158737c72111aaabf98dc961460e12b77e5529be226857afe1fb9cf2c931"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extensionExceptions != null \u0026\u0026 IsExtensionException(Path.GetExtension(file), extensionExceptions)\u0060 appears character-identically in 2 files \u2014 ResourcePacker/BinaryPackManager.cs, ResourcePacker/TextPackManager.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abede942f99407b46efb9a6f42623292d206069e7b0ded269654620e8ce65b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extensionExceptions != null \u0026\u0026 IsExtensionException(Path.GetExtension(relativePath), extensionExceptions)\u0060 appears character-identically in 2 files \u2014 ResourcePacker/BinaryPackManager.cs, ResourcePacker/TextPackManager.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa49e541ee7da4c4ff416825ed26949daac34804afc91c922fcb3ac202828c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060firstPass \u0026\u0026 i == bytesRead - 1 \u0026\u0026 buffer[i] == \u0027\\n\u0027\u0060 appears character-identically in 2 files \u2014 ResourcePacker/TextPackManager.cs, ShapeEngine/Content/ContentPack.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f587dcc063546130d5ed35127ca69c174d54e3f90655286336c1263b96dbf83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060furthestDistanceSquared \u003C 0 || distanceSquared \u003E furthestDistanceSquared\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs, ShapeEngine/Geometry/CollisionSystem/IntersectSpaceResult.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CollisionSystem/IntersectSpaceRegister.cs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"56156bc99449537adbd8e5159161babf9c7a57bca65c5f23bc55ce590f72afcf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gapDrawingInfo.Gaps \u003C= 0 || gapDrawingInfo.GapPerimeterPercentage \u003C= 0f\u0060 appears character-identically in 7 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawing.cs, ShapeEngine/Geometry/PolygonDef/PolygonDrawing.cs, ShapeEngine/Geometry/PolylineDef/PolylineDrawing.cs, ShapeEngine/Geometry/QuadDef/QuadDrawing.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawing.cs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea38c2a9dd6e10e6b0cd9d8540172ddeccf7f39ad7976856d22b90cfa530718"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u003C batchSize * 2 \u0026\u0026 !reader.EndOfStream\u0060 appears character-identically in 2 files \u2014 ResourcePacker/TextPackManager.cs, ShapeEngine/Content/ContentPack.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a07abdb9601e996a9d7a84c642cfffe8f7cebf52ede53ecc354ff3b3d8ccf27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060insideClosestDis \u003E outsideFurthestDis || insideFurthestDis \u003C outsideClosestDis\u0060 appears character-identically in 5 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs, ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs, ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs, ShapeEngine/Geometry/SegmentsDef/Segments.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"124697f7b93e5a6118777f468bf93ae9dc743bdf8937988578e9e7d4f714625d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060insideFurthestDis \u003E outsideFurthestDis \u0026\u0026 insideClosestDis \u003C outsideClosestDis\u0060 appears character-identically in 5 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs, ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs, ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs, ShapeEngine/Geometry/SegmentsDef/Segments.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"881ff3562eac25d019a31906eeab150bf93e4ed49a0002b46a08aebb12b88c1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060intersection.a.Valid \u0026\u0026 intersection.b.Valid\u0060 appears character-identically in 4 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs, ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs, ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs, ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3cf6a9e18f497ab754096d04ad943188fce1b430e9befd645b52b75611a349"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060length \u003C= 0 || thickness \u003C= 0 || (direction.X == 0f \u0026\u0026 direction.Y == 0f)\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/LineDef/LineDrawing.cs, ShapeEngine/Geometry/RayDef/RayDrawing.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineDrawing.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fcd906299f416c6cd7cd5d62afe2f779b315f235f1441b5acc7cb2e0d039c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060maxCollisionPoints \u003E 0 \u0026\u0026 result.Count \u003E= maxCollisionPoints\u0060 appears character-identically in 3 files \u2014 ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs, ShapeEngine/Geometry/RayDef/RayIntersectionStatic.cs, ShapeEngine/Geometry/SegmentDef/SegmentIntersectionStatic.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/LineIntersectionStatic.cs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38668f744fef759b509d78fdd3226a12eb785ecde62317434b02bcb6631ac9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060minLength \u003C 0 || maxLength \u003C 0 || minLength \u003E= maxLength\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Geometry/LineDef/Line.cs, ShapeEngine/Geometry/RayDef/Ray.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/LineDef/Line.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f871d27f8a5c458e09004d9f4240176e932025aa48190705b2471528f54b9116"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modifier == other.modifier \u0026\u0026 reverseModifier == other.reverseModifier\u0060 appears character-identically in 3 files \u2014 ShapeEngine/Input/ModifierKeyGamepadButton.cs, ShapeEngine/Input/ModifierKeyKeyboardButton.cs, ShapeEngine/Input/ModifierKeyMouseButton.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/ModifierKeyGamepadButton.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7debf5c8128f444f15995ae3f146190c651e45fec5ea3cc95127fb6c43d72618"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modifierKeySet != null \u0026\u0026 !modifierKeySet.IsActive()\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Input/KeyboardDevice.cs, ShapeEngine/Input/MouseDevice.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/KeyboardDevice.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee0524cdd9d582f17b9a2fee4fba974757fc61e21b7fed10c5c3854bdd48fa0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mousePosValid \u0026\u0026 Rect.ContainsPoint(mousePos)\u0060 appears character-identically in 2 files \u2014 ShapeEngine/UI/ControlNode.cs, ShapeEngine/UI/RectNode.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/UI/ControlNode.cs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9f1ab71de1434758da05b2bf291b25f251cb924247bc2656160062021deac7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060neg == other.neg \u0026\u0026 pos == other.pos \u0026\u0026 (modifierKeySet == null \u0026\u0026 other.modifierKeySet == null || modifierKeySet != null \u0026\u0026 modifierKeySet.\u2026\u0060 appears character-identically in 3 files \u2014 ShapeEngine/Input/InputTypeGamepadButtonAxis.cs, ShapeEngine/Input/InputTypeKeyboardButtonAxis.cs, ShapeEngine/Input/InputTypeMouseButtonAxis.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Input/InputTypeGamepadButtonAxis.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a34902ccf61415715de0c8658ab2e25e792527c7ce7a275e09b523232e404c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outsideShapePoints.a.Valid \u0026\u0026 !insideShape.ContainsPoint(outsideShapePoints.a.Point)\u0060 appears character-identically in 4 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs, ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs, ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs, ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49080d59ba03e47150417fcbe9e2259657a11ac5afc031c04826437bbf35b05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outsideShapePoints.a.Valid \u0026\u0026 !polygon.ContainsPoint(outsideShapePoints.a.Point)\u0060 appears character-identically in 4 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs, ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs, ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs, ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dc10c8470b8bcf9ce354033e5178d33b2e3360f29369f8fdf98dd05e7d45de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outsideShapePoints.b.Valid \u0026\u0026 !insideShape.ContainsPoint(outsideShapePoints.b.Point)\u0060 appears character-identically in 4 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs, ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs, ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs, ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa8bac290f49306cd87684297c26c5c8bf0a456bf59d206a7298f53cc46c9a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outsideShapePoints.b.Valid \u0026\u0026 !polygon.ContainsPoint(outsideShapePoints.b.Point)\u0060 appears character-identically in 4 files \u2014 ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs, ShapeEngine/Geometry/QuadDef/QuadDrawingStriped.cs, ShapeEngine/Geometry/RectDef/RectDrawingStriped.cs, ShapeEngine/Geometry/TriangleDef/TriangleDrawingStriped.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Geometry/CircleDef/CircleDrawingStriped.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"97af974e9c9e33587dc7510f823f49c9d7d5051616736e44dd61164d04cfa149"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sw.Elapsed.TotalMilliseconds \u003E= ResourcePackManager.ProgressIntervalMilliseconds || current == total\u0060 appears character-identically in 2 files \u2014 ResourcePacker/BinaryPackManager.cs, ResourcePacker/TextPackManager.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6439719d832f17d4473681a91832513aa2f27b3af4887b45fec12d636e138348"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == 0 || (value \u0026 (value - 1)) != 0\u0060 appears character-identically in 2 files \u2014 ShapeEngine/Core/Structs/BitFlag.cs, ShapeEngine/Core/Structs/BitFlagLong.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Core/Structs/BitFlag.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"628e3d2f22ea9179fae10cd007132e6efa8bde9a07e61cc796fbd3f2128ed4dc"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060queue\u0060 is a \u0060BlockingCollection\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 185). Every use of it in \u0060PackParallel\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var queue = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/BinaryPackManager.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b825bd66052c5a76954dd06b98130bdf3a0ea2d2a221d5c0ceba2a0f224f51ce"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 3/7 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UnpackFileToMemoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"94aaff19c06891bc8b8469d5456b4d8a2597db13e580278b84114f0d4f83e025"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UnpackFileToMemoryParallelAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a442a66793954625331bf73b78df09db3b58d8f9c05c51607654a0503a9c5c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UnpackTextToMemoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0629d3abcd8838d8b6b13140637bdd7d77b2f2f4b6d41ba560fd8496d0b68235"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UnpackTextToMemoryParallelAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ShapeEngine/Content/ContentPack.cs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1fa9071b5c81a9fae6b1ee13f4e40ba8bcfc004e34733538e173fc60b6d56c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ProcessArguments\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ResourcePacker/Program.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9fd9fe223c4e88b1b8a8fca28a19acc45f7d259ddb2eb3be28510e6742a7c5"}}],"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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":31,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}