{"$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":"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"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":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Main.main (cyclomatic 60): Main.main has cyclomatic complexity 60 (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":"Sharpino.Sample.24/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dac11357e0c2c29d72860f8c2a6828cdbe2a08b5d5f9908653bc391d8078d1"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.main (cyclomatic 60): Main.main has cyclomatic complexity 60 (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":"Sharpino.Sample.26/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abdec3b19757bb0fb795e4a7b2ceea39df84387701baad123a3091b5838d8e2"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.main (cyclomatic 60): Main.main has cyclomatic complexity 60 (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":"Sharpino.Sample.27/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cc98b7d5f3cf1d1b1d90470b04867171716ecfd78f495430b996e3c5eba683"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.main (cyclomatic 60): Main.main has cyclomatic complexity 60 (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":"Sharpino.Sample.28/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2ff16a8c2ab29bfa9dc95e1e9000d3127e3714bb19a1d4bf8763798d0e8ae7"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.main (cyclomatic 57): Main.main has cyclomatic complexity 57 (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":"Sharpino.Sample.22/Program.fs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaa0cf1cd83f9fb00d4a50635b368f7e5fba27c7e2871c40f936eed3b1b926b"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.main (cognitive 105): Main.main has cognitive complexity 105 (threshold 15). Drivers by points: match/switch 57, if/else 42, boolean chains 6 (nesting depth added 62). 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":"Sharpino.Sample.24/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"13307bd1eb1760a291513ca4d2ce046b6f8e845eab91cc0883ca33b44072512e"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.main (cognitive 105): Main.main has cognitive complexity 105 (threshold 15). Drivers by points: match/switch 57, if/else 42, boolean chains 6 (nesting depth added 62). 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":"Sharpino.Sample.26/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64f070d1f0da4ca42019ac9cce058197a17691358d239cb8e6b96b7c572587d"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.main (cognitive 105): Main.main has cognitive complexity 105 (threshold 15). Drivers by points: match/switch 57, if/else 42, boolean chains 6 (nesting depth added 62). 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":"Sharpino.Sample.27/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c42b438de02218cd8896c6be919ad92c465b15fac00c23ae309ba5a1f3aa8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.main (cognitive 105): Main.main has cognitive complexity 105 (threshold 15). Drivers by points: match/switch 57, if/else 42, boolean chains 6 (nesting depth added 62). 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":"Sharpino.Sample.28/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"521111a74193cf1f072a5b36f837828b7a67d6adc39f607e889e648cd31a8468"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.main (cognitive 101): Main.main has cognitive complexity 101 (threshold 15). Drivers by points: match/switch 56, if/else 39, boolean chains 6 (nesting depth added 61). 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":"Sharpino.Sample.22/Program.fs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3d6e11eacd22fdcea8b34ba1a564a9109caa9ad755f366933bf3d22f3037ed"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregateCache3.SetupL2AndBackplane (cognitive 36): AggregateCache3.SetupL2AndBackplane has cognitive complexity 36 (threshold 15). Drivers by points: if/else 30, match/switch 5, boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/Cache.fs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce129aa78889eb48b8ce96bd31a2e6f91cd1353baceb980e4444b2bcb498e37"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHandler.runThreeNAggregateCommandsMd (cognitive 33): CommandHandler.runThreeNAggregateCommandsMd has cognitive complexity 33 (threshold 15). Drivers by points: loops 12, match/switch 12, if/else 9 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":5512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfe2e4452c2c2b044e7650360e92a2018f1ba3f0b126c901491acc16c032489"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsCache.SetupL2AndBackplane (cognitive 32): DetailsCache.SetupL2AndBackplane has cognitive complexity 32 (threshold 15). Drivers by points: if/else 29, boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/Cache.fs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9951d7dacf23a29a8df3977f31e6c9d86fff824073d8fc89883094a19f967876"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsCache.RefreshAsync (cognitive 27): DetailsCache.RefreshAsync has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10, match/switch 9, error handling 7, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/Cache.fs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe9e4e122b568003e2e9c111588675a03b773fc6cfc7303ea66cf21a85b0236"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHandler.runTwoNAggregateCommandsMd (cognitive 17): CommandHandler.runTwoNAggregateCommandsMd has cognitive complexity 17 (threshold 15). Drivers by points: loops 6, match/switch 6, if/else 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4033}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d61c4b7f2e70b8369e16bd9ba18ca716a66bd85e4b4ab8247fd5efda9a4ae7d"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHandler.runTwoNAggregateCommandsMdAsync2 (cognitive 17): CommandHandler.runTwoNAggregateCommandsMdAsync2 has cognitive complexity 17 (threshold 15). Drivers by points: loops 6, match/switch 6, if/else 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd08144f7d14f50532a9f7c628c9dde0d360a4cf740ec888cd77d352ee89fef"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHandler.runTwoNAggregateCommandsMdAsync3 (cognitive 17): CommandHandler.runTwoNAggregateCommandsMdAsync3 has cognitive complexity 17 (threshold 15). Drivers by points: loops 6, match/switch 6, if/else 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4329}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd56a78407adea366816da227ccdf8f8c292ec3a7abe91d9b2af6ff31e2b253"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sharpino.Lib/CommandHandler.fs: FileTooLong \u2014 5174 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0d9ad8e05e4ee95b97e8474f301fc9513f40216dd49cf117e16d2a76c499fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sharpino.Lib/PgBinaryEventStore.fs: FileTooLong \u2014 2536 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1fc4d34d7bd38f168b2b9db67d9bb6b74420078cf9864ba6d453a7e12d5bd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sharpino.Lib/PgEventStore.fs: FileTooLong \u2014 2536 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df5cab083bad9136134323f8574e95c057a218decaec7b3f8e898424c883fbd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommandHandler: TooManyMethods \u2014 86 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7ad4d74f6f09a5362ada938a5fb7dc11f31b3b655b5dfbfe4ab0a26a310c96"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PgBinaryStore: TooManyMethods \u2014 74 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3535dd2605b1f057931d514811a86827be02de1aac8886bb6a313637fdb52610"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PgEventStore: TooManyMethods \u2014 74 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e8b19db5411f47cab36d5e49b4f98c8191d95a1fc348c9754f7a6e695232d4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MemoryStorage: TooManyMethods \u2014 69 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e4bfa4205ea7f965ee5b35e222f38fcbaee66968971576feb57a030a81c867"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sharpino.Lib/MemoryStorage.fs: FileTooLong \u2014 1043 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dc5ba6615cfc2ce074059e298f2ccbe5f470202dcdf27cdfb58f60d3526ec8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sharpino.Lib/StateView.fs: FileTooLong \u2014 900 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/StateView.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82854ccab4cc93847795e936aa01d4e31026281390acfe11f56d45e7616f541f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sharpino.Lib/Cache.fs: FileTooLong \u2014 687 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/Cache.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f8c722f4e63baab813448658ff60d5f01b15a6066578b5349da11b2b16cf94"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StateView: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/StateView.fs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7dcaf1bdec7e15df05b62fde70f3c7547825912209ca3358e87aaf9907e581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:4887-4921 | Sharpino.Lib/CommandHandler.fs:5185-5219 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:4887\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4887}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cebbd8196ae749273627d5456a7bb2a953547409d2f455366eb8b41418533b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:3554-3583 | Sharpino.Lib/CommandHandler.fs:3780-3809 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:3554\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc7a2c319db9bc0a8bd57277ed633f5fcbbebbb2b880c852271577a28eb1561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:164-190 | Sharpino.Lib/PgBinaryEventStore.fs:149-175 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:164\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91bfbd2c159a7c54fdf064c25aa1c0c73ddf56c2ff32b2579b2a48e39f0834b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Sharpino.Sample.16/Models/WorkOrders/WorkOrder.fs:8-33 | Sharpino.Sample.17/Models/WorkOrders/WorkOrder.fs:8-33 \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":"Sharpino.Sample.16/Models/WorkOrders/WorkOrder.fs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecfd62c748aa8206ae894be7d626c87898d0e9bcb1738bbe9fadb6c33d07cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2329-2353 | Sharpino.Lib/PgBinaryEventStore.fs:2469-2493 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2329\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"8634031ea73c4e9c4dd707df81b9d2cb85f7bfdba89b7bd0a21472455772f5d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:3186-3209 | Sharpino.Lib/PgBinaryEventStore.fs:3158-3181 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":3186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fb4a3bd620b5c1770464c8cac345946713d804f27d53f70c69a69f60f48f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:270-292 | Sharpino.Lib/PgBinaryEventStore.fs:255-277 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:270\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60dae64129d5259ec7f0d46ab2c4d87a9eae5545788cb9b7c3db842957e647f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:419-441 | Sharpino.Lib/PgBinaryEventStore.fs:455-477 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:419\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44c1636e6d36b09b4826d7ebef25115434b75ddea89626ec5506eb078b199b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1426-1448 | Sharpino.Lib/PgBinaryEventStore.fs:1444-1466 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1426\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bb1ecb449e45cb3b4c681cf3b61b57db2e2879ceabbc979ca313dcf8bc7f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2686-2708 | Sharpino.Lib/PgBinaryEventStore.fs:2148-2170 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2686}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f710e8ded505997447998da43da67167a2edfcaf467cf70c801158acac46439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:3134-3156 | Sharpino.Lib/PgBinaryEventStore.fs:3106-3128 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:3134\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 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":3134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8d3640eac6aa4c686b49eb1b459fb913453428e6437b28bf9a82e33f25f8da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): Sharpino.Sample.22/Program.fs:85-106 | Sharpino.Sample.24/Program.fs:111-132 | Sharpino.Sample.26/Program.fs:111-132 | Sharpino.Sample.27/Program.fs:109-130 | Sharpino.Sample.28/Program.fs:109-130 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Program.fs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e0b040d3954a238bc284440c0086cf17cab4dc1c5b289365ebe13bf57d4974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): Sharpino.Lib/CommandHandler.fs:975-996 | Sharpino.Lib/CommandHandler.fs:3402-3423 | Sharpino.Lib/CommandHandler.fs:3635-3656 | Sharpino.Lib/CommandHandler.fs:3861-3882 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"4129d21a1f602a0e12fba977535b8bb0b59a0712593a63afdcd76d2597118d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): Sharpino.Sample.24/TodoManager.fs:175-196 | Sharpino.Sample.26/TodoManager.fs:175-196 | Sharpino.Sample.27/TodoManager.fs:175-196 | Sharpino.Sample.28/TodoManager.fs:175-196 \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 \u0060Sharpino.Sample.24/TodoManager.fs:175\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.24/TodoManager.fs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c425d086dd81dea76c6c2f64bf4e85d45854c00b5fac6c0482c2686288283b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:94-115 | Sharpino.Lib/PgBinaryEventStore.fs:79-100 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:94\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1ee31e38fd97c47a35f5bcb701ccc99a9bb7d3e599a1f77e58dccef142a454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1165-1187 | Sharpino.Lib/PgBinaryEventStore.fs:1183-1204 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1165\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"409a5d0374fe57014aada3269b672d842868e219f4f97652f47efbcdcb1ecd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1730-1751 | Sharpino.Lib/PgBinaryEventStore.fs:1734-1755 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1730\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"898def038dcf3c118a8101fba7a8b976348a1244121b8237c727b6e3c81d58de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:4998-5019 | Sharpino.Lib/CommandHandler.fs:5296-5317 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4998}}}],"partialFingerprints":{"codehealthFindingId/v1":"10466c087b69be5b394bf1b8910e45b3741d8735411c1db962f4d3eece97517e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): Sharpino.Sample.24/DetailsRefactor.fs:39-59 | Sharpino.Sample.26/DetailsRefactor.fs:39-59 | Sharpino.Sample.27/DetailsRefactor.fs:39-59 | Sharpino.Sample.28/DetailsRefactor.fs:39-59 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.24/DetailsRefactor.fs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09a20ba3db73e0847f84970c7e8168190632dad4481309c7a0fc120ec74c314"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): Sharpino.Sample.24/Program.fs:1-21 | Sharpino.Sample.26/Program.fs:1-21 | Sharpino.Sample.27/Program.fs:1-21 | Sharpino.Sample.28/Program.fs:1-21 \u2014 \u0060Sharpino.Sample.24/Program.fs\u0060 and \u0060Sharpino.Sample.26/Program.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 99 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.24/Program.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0761e1a606495aa89b3fe32495caaccbd542cfc2152960dc2f50c01c52c7bf0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:4696-4716 | Sharpino.Lib/CommandHandler.fs:4998-5018 | Sharpino.Lib/CommandHandler.fs:5296-5316 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4696}}}],"partialFingerprints":{"codehealthFindingId/v1":"b645f9a11cdb0abaeab3f2291d45a41d733f5116581544e2908a7563ac9a79f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1486-1506 | Sharpino.Lib/PgBinaryEventStore.fs:1501-1521 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1486\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"524d04955eb4d9f4bcbf838a28a02e9b9eb35b676eb1a3c87b49a7211ac0415d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1832-1852 | Sharpino.Lib/PgBinaryEventStore.fs:1832-1852 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"9522da0b0e7284b90917391d1814e8111d2cbf29fe1db0e377e3234e167664f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1956-1976 | Sharpino.Lib/PgBinaryEventStore.fs:1985-2005 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1956\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7dc13cd40200ccedb347197bf9b0cec4a74a9d92429159f3602b3321a5e802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:375-394 | Sharpino.Lib/PgBinaryEventStore.fs:363-383 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:375\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d837dc79467937e99581817226a02327740a51735d2e2aa241ef2a93af38369e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1543-1565 | Sharpino.Lib/PgBinaryEventStore.fs:1556-1575 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1543\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccb9be435e50098363ad3a4ce5f9adcfa465277b5fdf3284c0a0c271ff6096c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1692-1711 | Sharpino.Lib/PgBinaryEventStore.fs:1695-1715 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1692\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbffa8075d005399f982d41dbec3cfc0022da86244fe719fa790dc6e7465d76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1991-2010 | Sharpino.Lib/PgBinaryEventStore.fs:2017-2036 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1991\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"810c94460e6a7c598bed7d51b7eedb49ea5d6249474e82253bbdd158056e164b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2390-2409 | Sharpino.Lib/PgBinaryEventStore.fs:2532-2551 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"82275edf813c96975f07af9eec44c1b24aac1e82de2e84b23d19eaee15c49bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2989-3008 | Sharpino.Lib/PgBinaryEventStore.fs:2962-2982 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2989\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2989}}}],"partialFingerprints":{"codehealthFindingId/v1":"313366574661ff8ce113ae291bce554b7259138ae76812a843ea19b64f2c72d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Sample.11/Models/Student/Student.fs:23-42 | Sharpino.Sample.14/Models/Student/Student.fs:23-42 \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 \u0060Sharpino.Sample.11/Models/Student/Student.fs:23\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.11/Models/Student/Student.fs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf539ae2decdd36c22d8038115ecc3558a8e309203b8012ee7042a99ca33b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Sample.11/CourseManager.fs:75-95 | Sharpino.Sample.14/CourseManager.fs:199-218 \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 \u0060Sharpino.Sample.11/CourseManager.fs:75\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 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":"Sharpino.Sample.11/CourseManager.fs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"038bdb4468a2434f50c6757b65096e61b538f705eeeb436392245cdb60ded3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Sample.12/Models/Student/Student.fs:33-52 | Sharpino.Sample.9/models/Student/Student.fs:26-45 \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 \u0060Sharpino.Sample.12/Models/Student/Student.fs:33\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":"Sharpino.Sample.12/Models/Student/Student.fs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"914ac3dfe94417533ef4c6fbbec7c831b956dc4cd13efb45a4685e2fab2e2d5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Sample.16/Models/Materials/Material.fs:7-26 | Sharpino.Sample.17/Models/Materials/Material.fs:7-26 \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 \u0060Sharpino.Sample.16/Models/Materials/Material.fs:7\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.16/Models/Materials/Material.fs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b59178c15a7e4f2e8c0f0d4cb1a568ed1cef44e5e5a458f88b1f3afa9d3cb94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/SuperMarket.fs:179-198 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/SuperMarket.fs:181-200 \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":"Sharpino.Sample.7/shoppingCartWithSharpino/SuperMarket.fs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7313b7699657ab74302d0955a1ed443f1696a8d438629b47d2b89f53c344083d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): Sharpino.Sample.22/Domain/User/User.fs:4-22 | Sharpino.Sample.24/Domain/User/User.fs:4-22 | Sharpino.Sample.26/Domain/User/User.fs:4-22 | Sharpino.Sample.27/Domain/User/User.fs:4-22 | Sharpino.Sample.28/Domain/User/User.fs:4-22 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Domain/User/User.fs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32a46f53233d8d7678cca7f62335ef6e4f020d788f229b6226f48b0623b2a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): Sharpino.Sample.24/Details.fs:72-90 | Sharpino.Sample.26/Details.fs:72-90 | Sharpino.Sample.27/Details.fs:72-90 | Sharpino.Sample.28/Details.fs:72-90 \u2014 \u0060Sharpino.Sample.24/Details.fs\u0060 and \u0060Sharpino.Sample.26/Details.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Sample.24/Details.fs:72\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.24/Details.fs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba36f83b9c1e8d3102b8a2d1e9753fa7522b863a85ebc9a82acb247456bf79fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:339-357 | Sharpino.Lib/PgBinaryEventStore.fs:327-345 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79a3526088540abf6a05c4ca114f9cbaeda4ed6203f63c291b8540560fa5cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:987-1005 | Sharpino.Lib/PgBinaryEventStore.fs:1003-1021 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:987\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b02daf5680003c621236389b8150c6187ab3ceaf5a5cd09dc0ffc348436498b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1858-1876 | Sharpino.Lib/PgBinaryEventStore.fs:1858-1876 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1858\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c99bf4ac22a760fa53f2b157900539cccce2daba78ab943244c91338547065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2412-2430 | Sharpino.Lib/PgBinaryEventStore.fs:2553-2574 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"84de1056b7726ff7f3e27036bc5ed93eee87b48f97658211aee18414de565715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sharpino.Lib/MemoryStorage.fs:411-429 | Sharpino.Lib/MemoryStorage.fs:436-454 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd7c537cffd38a48ea3ca3c47f196484c60b8afbe9dbe71e8973faa95a686b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:5076-5094 | Sharpino.Lib/CommandHandler.fs:5374-5392 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":5076}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a86a21d0532bea83a2b9c12ffb82b114037809df6303b0e6a3525eec85c8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): Sharpino.Sample.22/Domain/Todo/Todo.fs:2-19 | Sharpino.Sample.24/Domain/Todo/Todo.fs:2-19 | Sharpino.Sample.26/Domain/Todo/Todo.fs:2-19 | Sharpino.Sample.27/Domain/Todo/Todo.fs:2-19 | Sharpino.Sample.28/Domain/Todo/Todo.fs:2-19 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Domain/Todo/Todo.fs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c28eacea6cb2c5eaf43a00e44b5eeb5252b787563fa1e19aae942d53f01a2cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): Sharpino.Sample.22/TodoManager.fs:84-101 | Sharpino.Sample.24/TodoManager.fs:145-162 | Sharpino.Sample.26/TodoManager.fs:145-162 | Sharpino.Sample.27/TodoManager.fs:145-162 | Sharpino.Sample.28/TodoManager.fs:145-162 \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 \u0060Sharpino.Sample.22/TodoManager.fs: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. The matched lines also transfer control out of the body holding them, 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":"Sharpino.Sample.22/TodoManager.fs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a6bb9b99ac3c4f98dad1e4256208ad5442314401b1db427b1a74717ab94f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): Sharpino.Sample.24/Details.fs:35-52 | Sharpino.Sample.26/Details.fs:35-52 | Sharpino.Sample.27/Details.fs:35-52 | Sharpino.Sample.28/Details.fs:35-52 \u2014 \u0060Sharpino.Sample.24/Details.fs\u0060 and \u0060Sharpino.Sample.26/Details.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Sample.24/Details.fs:35\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":"Sharpino.Sample.24/Details.fs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cda1b72fcd1f3728816973dfb7f44536b10d2725fbe4f5992cc048192ac502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:141-158 | Sharpino.Lib/PgBinaryEventStore.fs:126-143 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:141\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 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"de174328f5df0f81f27c44b43c4ac43d7cdc1caa45eb4f8ef0d23ab9b4b34b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:521-538 | Sharpino.Lib/PgBinaryEventStore.fs:549-566 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:521\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 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d83f235a172c4eb87c88c4a9a973258ed119a4909c020b8d923ae13fa90409a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:609-626 | Sharpino.Lib/PgBinaryEventStore.fs:776-793 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"802741472a544e1b22bb9f21741d7235a30169497f7c27267cf32c047e1b5389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1199-1216 | Sharpino.Lib/PgBinaryEventStore.fs:1213-1230 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1199\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb01c6eed8ee56daae1f852c3e957835459d20f59a1bc13c6db0aea12ad26f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1287-1304 | Sharpino.Lib/PgBinaryEventStore.fs:1398-1416 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgBinaryEventStore.fs:1398\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea638ca486f31f08b8984174f15d33efad35d28811305fa814b3b90413c0b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1617-1634 | Sharpino.Lib/PgBinaryEventStore.fs:1628-1645 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1617\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"91439ec0d0738197f7b0fc62f5ce57c869f9b35141a06d4a7854d93e67805c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2071-2088 | Sharpino.Lib/PgBinaryEventStore.fs:1947-1964 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2071\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6df12b0e7ecc1f87d4018685418c81262e299024a3915e523a4e44384b942b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2579-2596 | Sharpino.Lib/PgBinaryEventStore.fs:2729-2746 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2579\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeca4349b6d5ff9c1b5784f507dfd884a66ee192873391d84cb6a84e27fcb359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:1663-1680 | Sharpino.Lib/PgBinaryEventStore.fs:1771-1788 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgBinaryEventStore.fs:1663\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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f988ce483c7ba8606d603cf5105359cb49f16a6edee99e065c31071d7068335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2957-2974 | Sharpino.Lib/CommandHandler.fs:3028-3046 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:2957\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2957}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fe87a13e7db4dd660fa7f09945f9f08624b0dd10602f946e28c01c2db9b12e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sharpino.Sample.16/MaterialManager.fs:1-18 | Sharpino.Sample.25/TodoManager.fs:1-18 \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":"Sharpino.Sample.16/MaterialManager.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b81047075b73af734ca3e7a0c6d85ba94280163e7622708db267f7bce4feba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): Sharpino.Sample.22/Details.fs:2-18 | Sharpino.Sample.24/Details.fs:2-18 | Sharpino.Sample.26/Details.fs:2-18 | Sharpino.Sample.27/Details.fs:2-18 | Sharpino.Sample.28/Details.fs:2-18 \u2014 \u0060Sharpino.Sample.24/Details.fs\u0060 and \u0060Sharpino.Sample.26/Details.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 54 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Sample.22/Details.fs:2\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.22/Details.fs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e787208c3054c13f8246d65e1c70931a50e86be5591a8e46fe0590953bf969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): Sharpino.Sample.24/TodoManager.fs:9-25 | Sharpino.Sample.26/TodoManager.fs:9-25 | Sharpino.Sample.27/TodoManager.fs:9-25 | Sharpino.Sample.28/TodoManager.fs:9-25 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.24/TodoManager.fs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"074b1bc2f7642f0a28e0ed7a4158b19086f14d93200647c4f7a2bfdc0098e85a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:1388-1404 | Sharpino.Lib/CommandHandler.fs:1677-1693 | Sharpino.Lib/CommandHandler.fs:1779-1795 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f5c45185ab0b7cc848154461bd4fcbfdf47762142324eaa77af0e40b0eabfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1043-1059 | Sharpino.Lib/PgBinaryEventStore.fs:1059-1075 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1043\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"b118beffc672c13d16b0fd646b2decb34a5e0fc9e13e721c9644d8dc98ed8250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1264-1280 | Sharpino.Lib/PgBinaryEventStore.fs:1279-1295 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7fc067d0811ad01e0772b1eb438d330fa5d79d2036536ea4f3e1976e81cde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1889-1905 | Sharpino.Lib/PgBinaryEventStore.fs:411-427 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1889\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2f1ad2e51af9646097400607c9e5cd40382257ef88a470142acf6576eed038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sharpino.Lib/RabbitMq.fs:78-94 | Sharpino.Lib/RabbitMq.fs:105-122 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/RabbitMq.fs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d394378869e92ba42ff2bb11d3662a041ba9f36870b5dca086463ce95fdb61c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1523-1539 | Sharpino.Lib/CommandHandler.fs:1615-1631 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:1523\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 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd2947451f329240b0f7346362ec122e153dc159fe414d5990f8b9568a026f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2186-2202 | Sharpino.Lib/CommandHandler.fs:2226-2242 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:2186\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 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ad36ff2ed854784efb846dbee096951b4d881163a0be5c7ad46549a75cb1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:3715-3731 | Sharpino.Lib/CommandHandler.fs:3941-3957 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4f41cc3e6fb264a21b6303b3809a3e78cc20dc19a9a9b79a4a5fcd4f4ff13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sharpino.Sample.12/Models/Course/Course.fs:46-62 | Sharpino.Sample.9/models/Course/Course.fs:53-69 \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":"Sharpino.Sample.12/Models/Course/Course.fs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad278c58c18e73a650a2b83efda6112d68592ed75e99495d3a3bbe54b9e46a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): Sharpino.Sample.22/Domain/User/Events.fs:2-17 | Sharpino.Sample.24/Domain/User/Events.fs:2-17 | Sharpino.Sample.26/Domain/User/Events.fs:2-17 | Sharpino.Sample.27/Domain/User/Events.fs:2-17 | Sharpino.Sample.28/Domain/User/Events.fs:2-17 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Domain/User/Events.fs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8b6cbbbd96c12e73c64c8ae9c8fdbef6a31fd13966d24a096cb3ca0dfc39c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:480-495 | Sharpino.Lib/PgBinaryEventStore.fs:508-523 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:480\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b60c255a91d773141523901a2ef50c2042c2db93f313094c535faf3f041887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1382-1397 | Sharpino.Lib/PgBinaryEventStore.fs:1349-1365 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1382\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e97b65ada24fd46210df05f434db514d44bfc70333cfe1575b6ebe0404c8b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1810-1825 | Sharpino.Lib/PgBinaryEventStore.fs:1810-1825 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"924064c799148bf5316d0380a3267b0afa1a2232bfbfdc59df018c0e8ccc5b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2140-2155 | Sharpino.Lib/PgBinaryEventStore.fs:2269-2284 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"51387e74f4559c924280ac736a6557f9d6570d77d22ca2fd00ce390a53458df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2268-2283 | Sharpino.Lib/PgBinaryEventStore.fs:2385-2400 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2268\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5c2e74026031389f0d13815ce3163b9c447e50de6207fd1d23b240c5bbb7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2504-2519 | Sharpino.Lib/PgBinaryEventStore.fs:2653-2668 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2504\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd331bd160dddf1952909c7d6ffe77c1a159f8560dce2bb184f6dc4c8026a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2531-2546 | Sharpino.Lib/PgBinaryEventStore.fs:2680-2695 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2531\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28804d203b9bfaa05440d27b17c1488525b3569a14d48247eeed76ec079cb88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2629-2644 | Sharpino.Lib/PgBinaryEventStore.fs:2233-2248 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2629\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2629}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcafbdb726b50824fa47a47357031ddf452886053779e0ceb5a0fde0a5b52c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2666-2681 | Sharpino.Lib/PgEventStore.fs:2694-2709 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"295bc9183df1cdcd5085eead79fc1beb903c17ce18b88a6eb6880f4872751c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2786-2801 | Sharpino.Lib/PgBinaryEventStore.fs:2766-2781 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ff8748ff708892f8c10c1abbfe70857372e2e87ed61e27e692a90fe2a34fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:1863-1878 | Sharpino.Lib/PgBinaryEventStore.fs:1922-1937 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgBinaryEventStore.fs:1863\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2f6cb223e5276e13bf007c678f8ca5ce24c5f533cb01295257abf4a38a476b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:2128-2143 | Sharpino.Lib/PgBinaryEventStore.fs:2156-2171 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83f72bbf89b6dfce0811dc1072bca978509065f8b0c1640e41297b896f26c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:4212-4227 | Sharpino.Lib/CommandHandler.fs:4361-4376 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:4212\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4797eef64e30ad0c1868bf59a289df9926f8628bbabb2998f5b891c7539a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Sample.11/Models/Course/Course.fs:42-57 | Sharpino.Sample.14/Models/Course/Course.fs:41-56 \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":"Sharpino.Sample.11/Models/Course/Course.fs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68541d7fd990c6ef8c2a01a2972cc5d1fc4b3ece1a0769053a5e501743ec013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Sample.11/Models/Course/Consumer.fs:65-80 | Sharpino.Sample.14/Models/Course/Consumer.fs:65-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.11/Models/Course/Consumer.fs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3994ea37dca84bc8d854d072b3ce9b7898ec2442434695fad4a93e5f88b7f246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Sample.11/Models/Student/Consumer.fs:44-59 | Sharpino.Sample.14/Models/Student/Consumer.fs:44-59 \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 \u0060Sharpino.Sample.11/Models/Student/Consumer.fs:44\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.11/Models/Student/Consumer.fs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f58ca90e71df78cade549321ab6840116fa19d73aaedc6df093c27bae861ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Sample.16/Models/Products/Product.fs:1-16 | Sharpino.Sample.17/Models/Products/Product.fs:1-16 \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":"Sharpino.Sample.16/Models/Products/Product.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69feea7ee933262028c25212399cd980ca1bdd31d91bca7f8a5609b14140dbd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Sample.16/MaterialManager.fs:30-45 | Sharpino.Sample.17/MaterialManager.fs:45-60 \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 \u0060Sharpino.Sample.16/MaterialManager.fs:30\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.16/MaterialManager.fs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"829b0cd94da4470a63706a98763a9a85dad44c8557d0e3bea7f5182543b8d278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs:87-102 | Sharpino.Sample.FormerlySaga/Domain/Voucher/Consumer.fs:86-101 \u2014 \u0060Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs\u0060 and \u0060Sharpino.Sample.FormerlySaga/Domain/Voucher/Consumer.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs:87\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":"Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1f24e0ea84eb532788874d205d180e5688442d8deaec8f184115b4dae9b657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Sample/AppVersions.fs:102-117 | Sharpino.Sample/AppVersions.fs:153-168 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Sample/AppVersions.fs:102\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":"Sharpino.Sample/AppVersions.fs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2c5e7bd91c30d3a63d92f568d86f5dc871c98632ef2b7a24d9998e3367fcd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/SuperMarket.fs:71-86 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/SuperMarket.fs:78-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Sample.7/shoppingCartWithSharpino/SuperMarket.fs:71\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.7/shoppingCartWithSharpino/SuperMarket.fs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b0354aa6857f95e78b259f6ba768af1bd624bdeff11f616837b6928ac1257f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Cart/Consumer.fs:1-16 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Consumer.fs:1-16 \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":"Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Cart/Consumer.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acc29492768a805ad0d5e42bbcac8327f64aac5b5b81dd9a2531e710c034bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): Sharpino.Sample.22/Domain/Todo/Commands.fs:5-19 | Sharpino.Sample.24/Domain/Todo/Commands.fs:5-19 | Sharpino.Sample.26/Domain/Todo/Commands.fs:5-19 | Sharpino.Sample.27/Domain/Todo/Commands.fs:5-19 | Sharpino.Sample.28/Domain/Todo/Commands.fs:5-19 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Domain/Todo/Commands.fs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c60ee8d5a94ddcf57efda6b153347451e0eed113a472e5ae1cb06c6d9258e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): Sharpino.Sample.22/Domain/User/Commands.fs:2-16 | Sharpino.Sample.24/Domain/User/Commands.fs:2-16 | Sharpino.Sample.26/Domain/User/Commands.fs:2-16 | Sharpino.Sample.27/Domain/User/Commands.fs:2-16 | Sharpino.Sample.28/Domain/User/Commands.fs:2-16 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Domain/User/Commands.fs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"46859d73d44f642fa0927a207abf36380165799797141bc7a609c35a6eaff2e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Sharpino.Sample.24/TodoManager.fs:45-59 | Sharpino.Sample.26/TodoManager.fs:45-59 | Sharpino.Sample.27/TodoManager.fs:45-59 | Sharpino.Sample.28/TodoManager.fs:45-59 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.24/TodoManager.fs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b6911be1a680d5b26cd0b1b487d9a360fb783d086d793cb13c98db9f5e6dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Sharpino.Sample.24/Program.fs:76-90 | Sharpino.Sample.26/Program.fs:76-90 | Sharpino.Sample.27/Program.fs:74-88 | Sharpino.Sample.28/Program.fs:74-88 \u2014 \u0060Sharpino.Sample.24/Program.fs\u0060 and \u0060Sharpino.Sample.26/Program.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 99 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.24/Program.fs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"510f385803aa8d4b8380fb5cee8a10be32ee1f2af0c796fbeb30dc064ad0c9f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:4813-4827 | Sharpino.Lib/CommandHandler.fs:5111-5125 | Sharpino.Lib/CommandHandler.fs:5409-5423 \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 \u0060Sharpino.Lib/CommandHandler.fs:4813\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbdde705acf6948b893655d889d9b04e010cf44ece37f3a484a27331678dfc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Sharpino.Sample.22/Program.fs:45-59 | Sharpino.Sample.24/Program.fs:54-68 | Sharpino.Sample.26/Program.fs:54-68 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Program.fs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"857af6437fa61a6650cecaa483572161036d71635d04445f63767e36daacbb67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2897-2911 | Sharpino.Lib/PgBinaryEventStore.fs:2870-2884 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2897\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 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2897}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ae4a5aa2862da4fec3d6e3bf18d50c488a84efe80bff357cf2379e8f8231b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:3072-3086 | Sharpino.Lib/PgBinaryEventStore.fs:3044-3058 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:3072\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3b552de55f6d1c28d271ddcf60543c2427861432bf935bb8a7ad88b882ba0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2599-2615 | Sharpino.Lib/CommandHandler.fs:2711-2725 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:2599\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2599}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63d03fb014038a517d7b7d804ba1913d75e7c2e1ed273a36f322b296f747228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sharpino.Sample.16/Commons.fs:51-65 | Sharpino.Sample.17/Commons.fs:51-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":"Sharpino.Sample.16/Commons.fs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f16574fb578363e6baaf83333b63ef6edd2064448f9e9772a94aa08f509796b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sharpino.Sample.16/Models/Products/Events.fs:1-15 | Sharpino.Sample.17/Models/Products/Events.fs:1-15 \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":"Sharpino.Sample.16/Models/Products/Events.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5869a3b782c5290707ff027bfa8d68de2e868cd32aab2b68c97b5c3af694e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sharpino.Sample.16/Models/WorkOrders/Events.fs:4-18 | Sharpino.Sample.17/Models/WorkOrders/Events.fs:4-18 \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":"Sharpino.Sample.16/Models/WorkOrders/Events.fs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebe6611ae0dbd796aad458abb6f2d4c821cee976e48ec39b8d646eff87ebc17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Consumer.fs:1-15 | Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs:1-15 \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":"Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Consumer.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46b4a307a2c6c2bceade040d1bd8b05a4947268da865c8372c1983f2cf395fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Good.fs:20-34 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Good.fs:20-34 \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 \u0060Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Good.fs:20\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Good.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7e567f4283b0342ca62a41bafd19c536c9d0550cabbc8b351a209dd61debbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/SuperMarket.fs:39-53 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/SuperMarket.fs:34-48 \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 \u0060Sharpino.Sample.7/shoppingCartWithSharpino/SuperMarket.fs:39\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":"Sharpino.Sample.7/shoppingCartWithSharpino/SuperMarket.fs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd90c9cfd47ee93a662892d3d2e4529e17d9c82aad97b1a1b467521fba307cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): Sharpino.Sample.9/models/Item/Consumer.fs:1-15 | Sharpino.Sample.9/models/Reservation/Consumer.fs:1-15 | Sharpino.Sample.9/models/Student/Consumer.fs:1-15 | Sharpino.Sample.9/models/Course/Consumer.fs:1-15 | Sharpino.Sample.9/models/Balance/Consumer.fs:1-14 | Sharpino.Sample.9/models/Teacher/Consumer.fs:1-15 \u2014 \u0060Sharpino.Sample.9/models/Item/Consumer.fs\u0060 and \u0060Sharpino.Sample.9/models/Reservation/Consumer.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 50 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.9/models/Item/Consumer.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd25662aa3433ed1e37d35f6787f5e6a489ad0eff8b2d015fb29a9dedb6aa53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): Sharpino.Sample.22/Domain/Todo/Events.fs:2-15 | Sharpino.Sample.24/Domain/Todo/Events.fs:2-15 | Sharpino.Sample.26/Domain/Todo/Events.fs:2-15 | Sharpino.Sample.27/Domain/Todo/Events.fs:2-15 | Sharpino.Sample.28/Domain/Todo/Events.fs:2-15 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Domain/Todo/Events.fs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ae8002d11d646ed34674bd1f355fb714d11fd0925b312a0183378a48c12f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): Sharpino.Sample.22/Program.fs:4-17 | Sharpino.Sample.24/Program.fs:9-23 | Sharpino.Sample.26/Program.fs:9-23 | Sharpino.Sample.27/Program.fs:9-23 | Sharpino.Sample.28/Program.fs:9-23 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Program.fs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ddc9e89372328bc0475f641ce7958e61fde28a2caecad85b4de3d695456f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): Sharpino.Lib/PgEventStore.fs:205-218 | Sharpino.Lib/PgEventStore.fs:300-313 | Sharpino.Lib/PgBinaryEventStore.fs:190-203 | Sharpino.Lib/PgBinaryEventStore.fs:290-303 \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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30da5ead3cc6bcacf44958558c7dc71f8f4f916910afd63954b74606228d81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:4077-4090 | Sharpino.Lib/CommandHandler.fs:4230-4243 | Sharpino.Lib/CommandHandler.fs:4379-4392 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4077}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1510e57097b9dce0bf7da97132ee1c6aea3cd52051e5fc0958ba1cbc1e205b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sharpino.Sample.11/Models/Student/Consumer.fs:5-18 | Sharpino.Sample.11/Models/Student2/Consumer.fs:5-18 | Sharpino.Sample.14/Models/Student/Consumer.fs:5-18 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.11/Models/Student/Consumer.fs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdeee458d7827d51e900e40c575fcd0bdb4aaf9b2cb3a818a2d118cbc625013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:654-668 | Sharpino.Lib/PgBinaryEventStore.fs:819-832 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:654\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97dc96a76d180ea79e13da9f0b016044aad6e787c89589d7bafc9086a5a22f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:919-932 | Sharpino.Lib/PgBinaryEventStore.fs:943-956 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:919\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d4ca4d7dc5c4772a288a66b810bd147db382562e151dba5ce1ead6351f9798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2113-2126 | Sharpino.Lib/PgBinaryEventStore.fs:2069-2084 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2113\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e318f2e66fcbb6327309864d1ae6818d72adeca892610fc7f829ef0e03ff80c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2165-2178 | Sharpino.Lib/PgBinaryEventStore.fs:2294-2307 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2165\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78a1899c2250c09775c9c5574f97b87a98a5cc01353b06c8976194a081636cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2187-2200 | Sharpino.Lib/PgEventStore.fs:2210-2223 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgEventStore.fs:2187\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab6714d7a8d5815d5abaa8cecc5bdd496571a44f431037a73cd1ccacc753180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2215-2228 | Sharpino.Lib/PgBinaryEventStore.fs:2434-2447 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d301d45463b62c29f112f6d8141cf5cf189dd760ecb7787b73728816276e539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2861-2875 | Sharpino.Lib/PgBinaryEventStore.fs:2835-2848 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2861\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c0a6731943b6bea9d93ddf805159c442c374861bc4337db99c0b48a4910b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:755-768 | Sharpino.Lib/PgBinaryEventStore.fs:842-855 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd1993228043b2a6940702ef444e78d8951e2043b99b68e4d65a1af704c2c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:804-817 | Sharpino.Lib/PgBinaryEventStore.fs:901-914 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgBinaryEventStore.fs:804\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 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"913c9942783a49c9d854102cd64df8fa94dd67154d425cf49434e2236005f6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1171-1184 | Sharpino.Lib/CommandHandler.fs:1233-1246 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:1171\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 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b1fe7fa696098d025771c4fd57030dbe6a08733deeb8c3473a14e7db586492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:3176-3189 | Sharpino.Lib/CommandHandler.fs:3252-3265 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:3176\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a460a747f204792adac6d6be5ebc4e7846e41cd477b67c58fe60009741c1a1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Sample.11/Models/Course/Commands.fs:1-14 | Sharpino.Sample.12/Models/Course/Commands.fs:1-14 \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":"Sharpino.Sample.11/Models/Course/Commands.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b56a62249b393f5d64c25bc63e557bf77e702bfafceaa7dc17f88366e2d257a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Sample.11/Models/Course/Consumer.fs:3-16 | Sharpino.Sample.14/Models/Course/Consumer.fs:3-16 \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":"Sharpino.Sample.11/Models/Course/Consumer.fs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4a3b5e743e83d81ab364a8084f1bea2fccd36f3c8104c8d019462a9bbe705e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Sample.16/Models/Products/Commands.fs:1-14 | Sharpino.Sample.17/Models/Products/Commands.fs:1-14 \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":"Sharpino.Sample.16/Models/Products/Commands.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d2ed1e2723fd5db83acdff977978d8b7a81928bd3be8175ed4cc673a4452f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Sample.27/Program.fs:53-66 | Sharpino.Sample.28/Program.fs:53-66 \u2014 \u0060Sharpino.Sample.27/Program.fs\u0060 and \u0060Sharpino.Sample.28/Program.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 98 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.27/Program.fs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde87f326a03d2cfc39e9d35b1590698435d6cddc3369c5b93f7dcb0c29a1916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Sample.9/models/Item/Consumer.fs:82-95 | Sharpino.Sample.9/models/Course/Consumer.fs:74-87 \u2014 \u0060Sharpino.Sample.9/models/Item/Consumer.fs\u0060 and \u0060Sharpino.Sample.9/models/Course/Consumer.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 53 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"Sharpino.Sample.9/models/Item/Consumer.fs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1918af631094c04ec5ff06802ad3e0e03b6b1085dce5b050bba66f9ecef397c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Cart.fs:29-43 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Cart/Cart.fs:28-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Cart.fs:29\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":"Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Cart.fs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa7c512f9d8b2441caf2b6c26c73fe892598c82caf43e9f9dd06ea96b912250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Commands.fs:58-71 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Commands.fs:56-69 \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 \u0060Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Commands.fs:58\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":"Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Commands.fs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4885c27247f948e0353686634c8e7a16fe5093525726abe09a620d927732a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs:47-60 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Consumer.fs:49-62 \u2014 before extracting anything, compare \u0060Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs\u0060 and \u0060Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Consumer.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs:47\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":"Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdb2d72646661aff6bd6da488945eb67469d3949507fe4820132df85b72247c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): Sharpino.Sample.22/Commons.fs:1-13 | Sharpino.Sample.24/Commons.fs:1-13 | Sharpino.Sample.26/Commons.fs:1-13 | Sharpino.Sample.27/Commons.fs:1-13 | Sharpino.Sample.28/Commons.fs:1-13 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.22/Commons.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d6b923dc8d9583d59a97d27b4e1ae11e888e68bb3dbebfe5277e84bce362d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Sharpino.Lib/CommandHandler.fs:3348-3360 | Sharpino.Lib/CommandHandler.fs:4616-4628 | Sharpino.Lib/CommandHandler.fs:4918-4930 | Sharpino.Lib/CommandHandler.fs:5216-5228 \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 \u0060Sharpino.Lib/CommandHandler.fs:3348\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a86a1b97d22fbea060d894298f709c0da3f97ccca210c853a949adf60ea98ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:2364-2377 | Sharpino.Lib/CommandHandler.fs:2412-2424 | Sharpino.Lib/CommandHandler.fs:2456-2470 \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 \u0060Sharpino.Lib/CommandHandler.fs:2364\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fb41b086d24f6723fec5cd2595ac54e4f581cf58b4567799ca5f5951c6ffac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:4741-4753 | Sharpino.Lib/CommandHandler.fs:5045-5057 | Sharpino.Lib/CommandHandler.fs:5343-5355 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4741}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b19345ae29aed78ce7d3d0019518d9dd6125a1feaffb23da17c47da7fe962c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs:246-258 | Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs:283-295 | Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs:362-374 \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":"Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddf5e0928548927df3611610543da4eb02a3bd8ecf54254465935570bdd5a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:714-726 | Sharpino.Lib/PgBinaryEventStore.fs:878-890 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"b679cbd01ef5c4476f4d71930b0b6bfb4b3b4d3ff98c92238320247b6ee38a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1092-1104 | Sharpino.Lib/PgEventStore.fs:1506-1519 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgEventStore.fs:1092\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"3843dfa3a1f2bbd9f8d059d3003729c7e7e6a05828958c910398fbeb72a9bf78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1138-1150 | Sharpino.Lib/PgBinaryEventStore.fs:1156-1168 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1138\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f08d6c989dd30343c6b9ee48a7f9e407d3da34114df570575e6e425709ef5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1235-1247 | Sharpino.Lib/PgEventStore.fs:2485-2497 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgEventStore.fs:1235\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08cf1dc145a19b1f743c80b85b1e9ef64a51199251475e07f24744abea0ae9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2606-2618 | Sharpino.Lib/PgBinaryEventStore.fs:2103-2115 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2606\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2606}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc190977ae533eaea57c9e98ca9d04b5e86ea0d76f574d3df0c1985686b3c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:136-148 | Sharpino.Lib/PgBinaryEventStore.fs:378-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgBinaryEventStore.fs: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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cf7299c89e957136cfe16d1d3cc8fb40e8d592412a2a67de7f225dde46634c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:613-625 | Sharpino.Lib/PgBinaryEventStore.fs:676-688 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgBinaryEventStore.fs:613\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecebf0545edb1f6a74912e93d31ba9c7bbe3314dbeae9e256700f79f84fa324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:1111-1123 | Sharpino.Lib/PgBinaryEventStore.fs:1522-1535 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgBinaryEventStore.fs: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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a609136390e9caa773a6e642c158319ea07b1b990913faa86894f78469dc4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/MemoryStorage.fs:348-360 | Sharpino.Lib/MemoryStorage.fs:1022-1034 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eebb1c33771a0f0d95a88163a08bf8b9f672aee6ab6eef8f861d622cba34bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1723-1736 | Sharpino.Lib/CommandHandler.fs:1825-1837 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:1723\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d9300de9cb05621999b7037da485dcf7cd7b72777ce9258a49e5d244ef57cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:3139-3151 | Sharpino.Lib/CommandHandler.fs:3215-3227 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3139}}}],"partialFingerprints":{"codehealthFindingId/v1":"163038c8bd6f72b40e93112c03ae7233d363562bb3a287f293845d57d25d16bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:3691-3703 | Sharpino.Lib/CommandHandler.fs:3917-3929 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3691}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e34466f9e01e140845e02c3dcfafcc563db9c9090b722e3cd1e4606dd73bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:3995-4008 | Sharpino.Lib/CommandHandler.fs:4507-4519 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3995}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f90dfadc8db95070fc4a3072367d2df587fe6e9d746806f224bf99ef8904e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Sample.10/Models/Counter/Consumer.fs:1-13 | Sharpino.Sample.10/Models/Account/Consumer.fs:1-13 \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":"Sharpino.Sample.10/Models/Counter/Consumer.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb53e7f0a03a4ae968f3da5dc0b12ede3275149137d87b8ea6b8c951566d4d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Sample.11/Test2.fs:269-281 | Sharpino.Sample.11/Test2.fs:483-495 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Sample.11/Test2.fs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a476350026762aa6c727e7dc6e755c1eb22c58fb7a6fb4411b90013869d7828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Sample.16/Models/Materials/Events.fs:1-13 | Sharpino.Sample.17/Models/Materials/Events.fs:1-13 \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":"Sharpino.Sample.16/Models/Materials/Events.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afaaeca7edc22d0f9cda9fdfa357751e6b2ec2668ee316e27748d2486f743f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Sample.16/Models/Materials/Commands.fs:3-15 | Sharpino.Sample.17/Models/Materials/Commands.fs:3-15 \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":"Sharpino.Sample.16/Models/Materials/Commands.fs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8833434db81e59860982610c244c682b4b74939eb535ddc9a8d7a7fc355549e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Sample.16/Models/WorkOrders/Commands.fs:1-13 | Sharpino.Sample.17/Models/WorkOrders/Commands.fs:1-13 \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":"Sharpino.Sample.16/Models/WorkOrders/Commands.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab0f0d94dad881f9fde08ac0c4fef53bc1c5fec613ab394c1e010e6128ce2c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Sample.8/Domain/Site/Consumer.fs:58-70 | Sharpino.Sample.8/Domain/Truck/Consumer.fs:69-81 \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 \u0060Sharpino.Sample.8/Domain/Site/Consumer.fs:58\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.8/Domain/Site/Consumer.fs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4fb4dc27e7d4c73fc80847c91fd73601619a409bd0bb8cad5b661ec09698c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs:44-56 | Sharpino.Sample.FormerlySaga/Domain/Voucher/Consumer.fs:44-56 \u2014 \u0060Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs\u0060 and \u0060Sharpino.Sample.FormerlySaga/Domain/Voucher/Consumer.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d91c1ba044c5c78b1ad71d6f8addc4a865161b36d18357f0776386f69e0915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Commands.fs:38-50 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Cart/Commands.fs:38-50 \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 \u0060Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Commands.fs:38\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":"Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Commands.fs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f192aff033e52e335fc2c7f3e6fed4689cf76ceaae2723cd6c3ae01c4c8f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/GoodsContainer/Commands.fs:36-48 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/GoodsContainer/Commands.fs:35-47 \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 \u0060Sharpino.Sample.7/shoppingCartWithSharpino/GoodsContainer/Commands.fs:36\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":"Sharpino.Sample.7/shoppingCartWithSharpino/GoodsContainer/Commands.fs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaba60e4833baf1c3c6d6416bef82e75c793efafc1cb556d864fb97b0870c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 10): Sharpino.Sample.6/Suppliers/Consumer.fs:22-34 | Sharpino.Sample.9/models/Item/Consumer.fs:21-34 | Sharpino.Sample.9/models/Reservation/Consumer.fs:21-32 | Sharpino.Sample.9/models/Student/Consumer.fs:21-32 | Sharpino.Sample.9/models/Course/Consumer.fs:21-32 | Sharpino.Sample.9/models/Balance/Consumer.fs:20-31 | Sharpino.Sample.9/models/Teacher/Consumer.fs:21-32 | Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Consumer.fs:20-33 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Cart/Consumer.fs:22-33 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Consumer.fs:21-34 \u2014 \u0060Sharpino.Sample.9/models/Item/Consumer.fs\u0060 and \u0060Sharpino.Sample.9/models/Reservation/Consumer.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 50 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"Sharpino.Sample.6/Suppliers/Consumer.fs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9cfd40949f97eeaa8ed2a699428571b5d4ff4ac07bf0cd50102f1beec95466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): Sharpino.Sample.10/Models/Counter/Consumer.fs:20-33 | Sharpino.Sample.10/Models/Account/Consumer.fs:20-33 | Sharpino.Sample.6/Dishes/Consumer.fs:18-29 | Sharpino.Sample.8/Domain/Site/Consumer.fs:20-31 | Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs:20-31 \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. 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":"Sharpino.Sample.10/Models/Counter/Consumer.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f51610ff7cca4495084ac1af4f91fb357e3d55de034f0745770718652793d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Sharpino.Lib/CommandHandler.fs:1481-1492 | Sharpino.Lib/CommandHandler.fs:1576-1587 | Sharpino.Lib/CommandHandler.fs:2665-2676 | Sharpino.Lib/CommandHandler.fs:2761-2773 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb2d290e2e763b9b1ed18bd393b7c8a5c14bbc765c34b5ce09898b494358a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Sharpino.Sample.24/DetailsRefactor.fs:2-13 | Sharpino.Sample.26/DetailsRefactor.fs:2-13 | Sharpino.Sample.27/DetailsRefactor.fs:2-13 | Sharpino.Sample.28/DetailsRefactor.fs:2-13 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.24/DetailsRefactor.fs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bcdbacb2b19b1d20b4bc9bb9e15e85bdf6581c21f244b610c77e11b60edf40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs:169-180 | Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs:194-205 | Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs:315-327 | Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs:396-407 \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 \u0060Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs:169\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.FormerlySaga/Api/SeatBooking.fs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb7009b6e7021c4e5c47b127a7baa6d270731f1ab25c19f6c5576802e7ab91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:1434-1446 | Sharpino.Lib/CommandHandler.fs:1721-1733 | Sharpino.Lib/CommandHandler.fs:1823-1834 \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 \u0060Sharpino.Lib/CommandHandler.fs:1434\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 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a63806bb03cc34855e01f27299d76c869cd931fb59ef1de408e4fbd9e607427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:3473-3484 | Sharpino.Lib/CommandHandler.fs:3708-3719 | Sharpino.Lib/CommandHandler.fs:3934-3945 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5c99be29f261c4d6388e469c8f22bb4fa255826904bb5a869af8c2aec80a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:4582-4593 | Sharpino.Lib/CommandHandler.fs:4873-4885 | Sharpino.Lib/CommandHandler.fs:5171-5183 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4582}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead8a38d041b775c964621aaa8fb823d8decdd0e25fed7f760efa5c7fd6ec67f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sharpino.Sample.11/Definitions.fs:6-17 | Sharpino.Sample.14/Definitions.fs:9-21 | Sharpino.Sample.15/Commons.fs:6-18 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.11/Definitions.fs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ace215e3ded114e59f1ce938c1dfaf22d73618c6d15dc8a2142d9ebb244423b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:553-564 | Sharpino.Lib/PgBinaryEventStore.fs:581-592 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:553\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 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13cbb1b4236e75136661b2d0fbd274bb5441b52e796e00e4a88d202efc4d6a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:700-711 | Sharpino.Lib/PgBinaryEventStore.fs:864-875 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bf17a858bd32416286ea0a34b2ee4795be3287407820433800c44d3b48bf76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:778-789 | Sharpino.Lib/PgEventStore.fs:842-853 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcdf27dbe2e94120741e2f15cc0b4a2ac65fec2c7d9a94d226cbfb48c1e405f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:1522-1533 | Sharpino.Lib/PgBinaryEventStore.fs:1537-1548 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:1522\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b314abf4bcaaecb838dbe0a9add6f2dc98c1b07b7750e70b27bf4e8cde195f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Lib/StateView.fs:289-300 | Sharpino.Lib/StateView.fs:347-358 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/StateView.fs:289\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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc0fc16013c78eaa6ccb08c33af09cc2017e34bb8d5e8fc51a712beacb9ac7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Lib/StateView.fs:558-569 | Sharpino.Lib/StateView.fs:585-596 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/StateView.fs:558\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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fa233c531ad10b46660d0eaf1368a8984e85e20636d9efdbe62f7e6e22dd77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Lib/StateView.fs:965-976 | Sharpino.Lib/StateView.fs:999-1010 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/StateView.fs:965\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a93e62f4cf00cdaff456d304da0bebab9cf20161e2a40f7e6e0b496abc6bf0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1324-1335 | Sharpino.Lib/CommandHandler.fs:1975-1986 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:1324\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 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"79190d12639d3365cab37bb3ad6baba7b78b07e01004002b2a062a36a062e9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2586-2597 | Sharpino.Lib/CommandHandler.fs:2690-2701 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4434837d77efdd763a7862c040ca3bb8704c31f54f4069fe8d6587306b31d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.11/Test2.fs:82-93 | Sharpino.Sample.11/Test2.fs:225-236 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Sample.11/Test2.fs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8a6070801bbd0ded5b5811047e592c5d4085ad6abe5b7f46ae2be56349b325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.11/Test2.fs:188-199 | Sharpino.Sample.11/Test2.fs:263-274 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Sample.11/Test2.fs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b5490910560a1496789ad6f07cac633880a88e4a5bda6402490ea0dda74f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.11/Test2.fs:371-382 | Sharpino.Sample.11/Test2.fs:441-452 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Sample.11/Test2.fs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c5e632627001dc424d8cd5bf0d23884ebf05baf0609ab792de8c08a3114045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.11/Test2.fs:405-416 | Sharpino.Sample.11/Test2.fs:476-487 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.11/Test2.fs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b176c9cb7e63eda62537448d522ffef87a9608d1e6cdca4370176728d28854dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.12/Models/Student/Student.fs:16-27 | Sharpino.Sample.9/models/Student/Student.fs:13-24 \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 \u0060Sharpino.Sample.12/Models/Student/Student.fs:16\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 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":"Sharpino.Sample.12/Models/Student/Student.fs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"413c945409963ab0958cd80fdd65a5238cfe3f9d378cb613cdfcbedf92029398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.12/Models/Student/Commands.fs:6-17 | Sharpino.Sample.9/models/Student/Commands.fs:6-18 \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":"Sharpino.Sample.12/Models/Student/Commands.fs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d2a40ae0f4331bdf3aea234efba5cf2af2b487deb3a13caa41d85ec1942bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.25/TodoManager.fs:89-100 | Sharpino.Sample.25/TodoManager.fs:113-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.25/TodoManager.fs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7376c35bb33c51094f126da72a452f0afff095585008638aa42621b03b33049f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.3/Rows/Consumer.fs:25-36 | Sharpino.Sample.8/Domain/Truck/Consumer.fs:20-31 \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":"Sharpino.Sample.3/Rows/Consumer.fs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d0347af18b10d89a6235bc27bb6bcd811af4f5034a65940080f465c102fc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs:3-14 | Sharpino.Sample.FormerlySaga/Domain/Voucher/Consumer.fs:3-14 \u2014 \u0060Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs\u0060 and \u0060Sharpino.Sample.FormerlySaga/Domain/Voucher/Consumer.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.FormerlySaga/Domain/Rows/Consumer.fs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cc747da104ef374fbba6667a1e099ddcc9ea4d2ee01883fd9a1f8bc77cbc37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Cart.fs:7-19 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Cart/Cart.fs:8-19 \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 \u0060Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Cart.fs:7\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Cart.fs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79acb8eaa05e6d9821f24c0aa1e16728a48c75ec8d975cb39ea1622caa1b574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Events.fs:7-18 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Events.fs:6-17 \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":"Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Events.fs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a9317d35d24e35d50cf29a35c72f05e35fda9c2cdce68cf577829e187b5b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): Sharpino.Sample.17/MaterialManager.fs:25-35 | Sharpino.Sample.22/Program.fs:17-27 | Sharpino.Sample.24/Program.fs:23-33 | Sharpino.Sample.26/Program.fs:23-33 | Sharpino.Sample.27/Program.fs:23-33 | Sharpino.Sample.28/Program.fs:23-33 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.17/MaterialManager.fs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f733838ee6a7cbf8036db1af4a7ef9bb3c623616a63727cc82636b199bf8de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sharpino.Lib/PgBinaryEventStore.fs:437-447 | Sharpino.Lib/PgBinaryEventStore.fs:493-503 | Sharpino.Lib/PgBinaryEventStore.fs:532-542 | Sharpino.Lib/PgBinaryEventStore.fs:2677-2687 \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 \u0060Sharpino.Lib/PgBinaryEventStore.fs:437\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 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42793590f92583e044ca4fca10384b0d57806f9ee3fbf54a10d35a4812ae6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sharpino.Lib/CommandHandler.fs:1042-1054 | Sharpino.Lib/CommandHandler.fs:3459-3469 | Sharpino.Lib/CommandHandler.fs:3694-3704 | Sharpino.Lib/CommandHandler.fs:3920-3930 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"75efdc32eb99094c29ead6145a31ebb243cacddfca7f8a75a9e2a59c8b0a6c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sharpino.Sample.6/Ingredients/Consumer.fs:67-77 | Sharpino.Sample.6/Dishes/Consumer.fs:64-74 | Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs:58-68 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Consumer.fs:60-70 \u2014 before extracting anything, compare \u0060Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs\u0060 and \u0060Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Consumer.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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":"Sharpino.Sample.6/Ingredients/Consumer.fs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2da4e2fbfdcafa93fc4384f9d87c3de548075d06be9faef2d986c0ff25aec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Sharpino.Sample.FormerlySaga/Domain/Rows/Commands.fs:39-49 | Sharpino.Sample.FormerlySaga/Domain/Rows/Commands.fs:57-67 | Sharpino.Sample.FormerlySaga/Domain/Rows/Commands.fs:75-85 | Sharpino.Sample.FormerlySaga/Domain/Rows/Commands.fs:93-103 \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 \u0060Sharpino.Sample.FormerlySaga/Domain/Rows/Commands.fs: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. The matched lines also transfer control out of the body holding them, 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":"Sharpino.Sample.FormerlySaga/Domain/Rows/Commands.fs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e412327c1f25c66a48b85dc4855e29b0358718a638e463abc9da9157b22089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sharpino.Sample.9/models/Student/Consumer.fs:47-57 | Sharpino.Sample.9/models/Course/Consumer.fs:47-57 | Sharpino.Sample.9/models/Teacher/Consumer.fs:47-57 \u2014 \u0060Sharpino.Sample.9/models/Student/Consumer.fs\u0060 and \u0060Sharpino.Sample.9/models/Course/Consumer.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 40 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.9/models/Student/Consumer.fs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b35724c5c487cc5dad708662ab604de4abaa4243b708d4e08df0c51595800f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Lib.Core/Utils.fs:60-71 | Sharpino.Lib.Core/Utils.fs:75-85 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib.Core/Utils.fs:60\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":"Sharpino.Lib.Core/Utils.fs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e1c9974de85cb0ba3636086945a8c35ba8bf3e82f3f67ba88e5ce297e35159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2050-2060 | Sharpino.Lib/PgBinaryEventStore.fs:2075-2085 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:2050\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"88944e666def3a07bf2caf93f09307cf931af8dbddcc4c3655a95a5f23b1ade2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:2361-2371 | Sharpino.Lib/PgBinaryEventStore.fs:2407-2417 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6573dcbb549bf70c34880dba4f483d320a91de652d6dc0279d2450593dc6797c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Lib/MemoryStorage.fs:659-669 | Sharpino.Lib/MemoryStorage.fs:678-688 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"8477649e7addd81daeda1d98c48860949194f3406d9df5bc66acb76f354fb06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Lib/StateView.fs:196-206 | Sharpino.Lib/StateView.fs:230-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. The matched lines also transfer control out of the body holding them, 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d836de25935ee2a37cd077c3e054fb4ce4e38737d106a39e8f0deacb398082a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Lib/StateView.fs:911-921 | Sharpino.Lib/StateView.fs:935-945 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/StateView.fs:911\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e50814a68d30ffbe94dfe5975be79540b9a0096962f49f4a1d8a49ad52df52f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1265-1275 | Sharpino.Lib/CommandHandler.fs:1926-1936 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40e32387d3a261f925bc02aebae86cfe34a1066c2476e7e9c530d1bebabf447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1362-1372 | Sharpino.Lib/CommandHandler.fs:2046-2056 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d309f5a0744e56f4169e424d510a0c5ca558371f938989d1fcf2d12aacfffde6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Sample.11/Test2.fs:112-122 | Sharpino.Sample.11/Test2.fs:331-341 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Sample.11/Test2.fs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1356b2458848fffab232c62a301fdc00f7883f82968698df99dbbfafb473a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Sample.11/Test2.fs:244-254 | Sharpino.Sample.11/Test2.fs:459-469 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Sample.11/Test2.fs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1616ba8188578d61e1deef0ca8236e62a70b831e322f85fa0d488e5e7099f9f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Sample.9/models/Item/Consumer.fs:46-56 | Sharpino.Sample.9/models/Reservation/Consumer.fs:47-57 \u2014 \u0060Sharpino.Sample.9/models/Item/Consumer.fs\u0060 and \u0060Sharpino.Sample.9/models/Reservation/Consumer.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 50 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.9/models/Item/Consumer.fs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b919edcb18155fe07d0a333ad01a31510b69bc46713c4fda0b5f28a43ca1cb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Sample.9/CourseManager.fs:3-13 | Sharpino.Sample.9/CourseManagerAsync.fs:4-14 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.9/CourseManager.fs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"543b3b448a728c0dc3102106a35cf2cf11b61d9168cbf395ea7e4bbaa8736f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Sample.FormerlySaga/Domain/Booking/Consumer.fs:63-73 | Sharpino.Sample.FormerlySaga/Domain/Voucher/Consumer.fs:95-105 \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":"Sharpino.Sample.FormerlySaga/Domain/Booking/Consumer.fs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0a29047811e8a70f5c0be772eae533676da025f563c71e13656cc2e8699732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs:21-31 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Consumer.fs:22-34 \u2014 before extracting anything, compare \u0060Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs\u0060 and \u0060Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Goods/Consumer.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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":"Sharpino.Sample.7/shoppingCartWithSharpino/Goods/Consumer.fs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eedd5f1757573036a6360e1fe5d713f8ba6e16891b321966e972bb85d48c336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/GoodsContainer/Events.fs:8-18 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/GoodsContainer/Events.fs:7-17 \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":"Sharpino.Sample.7/shoppingCartWithSharpino/GoodsContainer/Events.fs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff5d5427b37a05d9e646a0bb692aea7438d4b761a15d55087e3d5f4539136f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): Sharpino.Sample.3/Rows/Consumer.fs:73-82 | Sharpino.Sample.8/Domain/Site/Consumer.fs:50-59 | Sharpino.Sample.8/Domain/Truck/Consumer.fs:42-51 | Sharpino.Sample.8/Domain/Truck/Consumer.fs:61-70 | Sharpino.Sample.9/models/Item/Consumer.fs:49-58 | Sharpino.Sample.9/models/Item/Consumer.fs:74-83 | Sharpino.Sample.9/models/Reservation/Consumer.fs:50-59 | Sharpino.Sample.9/models/Course/Consumer.fs:66-75 | Sharpino.Sample.9/models/Balance/Consumer.fs:43-52 \u2014 \u0060Sharpino.Sample.9/models/Item/Consumer.fs\u0060 and \u0060Sharpino.Sample.9/models/Reservation/Consumer.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 50 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.3/Rows/Consumer.fs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"31da4cf7fbfae720f2959b2a41c80942865968c08fbafd3b17841878f55165f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Sharpino.Lib/Commons.fs:14-23 | Sharpino.Sample.2/Commons.fs:13-22 | Sharpino.Sample.6/Commons.fs:12-21 | Sharpino.Sample/Commons.fs:12-21 \u2014 \u0060Sharpino.Sample.2/Commons.fs\u0060 and \u0060Sharpino.Sample.6/Commons.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/Commons.fs:14\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/Commons.fs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a84bd6ef816ddaed6e678e125c19afc52775c7d9f4715256726f001ce08ca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Sharpino.Lib/CommandHandler.fs:1654-1663 | Sharpino.Lib/CommandHandler.fs:1756-1765 | Sharpino.Lib/CommandHandler.fs:1857-1866 | Sharpino.Lib/CommandHandler.fs:5765-5774 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"286fd263aff7f2188b92b3ff34de3086d704f3339820fa415a8850470cf545b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sharpino.Lib/PgBinaryEventStore.fs:1547-1556 | Sharpino.Lib/PgBinaryEventStore.fs:1658-1667 | Sharpino.Lib/PgBinaryEventStore.fs:1766-1775 \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 \u0060Sharpino.Lib/PgBinaryEventStore.fs:1547\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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac469fafba793d34c0fb115fbcdcb614932c59cadadcfa19f659f2d70b1fe85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:2347-2356 | Sharpino.Lib/CommandHandler.fs:2395-2404 | Sharpino.Lib/CommandHandler.fs:2442-2451 \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 \u0060Sharpino.Lib/CommandHandler.fs:2347\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0b1708447d89780a4ecdc698c79ee42baacc1836384fc5dbc8bfafde09262b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:2844-2853 | Sharpino.Lib/CommandHandler.fs:3123-3132 | Sharpino.Lib/CommandHandler.fs:3200-3209 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2844}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c0e8fe20ad534a98d04533d06456ce0db4b7db6532026501b93534391d3fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sharpino.Sample.2/Commons.fs:3-12 | Sharpino.Sample.6/Commons.fs:2-11 | Sharpino.Sample/Commons.fs:2-11 \u2014 \u0060Sharpino.Sample.2/Commons.fs\u0060 and \u0060Sharpino.Sample.6/Commons.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample.2/Commons.fs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2201033c7da72d0193c9520868ca01427c85bb1b3f14970d3612ed49900dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sharpino.Sample.2/Commons.fs:29-38 | Sharpino.Sample.6/Commons.fs:28-37 | Sharpino.Sample/Commons.fs:28-37 \u2014 \u0060Sharpino.Sample.2/Commons.fs\u0060 and \u0060Sharpino.Sample.6/Commons.fs\u0060 are the same file name in two sibling directories, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Sample.2/Commons.fs:29\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":"Sharpino.Sample.2/Commons.fs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e075d31df316dabed85698985c3c3f33e186ae4403efdd48ad974907144a6ab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:466-475 | Sharpino.Lib/PgBinaryEventStore.fs:444-455 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/PgEventStore.fs:466\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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c0ee5fdeff71c90491858efc00f10e26aa4a4be7e96a639a2e283a27d18e7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:650-659 | Sharpino.Lib/PgBinaryEventStore.fs:720-729 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgBinaryEventStore.fs:650\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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75178cad3be379209ccda67489cfa5ee7ef203f007ffc16f7069433533b7aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:1245-1254 | Sharpino.Lib/PgBinaryEventStore.fs:2629-2638 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c36ec1757b989770ebc5609cd3a9ac9532d9cf556f0fb569f790f68acc237ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:2349-2358 | Sharpino.Lib/PgBinaryEventStore.fs:2620-2629 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgBinaryEventStore.fs:2349\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f857aa5084d2433af408fa4789c5bcf4fc1eabb32d86de6267b93a9e8da35e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/MemoryStorage.fs:83-92 | Sharpino.Lib/MemoryStorage.fs:147-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. 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":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee43a8e68419ed1e779f245e8268eeb2b6651ca37e488a7c5303c7a07d3afa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/MemoryStorage.fs:838-847 | Sharpino.Lib/MemoryStorage.fs:856-865 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"d222ddbf90246cc39c847d4b5c0afa68fa95a91d418707cd563e1df886f1c93f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/AzureServiceBusBackplane.fs:118-127 | Sharpino.Lib/PgNotifyBackplane.fs:104-113 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/AzureServiceBusBackplane.fs:118\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":"Sharpino.Lib/AzureServiceBusBackplane.fs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b091c262249bee6e89cdb2aa104720bc94401b1bb10add3e91802607f9d0cb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/StateView.fs:123-133 | Sharpino.Lib/StateView.fs:152-161 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/StateView.fs:123\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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81ed69bb4b0b21fb414ab58b2b93c5d4707ef6e3c31672c44ae8bdfa1d65410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/RabbitMq.fs:184-195 | Sharpino.Lib/RabbitMq.fs:245-254 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/RabbitMq.fs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dfbad941ec18a943484e1270890bb9f7bc970729708512eb8d36432c0ef1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1138-1147 | Sharpino.Lib/CommandHandler.fs:1194-1203 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec7a204211cbbcaf42482526fe56a8a25e419a7ac4e3b9026044a9d6f397024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1563-1572 | Sharpino.Lib/CommandHandler.fs:2652-2661 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:1563\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e6a79f4bbb58d2abcf2bc94d157be811a9edbfb75dd01c6564d1dd9b348ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2210-2219 | Sharpino.Lib/CommandHandler.fs:2431-2441 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"40030729552267e4f4d547e9e512909273f02edae0ec7b50ba4073faad737516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2261-2270 | Sharpino.Lib/CommandHandler.fs:2277-2286 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:2261\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4b9b89da5676fd5686f40af3a44a9a930e8bd32ad540987e2fb18964004405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:3504-3513 | Sharpino.Lib/CommandHandler.fs:4166-4177 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:3504\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3504}}}],"partialFingerprints":{"codehealthFindingId/v1":"0964fb74b8b3163175e5524391814d491d66cb1ea1d469d44c902382ad5d81f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Sample.11/Models/Student/Student.fs:56-65 | Sharpino.Sample.14/Models/Student/Student.fs:71-81 \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":"Sharpino.Sample.11/Models/Student/Student.fs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ff1464ad22bf0e8360220206bc87a4590183136eb3646a028aea3ab86dce2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sharpino.Sample/App.fs:116-125 | Sharpino.Sample/App.fs:306-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample/App.fs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fb77e784e3c35f78af9e40f7c63879b26f99a964cad28b2d97193fafad21a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): Sharpino.Lib/CommandHandler.fs:3304-3312 | Sharpino.Lib/CommandHandler.fs:3531-3539 | Sharpino.Lib/CommandHandler.fs:3757-3765 | Sharpino.Lib/CommandHandler.fs:3982-3990 | Sharpino.Lib/CommandHandler.fs:4048-4056 | Sharpino.Lib/CommandHandler.fs:4195-4203 | Sharpino.Lib/CommandHandler.fs:4344-4352 | Sharpino.Lib/CommandHandler.fs:4494-4502 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6840dff4c38069640654631f07872fcba0a017128aac7e70348daf2799311f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): Sharpino.Lib/CommandHandler.fs:4567-4575 | Sharpino.Lib/CommandHandler.fs:4850-4858 | Sharpino.Lib/CommandHandler.fs:5148-5156 | Sharpino.Lib/CommandHandler.fs:5446-5454 | Sharpino.Lib/CommandHandler.fs:5497-5505 | Sharpino.Lib/CommandHandler.fs:5535-5543 | Sharpino.Lib/CommandHandler.fs:5727-5735 \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. 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4567}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d76e474e7060ff42dd4854eeb92dee267e3884afb25ef2b542700ef68d1b477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): Sharpino.Lib/StateView.fs:51-59 | Sharpino.Lib/StateView.fs:127-135 | Sharpino.Lib/StateView.fs:155-163 | Sharpino.Lib/StateView.fs:178-186 | Sharpino.Lib/StateView.fs:212-220 \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 \u0060Sharpino.Lib/StateView.fs:51\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 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0cca6c2e2f74e720be510edb007620e9662e0546133b4b841b9401dc2169a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): Sharpino.Sample.22/TodoManager.fs:148-156 | Sharpino.Sample.24/TodoManager.fs:286-294 | Sharpino.Sample.26/TodoManager.fs:286-294 | Sharpino.Sample.27/TodoManager.fs:286-294 | Sharpino.Sample.28/TodoManager.fs:286-294 \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 \u0060Sharpino.Sample.22/TodoManager.fs:148\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":"Sharpino.Sample.22/TodoManager.fs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"072247788135aabaaea2a30a568044a7540d7e1d7ad6bb8c9cfc89fa3822ddf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:1943-1951 | Sharpino.Lib/CommandHandler.fs:3139-3149 | Sharpino.Lib/CommandHandler.fs:3215-3225 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0d4a9d03d9b7033ce85e0a1c48efc0eb4ef6736df5e4d642f38724ff0a103f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sharpino.Sample.11/Test2.fs:300-308 | Sharpino.Sample.11/Test2.fs:371-379 | Sharpino.Sample.11/Test2.fs:441-449 \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":"Sharpino.Sample.11/Test2.fs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"49507b3b453b84f3a302a5ea28539eb17a86935e40425d0eaea74c886aee6d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:2715-2723 | Sharpino.Lib/PgEventStore.fs:2745-2756 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/PgEventStore.fs:2715\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec6f2a91d294121df21410a21ddaf8e669f30b3ea4ab2813af8606b01c498b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/MemoryStorage.fs:203-211 | Sharpino.Lib/MemoryStorage.fs:289-297 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a3c1702ac82210721430e101fb2bd569e8f57b4cd720b98322e220b7ccb4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/StateView.fs:411-419 | Sharpino.Lib/StateView.fs:452-460 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a9a458e9a224f6d84f16c92919502840a8867d650ffddcee39e00845f59442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/StateView.fs:546-554 | Sharpino.Lib/StateView.fs:690-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/StateView.fs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e6ff07908b51a1b63ee5063bf239f042e1cf5d6f6634b12b1a6f24992d12dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/StateView.fs:647-655 | Sharpino.Lib/StateView.fs:680-688 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/StateView.fs:647\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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"e369bd36db4c7bb434b1c8797da013280b0ba64fb91fa0c4844dae9187f9adfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/StateView.fs:756-764 | Sharpino.Lib/StateView.fs:820-828 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ecad9837de0b555a32207495dd89249b0b86653f5d0fe545ea3afb2a93d455"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:334-342 | Sharpino.Lib/CommandHandler.fs:1115-1123 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0c671b2428dc8ca9f65654cdd378cd487c24389f81f73ce3452aa3196b073d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:825-833 | Sharpino.Lib/CommandHandler.fs:1026-1034 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9496c7bdfd738b0728afab701bc61cd4a1d2a3615edfa6cc0e750afb7f91f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:872-880 | Sharpino.Lib/CommandHandler.fs:2802-2811 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:872\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 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"430c14ca5c6d1b76d3b1640af9c82b8128df23c30fb1d5391b3f493c5327f664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1456-1464 | Sharpino.Lib/CommandHandler.fs:1549-1557 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e82dac0686638021eaefaf05b12fe8a2a138c4a462d69227bfc838f94df388b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2171-2179 | Sharpino.Lib/CommandHandler.fs:2299-2307 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32e0098cb57af33a0cbd1490e9488c1cc42e99415c6e997e837280a2c534cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2620-2628 | Sharpino.Lib/CommandHandler.fs:2818-2826 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2620}}}],"partialFingerprints":{"codehealthFindingId/v1":"de136f4c74b82ea6a64febd6353b5061fe57f0a0b20823a5c5d5e326497acada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2689-2697 | Sharpino.Lib/CommandHandler.fs:2787-2795 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2689}}}],"partialFingerprints":{"codehealthFindingId/v1":"99369f935d1897013cdcbe0f521731880ffe4148ea60455761744feed9b8c7a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:3154-3162 | Sharpino.Lib/CommandHandler.fs:3230-3238 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3154}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaafed07bee8e1cd40b55abbf517562d51a9e4730265cfb33701e77bc6dc663f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:4066-4074 | Sharpino.Lib/CommandHandler.fs:5558-5566 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:4066\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4066}}}],"partialFingerprints":{"codehealthFindingId/v1":"6818d02b0fd75960b4be61d71b4d733c1ade4156e2cf322d2af904c038a9dc2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:4307-4315 | Sharpino.Lib/CommandHandler.fs:4456-4464 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b035841d587d10b695568c3523af86e1eabd3a60b3565c8b92f6798b38a38219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Sample.11/Models/Course/Course.fs:62-70 | Sharpino.Sample.14/Models/Course/Course.fs:69-77 \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":"Sharpino.Sample.11/Models/Course/Course.fs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7f321239b237d3ad9441013bef911b6d7ac44203c357a7e3c373298d4f7a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Sample.11/Models/Student/Commands.fs:13-21 | Sharpino.Sample.14/Models/Student/Commands.fs:16-24 \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":"Sharpino.Sample.11/Models/Student/Commands.fs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be8613f7683e2f8be788a9640bcee723af793613113e9cec8e622a63df85774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sharpino.Sample.12/Models/Course/Commands.fs:17-25 | Sharpino.Sample.9/models/Course/Commands.fs:15-23 \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":"Sharpino.Sample.12/Models/Course/Commands.fs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"114398ce6cb86057782ed9174bea62214fbe7b833521a7585f5f704605fdbb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sharpino.Lib/MqttBackplane.fs:35-43 | Sharpino.Lib/AzureServiceBusBackplane.fs:55-62 | Sharpino.Lib/PgNotifyBackplane.fs:43-50 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/MqttBackplane.fs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66b22188c6810ad524e4959026a9a43d188eac4a52896db626075eaeefa541b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sharpino.Lib/StateView.fs:783-790 | Sharpino.Lib/StateView.fs:819-826 | Sharpino.Lib/StateView.fs:875-882 \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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"5820443bea68ff3e5a368559e355c8858148c221fc2cdb252cd3a49b7059a24b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:2495-2502 | Sharpino.Lib/CommandHandler.fs:2638-2645 | Sharpino.Lib/CommandHandler.fs:2730-2737 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed4c3e5d88a4982a74e59e3b7975b68ed26c87cdfde40ca8f35e017c31ea218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:24-31 | Sharpino.Lib/PgBinaryEventStore.fs:23-30 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d76b790cee8e880f4b9d90afdf1249de7a78429f4a6c4ed770126e8812e83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:868-875 | Sharpino.Lib/PgBinaryEventStore.fs:705-712 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"21455368d71649f433d021ec7fac03917ccaa0052db4801ce70232d54fb18d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:630-637 | Sharpino.Lib/PgBinaryEventStore.fs:697-704 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad0ca7d982f91dd214eb9e97d45298cc6a4f2463b7beb2c63272b7e49d022c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/Cache.fs:234-241 | Sharpino.Lib/Cache.fs:306-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/Cache.fs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa4d3f9bd365aa0076bb3114ed82b00b5350f9ecf235a3deaf3bf22af861c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/Cache.fs:258-265 | Sharpino.Lib/Cache.fs:580-587 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/Cache.fs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c788279c6bcc071c04defeb8a6e65cce6908e84bb36e0d3b0b52daa2923b0910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/Cache.fs:309-316 | Sharpino.Lib/Cache.fs:507-514 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/Cache.fs:309\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":"Sharpino.Lib/Cache.fs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f61137f4f7037614e62e2dbd4a107862868c1331ac5a44798ab69e18336c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/StateView.fs:399-406 | Sharpino.Lib/StateView.fs:509-516 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf801dfe54a958c76920da670b7fa700e970636baf6c4501f6c66796bea6b98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/StateView.fs:630-637 | Sharpino.Lib/StateView.fs:657-664 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97d1b771aed49558e59a9172b94033deff4fd9d43d788c71f11d20ba7a363fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/StateView.fs:894-902 | Sharpino.Lib/StateView.fs:918-925 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/StateView.fs:894\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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"706e727156d4ac5d54c4040a391c1384f3f933ee1f6bb1961718322b23fbfe2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/RabbitMq.fs:197-204 | Sharpino.Lib/RabbitMq.fs:256-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sharpino.Lib/RabbitMq.fs:197\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/RabbitMq.fs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b85f99025a3f80105c6400aa2b723c2c05770c24490f440c78ae6282367c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/RabbitMq.fs:215-222 | Sharpino.Lib/RabbitMq.fs:277-284 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/RabbitMq.fs:215\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 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":"Sharpino.Lib/RabbitMq.fs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0878b5dc1ed7dfe6cfce67b16e5514c1e3f5637636062726ce43c1651c80e0b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:399-406 | Sharpino.Lib/CommandHandler.fs:532-539 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:399\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0384dbba931ed2b6593d4fb49f9f9e545b240f292453b94504b99b0ae5070f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:641-648 | Sharpino.Lib/CommandHandler.fs:877-884 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:641\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c405e195d80e4cc65b9b58da5a079b0ad11be7ce1a8d0bd96cd94f08c02ff42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1207-1215 | Sharpino.Lib/CommandHandler.fs:1280-1287 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:1207\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a90c32fdcb6fc920660cdb5bdc46c10435b4268626a2ad6e5860e3c4477d057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1243-1250 | Sharpino.Lib/CommandHandler.fs:1983-1990 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2432a21c5c955695f6ae5d8ffa98610d63aa1e041f3dcec7a66392c66d564039"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:3682-3689 | Sharpino.Lib/CommandHandler.fs:3908-3915 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3682}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4274223fde179d0d7a1f319743899d50e70f47cd7f9fd0d54d3ac5ba7b38584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:4020-4027 | Sharpino.Lib/CommandHandler.fs:4531-4538 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4020}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a47ae58f1e73353b85fc6a3759b2b5e0d8e1dc3afeaab3413268c77ad7f8ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:4154-4162 | Sharpino.Lib/CommandHandler.fs:5671-5678 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4154}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e52c1f34085e2c7a8bc9c76492fc0b84c25210a363f4ab9f1dd3f48bb4ee3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:4293-4300 | Sharpino.Lib/CommandHandler.fs:4442-4449 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4293}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d83fdcee777691bc384fb53f06205387a2752550ad8601b0dcea0822bba185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Sample.11/Models/Course/Events.fs:21-28 | Sharpino.Sample.14/Models/Course/Events.fs:23-30 \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":"Sharpino.Sample.11/Models/Course/Events.fs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f09548d3776528d11158bcd94962d03e0d51e36afd3d99be679f3306f7d407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Sample/App.fs:94-101 | Sharpino.Sample/App.fs:111-118 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Sample/App.fs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6939128af82a3c8c7c70e06709d8df0afc12e072a20af0770221045cb6052879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Events.fs:14-21 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/Cart/Events.fs:12-19 \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":"Sharpino.Sample.7/shoppingCartWithSharpino/Cart/Events.fs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"325ddce240d796014a25874525d37ca3ab23a87d6352b96fe8b652b9546d48e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): Sharpino.Lib/CommandHandler.fs:3535-3541 | Sharpino.Lib/CommandHandler.fs:3761-3767 | Sharpino.Lib/CommandHandler.fs:3986-3992 | Sharpino.Lib/CommandHandler.fs:4199-4205 | Sharpino.Lib/CommandHandler.fs:4348-4354 | Sharpino.Lib/CommandHandler.fs:4498-4504 | Sharpino.Lib/CommandHandler.fs:4572-4578 | Sharpino.Lib/CommandHandler.fs:4855-4861 | Sharpino.Lib/CommandHandler.fs:5153-5159 | Sharpino.Lib/CommandHandler.fs:5451-5457 | Sharpino.Lib/CommandHandler.fs:5540-5546 \u2014 all 11 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bf4796709a2a7a394ebcdc4c4b1940b166666b4eb59991e1631e63691aa227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Sharpino.Lib/CommandHandler.fs:3737-3744 | Sharpino.Lib/CommandHandler.fs:3963-3969 | Sharpino.Lib/CommandHandler.fs:4323-4331 | Sharpino.Lib/CommandHandler.fs:4472-4481 \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 \u0060Sharpino.Lib/CommandHandler.fs:3737\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3737}}}],"partialFingerprints":{"codehealthFindingId/v1":"3208ba43c260ff6e79c95ff7b3d0f5caa090cd27f5428ebdaafe42d4d7c51136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sharpino.Lib/StateView.fs:439-445 | Sharpino.Lib/StateView.fs:571-577 | Sharpino.Lib/StateView.fs:598-604 \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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb1801b21ce051e00813486a56180d72df318388716bf80b155fc9999fb1374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:2333-2339 | Sharpino.Lib/CommandHandler.fs:2381-2387 | Sharpino.Lib/CommandHandler.fs:2428-2434 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe5f56ae9715ff7151f93482d5278b32189efd318e7ec85ff0f511c6e5af4af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:3449-3455 | Sharpino.Lib/CommandHandler.fs:3682-3688 | Sharpino.Lib/CommandHandler.fs:3908-3914 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":3449}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb2ad5ad62d424904d13348ad37ed8774242caee72f0902d260715bf6e37176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/PgEventStore.fs:851-857 | Sharpino.Lib/PgBinaryEventStore.fs:688-694 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/PgEventStore.fs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdde5a214dcf68ee03e1dcec020dd7452462529763b54a2502a2072b7d5f2c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:928-934 | Sharpino.Lib/PgBinaryEventStore.fs:962-968 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefea9a46f7e3784d26bbf5e53178125481ebb975c42c01f31d333f35f633ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/MemoryStorage.fs:1056-1062 | Sharpino.Lib/MemoryStorage.fs:1070-1077 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"521c1da954ab8235002ec56dd494a2170677508bb62c2402688f2d378fe7fd0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/Cache.fs:505-511 | Sharpino.Lib/Cache.fs:553-560 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/Cache.fs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a42aa23a156a4d210f0cb8a066a4dac92552d1f19263ba7e2d53630b4f29197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/StateView.fs:271-277 | Sharpino.Lib/StateView.fs:329-335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/StateView.fs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"830823f30f935d97bdafbdfe61a17672afee70de033fee9af557e2c2143ebf35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/StateView.fs:845-851 | Sharpino.Lib/StateView.fs:869-875 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/StateView.fs:845\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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ab8f3cf262a55c05631a33112b5abad97d956dd067bb9b709986e057ae04c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:98-104 | Sharpino.Sample.9/Commons.fs:54-60 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7b8ce73b442a00e7eded8426216bd483165d5d98fd30bfa8b93122e1b6c477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:153-159 | Sharpino.Lib/CommandHandler.fs:212-218 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:153\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe97088d976ea7f5637ec3c322e23d3341d14b226d5089d7e566a2977b8da128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:272-278 | Sharpino.Lib/CommandHandler.fs:311-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. 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2132e9c12cdc2b764349b2bca72dd8cb7ff292c616f6075de147c082c69076b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:505-511 | Sharpino.Lib/CommandHandler.fs:542-548 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"57392d0f37f1d488c965f8dd1c23158aafa3fc3be1baced1755579d9fd6b944a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:858-864 | Sharpino.Lib/CommandHandler.fs:1065-1073 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb1c25b93efbaf71a77ce7cd80ec03a92f37595cac295383ac162bfc25bfd63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1281-1287 | Sharpino.Lib/CommandHandler.fs:1379-1385 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:1281\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdb63d760b0a7baf3d63d99d6aeba1f4ece5387b6f79ab500a5fd2e1444bb36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1667-1673 | Sharpino.Lib/CommandHandler.fs:1769-1775 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:1667\u0060 it does not close everything it opens, so those exact 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"f418258871e22c0ae0929beaf2c7d4030a6e5e5fec7b5018c39f0515bb222ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1699-1705 | Sharpino.Lib/CommandHandler.fs:1801-1807 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a675717e54ca83105ad39d781f025598d0024b1faf889a2a38974478391665d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:4285-4291 | Sharpino.Lib/CommandHandler.fs:4434-4440 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4285}}}],"partialFingerprints":{"codehealthFindingId/v1":"32651f9c749f3e219362f3d0682d8b5f4169666baaad5b354a4315b18e7ddac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:5872-5878 | Sharpino.Lib/CommandHandler.fs:5936-5943 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":5872}}}],"partialFingerprints":{"codehealthFindingId/v1":"06de7d850e3068a880d6f12007e0967206954a11436254c93946741ed0672068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:5974-5980 | Sharpino.Lib/CommandHandler.fs:6056-6062 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":5974}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa6ca9fe12ca12c281a0e23e60deb3fed32cddb3c13bfbfb0c150afb2e03180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sharpino.Sample.7/shoppingCartWithSharpino/GoodsContainer/GoodsContainer.fs:33-39 | Sharpino.Sample.7/shoppingCartWithSharpinoBinary/GoodsContainer/GoodsContainer.fs:32-38 \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":"Sharpino.Sample.7/shoppingCartWithSharpino/GoodsContainer/GoodsContainer.fs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a848deab7167d1ac40d15fbf75e79812710f7a7cf90395706f86ec8627ef33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 43): Sharpino.Lib/CommandHandler.fs:578-583 | Sharpino.Lib/CommandHandler.fs:1129-1134 | Sharpino.Lib/CommandHandler.fs:1185-1190 | Sharpino.Lib/CommandHandler.fs:1247-1252 | Sharpino.Lib/CommandHandler.fs:1336-1341 | Sharpino.Lib/CommandHandler.fs:1447-1452 | Sharpino.Lib/CommandHandler.fs:1540-1545 | Sharpino.Lib/CommandHandler.fs:1632-1637 | Sharpino.Lib/CommandHandler.fs:1734-1739 | Sharpino.Lib/CommandHandler.fs:1835-1840 | Sharpino.Lib/CommandHandler.fs:1885-1890 | Sharpino.Lib/CommandHandler.fs:1908-1913 | Sharpino.Lib/CommandHandler.fs:1987-1992 | Sharpino.Lib/CommandHandler.fs:2020-2025 | Sharpino.Lib/CommandHandler.fs:2117-2122 | Sharpino.Lib/CommandHandler.fs:2489-2494 | Sharpino.Lib/CommandHandler.fs:2614-2619 | Sharpino.Lib/CommandHandler.fs:2632-2637 | Sharpino.Lib/CommandHandler.fs:2724-2729 | Sharpino.Lib/CommandHandler.fs:2812-2817 | Sharpino.Lib/CommandHandler.fs:2830-2835 | Sharpino.Lib/CommandHandler.fs:3109-3114 | Sharpino.Lib/CommandHandler.fs:3186-3191 | Sharpino.Lib/CommandHandler.fs:3262-3267 | Sharpino.Lib/CommandHandler.fs:3290-3295 | Sharpino.Lib/CommandHandler.fs:3517-3522 | Sharpino.Lib/CommandHandler.fs:3743-3748 | Sharpino.Lib/CommandHandler.fs:3968-3973 | Sharpino.Lib/CommandHandler.fs:4006-4011 | Sharpino.Lib/CommandHandler.fs:4034-4039 | Sharpino.Lib/CommandHandler.fs:4181-4186 | Sharpino.Lib/CommandHandler.fs:4330-4335 | Sharpino.Lib/CommandHandler.fs:4480-4485 | Sharpino.Lib/CommandHandler.fs:4517-4522 | Sharpino.Lib/CommandHandler.fs:4545-4550 | Sharpino.Lib/CommandHandler.fs:4828-4833 | Sharpino.Lib/CommandHandler.fs:5126-5131 | Sharpino.Lib/CommandHandler.fs:5424-5429 | Sharpino.Lib/CommandHandler.fs:5475-5480 | Sharpino.Lib/CommandHandler.fs:5513-5518 | Sharpino.Lib/CommandHandler.fs:5705-5710 | Sharpino.Lib/CommandHandler.fs:5743-5748 | Sharpino.Lib/CommandHandler.fs:5819-5824 \u2014 all 43 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 \u0060Sharpino.Lib/CommandHandler.fs:578\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 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad77653db4c993226d9450e864dd9239e4221057aa87133f600fb5c4c74f3d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): Sharpino.Lib/CommandHandler.fs:586-591 | Sharpino.Lib/CommandHandler.fs:1134-1139 | Sharpino.Lib/CommandHandler.fs:1190-1195 | Sharpino.Lib/CommandHandler.fs:1252-1257 | Sharpino.Lib/CommandHandler.fs:1341-1346 | Sharpino.Lib/CommandHandler.fs:1452-1457 | Sharpino.Lib/CommandHandler.fs:1545-1550 | Sharpino.Lib/CommandHandler.fs:1890-1895 | Sharpino.Lib/CommandHandler.fs:1913-1918 | Sharpino.Lib/CommandHandler.fs:1992-1997 | Sharpino.Lib/CommandHandler.fs:2025-2030 | Sharpino.Lib/CommandHandler.fs:2122-2127 \u2014 all 12 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfb310a2cebcc39bfffdbfab4ae165e895f20599c600c45f23b436b8de5a0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Sharpino.Lib/CommandHandler.fs:377-382 | Sharpino.Lib/CommandHandler.fs:403-408 | Sharpino.Lib/CommandHandler.fs:436-441 | Sharpino.Lib/CommandHandler.fs:469-474 | Sharpino.Lib/CommandHandler.fs:499-504 | Sharpino.Lib/CommandHandler.fs:536-541 \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 \u0060Sharpino.Lib/CommandHandler.fs:377\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9302dcc3a9a18c277376bc8d04e0dbee22dcde666511ffd23cfdb6c957392a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Sharpino.Lib/CommandHandler.fs:1089-1094 | Sharpino.Lib/CommandHandler.fs:4807-4812 | Sharpino.Lib/CommandHandler.fs:5105-5110 | Sharpino.Lib/CommandHandler.fs:5403-5408 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4bdfacfc48e78f095918d275e4cbfc9bed515541c68e3b52f067b72828895d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:718-723 | Sharpino.Lib/CommandHandler.fs:3160-3165 | Sharpino.Lib/CommandHandler.fs:3236-3241 \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 \u0060Sharpino.Lib/CommandHandler.fs:718\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 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eadc1f4c85c1a6022a60620b37f1a9e5792e29dd15ebf2b23a8db549cf427e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sharpino.Lib/PgBinaryEventStore.fs:1976-1981 | Sharpino.Lib/PgBinaryEventStore.fs:2051-2056 \u2014 both copies are in the same file, so extract the block 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 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":"Sharpino.Lib/PgBinaryEventStore.fs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1916ea71cd16980ba87d07a959cfa9b20f8def98716c127fb949dae87f3e219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sharpino.Lib/MemoryStorage.fs:804-809 | Sharpino.Lib/MemoryStorage.fs:931-937 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"78806e62ecccdbea41efef00e6758d922a26ac0339bbd10a3f341164bc737054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sharpino.Lib/MemoryStorage.fs:946-951 | Sharpino.Lib/MemoryStorage.fs:968-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/MemoryStorage.fs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fa8ecb22d989db5b1e88db0cd64d846a188a089ea1c9c52ef91fb98c0906cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sharpino.Lib/StateView.fs:84-89 | Sharpino.Lib/StateView.fs:103-108 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f6c85d52e3713b8e9dce4cc444028fa93cdde9531150dc8cf18fd98fc5abdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sharpino.Lib/StateView.fs:928-933 | Sharpino.Lib/StateView.fs:986-991 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/StateView.fs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"277983f2664002120579c7044813079f98fdee8b7ea3f5042d2679087b7808c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1706-1711 | Sharpino.Lib/CommandHandler.fs:1808-1813 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bc54ceaa2c9f8472b3853d63552cdb3d80a0ae55d68339515b87cf04fddff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:5962-5967 | Sharpino.Lib/CommandHandler.fs:6044-6049 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":5962}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3279273a97fbba41ca3b6e0979344245bf7fb71d55aa50d1dc67b0b1613b1f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sharpino.Lib/CommandHandler.fs:83-87 | Sharpino.Lib/CommandHandler.fs:131-135 | Sharpino.Lib/CommandHandler.fs:266-270 | Sharpino.Lib/CommandHandler.fs:305-309 \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 \u0060Sharpino.Lib/CommandHandler.fs:83\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d66c614dbb6ba75bd4bbcaa5f2ccacba192f71adfc60cf60855e5fa6457d1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sharpino.Lib/CommandHandler.fs:4139-4143 | Sharpino.Lib/CommandHandler.fs:4296-4300 | Sharpino.Lib/CommandHandler.fs:4445-4449 \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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":4139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6c8b08ccce0ad1dbe849f9b89084d4e35efc9c9870c528213b55c6a1c96c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:136-140 | Sharpino.Lib/CommandHandler.fs: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. 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51a597255d78215202816accf40b90c97fb4aa201ec6b38ad23c866ae44b05b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:325-329 | Sharpino.Lib/CommandHandler.fs:1106-1110 \u2014 both copies are in the same file, so extract the block 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 \u0060Sharpino.Lib/CommandHandler.fs:325\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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5f0cd851f115328be94413054ed8385300483721a9625ae39ffe8089ff4486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1319-1323 | Sharpino.Lib/CommandHandler.fs:1970-1974 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6157da73890efcfe89fa7efcd6dadae4216b44d7ed79bfa1574d7e125c21670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1504-1508 | Sharpino.Lib/CommandHandler.fs:1598-1602 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa575a661ed3b7fa37e82f9b7a104aaf196922b2f000cdb4e7ec56c338a4ad80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:1961-1965 | Sharpino.Lib/CommandHandler.fs:2089-2094 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7b6987e1fd005e5111a3649f91e715d7ffb7645af2b92bc55517da1ecc5899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sharpino.Lib/CommandHandler.fs:2679-2683 | Sharpino.Lib/CommandHandler.fs:2776-2781 \u2014 both copies are in the same file, so extract the block 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":"Sharpino.Lib/CommandHandler.fs"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9c606d73f544edf54f960311555e67ac98beafa5515987408297de7cb810a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): Sharpino.Sample.15/Models/Course/Events.fs:1-28 | Sharpino.Sample.15/Models/Student/Events.fs:1-28 \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":"Sharpino.Sample.15/Models/Course/Events.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15df6ad1cdaaa7fe88caf6c8c4a0ddf9b338f65265a053e8897175eddd78c8ec"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured: The test suite couldn\u0027t be built/run in-image and no coverage report is committed, so line coverage was not measured \u2014 and it is EXCLUDED from the score rather than scored on a LoC-ratio proxy. No coverage collector was found in your CI either, so there is no existing report to hand us: add a coverage collector to your test run and commit (or publish) its Cobertura/OpenCover/lcov output anywhere in the repo, or make the suite runnable in-image, and real coverage will be measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sharpino.Lib/Cache.fs: Sharpino.Lib/Cache.fs changed 4 times in last 90 days, max complexity 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Lib/Cache.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f208ef5d0c8b766face507a5e3f1291d7909222a5e47b6e27bece4628cc3d2"}},{"ruleId":"D16","level":"warning","message":{"text":"single-maintainer \u2014 knowledge-concentration (bus factor) risk: single-maintainer \u2014 knowledge-concentration (bus factor) risk (1 author(s) across 1237 commit(s) sampled)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4b49d961df742f0e507f4cc5c8094fb077ba0391a27fd015d18320865187719"}},{"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":"559f26db0320fc9cd33d5c262077b8782286240901513cf83824b6ce3eea1df4"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ab6c36f9ba2959809d6b740f8a18ff7828f8fb8bf1e55a125029d888bdd3b3f"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03b31df8570933308505a1624e4fd5ee0390537c65b94f5898a4ad85f2c0b177"}},{"ruleId":"D30","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":"0d9eec6fa3579d9bfbc2acea0c4ea50af890d1da3d401368bce67e90fc79514a"}},{"ruleId":"D30","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":"6263a56fe3a70af87a269967837af0dd5b722c97091869d8433487b538f5d47f"}},{"ruleId":"D30","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":"93f699ae5a2e1d69df1f588d062a2fd8122f699ff99a430996bd800c6ae83a6e"}},{"ruleId":"D30","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":"db8ddf53eec178b51f98dc27066328ef04284ba5b4972d567a556b0cb219ca83"}},{"ruleId":"D30","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":"3b254cab2d477d260a22ad3ad1842871561c5a076bdc39b68ee6f2560720484a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: Categories.fs, Tags.fs, Todos.fs: 3 files \u2014 \u0060Sharpino.Sample/Domain/Categories/Categories.fs\u0060, \u0060Sharpino.Sample/Domain/Tags/Tags.fs\u0060, \u0060Sharpino.Sample/Domain/Todos/Todos.fs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 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":"Sharpino.Sample/Domain/Categories/Categories.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb70b3f491287eb52a7a4cb0c3272c0bcda51fe84043b4575e8fd5f89e82cb2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Events.fs \u2194 Events.fs: \u0060Sharpino.Sample/Domain/Tags/Events.fs\u0060 and \u0060Sharpino.Sample/Domain/Todos/Events.fs\u0060 change together 100% of the time (15 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample/Domain/Tags/Events.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e3e0b883a0dce2b9a58bcdebd4b38354b11f51008f5ab92ddffaf0a4521c3b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Events.fs \u2194 Events.fs: \u0060Sharpino.Sample/Domain/Categories/Events.fs\u0060 and \u0060Sharpino.Sample/Domain/Tags/Events.fs\u0060 change together 100% of the time (15 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample/Domain/Categories/Events.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"378a32f2d50988d9dbe959bad159c307f80ddbaa14f4d3c6b05f94af53d8a917"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Context.fs \u2194 Context.fs: \u0060Sharpino.Sample/Domain/Categories/Context.fs\u0060 and \u0060Sharpino.Sample/Domain/Tags/Context.fs\u0060 change together 85% of the time (22 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample/Domain/Categories/Context.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b559d0eef34ea43d9790f39ce350168a17deb57b7712d49657395705479c6b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Commands.fs \u2194 Commands.fs: \u0060Sharpino.Sample/Domain/Categories/Commands.fs\u0060 and \u0060Sharpino.Sample/Domain/Tags/Commands.fs\u0060 change together 83% of the time (15 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample/Domain/Categories/Commands.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7431a1d0c05f92191e9531a3904e54569ff0d22ec12e9ccafc8fded6053558bf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Context.fs \u2194 Events.fs: \u0060Sharpino.Sample/Domain/Categories/Context.fs\u0060 and \u0060Sharpino.Sample/Domain/Tags/Events.fs\u0060 change together 80% of the time (12 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample/Domain/Categories/Context.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"badba7f683bff2e04ccebf11b5d00bfc63fb30f43c00a140d7cbc95da6666589"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Events.fs \u2194 Events.fs: \u0060Sharpino.Sample/Domain/Categories/Events.fs\u0060 and \u0060Sharpino.Sample/Domain/Todos/Events.fs\u0060 change together 79% of the time (15 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample/Domain/Categories/Events.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"948d43c94f43c0967e6444dee2984c785f5687c1d642d691a8b5102f1342976c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Context.fs \u2194 Events.fs: \u0060Sharpino.Sample/Domain/Tags/Context.fs\u0060 and \u0060Sharpino.Sample/Domain/Todos/Events.fs\u0060 change together 79% of the time (15 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sharpino.Sample/Domain/Tags/Context.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"648715529343e24a165be9eea7a07d911c2692e3ae6f6c3037aaef19a712565f"}},{"ruleId":"D38","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":"97ef62e068dec6344fb04fe52367ccaa685df68c3b037ce57529ab8c3915b0f5"}},{"ruleId":"D38","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":"e6688e22a35b3fbd91309b775a13b6f1bc4949f7c39f707f0f04f45a13334a46"}},{"ruleId":"D38","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":"95c0315590b250f709c951bad5d6b86171f1b484cf5f5444c422181912f52026"}},{"ruleId":"D38","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":"127b9858db606c9fbf488cee8f6a403a07c3236cdb64a874ee02696608103ff0"}},{"ruleId":"D38","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":"31ac063f4100594a29cc5c0b08a9f474527f4b90c574b310f42fc67c5b7cf4e8"}},{"ruleId":"D38","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":"1cc6b4034b5835d5da75fb2f8d0e2c744fb357a8bbeedc24eead44e67410bd76"}},{"ruleId":"D38","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":"f529facc04a2942575b44d832404d8ca353f1d579194a563ab79d06369d997a3"}}],"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-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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":15,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}