{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Model.handleControllerFunction (cyclomatic 81): Model.handleControllerFunction has cyclomatic complexity 81 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelGameController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b182844ee520de13f2d9c9c5371cf56e5f44c1ce3747706b579831d62117083"}},{"ruleId":"D1","level":"warning","message":{"text":"QuickButtonsInnerView.body (cyclomatic 76): QuickButtonsInnerView.body has cyclomatic complexity 76 (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":"Moblin/View/ControlBar/QuickButtonsView.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b252f3bd6252848331e9e72b50e7fd89d7d0cc50a7887050d81e17eae17987"}},{"ruleId":"D1","level":"warning","message":{"text":"TextFormatLoader.load (cyclomatic 66): TextFormatLoader.load has cyclomatic complexity 66 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextFormatStringLoader.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76602e3123d7a00a96d44e416af140d8346a0810a4ba5af30eb2c65fddfad83"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionView.body (cyclomatic 59): ActionView.body has cyclomatic complexity 59 (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":"Moblin/View/Settings/Macros/MacrosSettingsView.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccff33016d610b32a79c0527574e1c294490e2b9dc2a3911aa0fe29416122527"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteControlState.applyChanges (cyclomatic 40): RemoteControlState.applyChanges has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb87efbd0eec5e6314655c79948d160bbbfefd213ea1c8126ee9385740d4f62"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.remoteControlAssistantStateChanged (cyclomatic 35): Model.remoteControlAssistantStateChanged has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControl.swift"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdb18e46acabd16adec6e209dd7026b98b865fe6c305c5bed1a0cdb46d2e6ca"}},{"ruleId":"D1","level":"warning","message":{"text":"Validate.swift.isValidUrl (cyclomatic 33): Validate.swift.isValidUrl has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/Validate.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"df133fb14958a199a54dd009f7050725008a3a05fadf023110f2fbda469b7a2a"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.applyStreamUpdateEffects (cyclomatic 30): Model.applyStreamUpdateEffects has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControlStreams.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"643221a4278a214440200172508cd3631206d2d02f0b7c5f446b1831af0dbcd5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.App (cyclomatic 30): index.App has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (index.App::updateStatusTopRight) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"94820b206dae9ebcfda90a63451c50da703a27fbb9432d5da1c3332817319b3f"}},{"ruleId":"D1","level":"warning","message":{"text":"TwitchChatMessage.init (cyclomatic 29): TwitchChatMessage.init has cyclomatic complexity 29 (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":"Moblin/StreamingPlatforms/Twitch/TwitchChat.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de31bf6ae7bfe138c61ca483c37128a1a750ce0af3cfeab2f5e19b35f03ce48"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteControlStreamConfigValidation.swift.isValidRemoteControlStreamUpdate (cyclomatic 28): RemoteControlStreamConfigValidation.swift.isValidRemoteControlStreamUpdate has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlStreamConfigValidation.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"270fba64945484f15ba7e50d9575d59c06a68eacee8fd182a37d10f63d213b8f"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteControlSceneConfigValidation.swift.isValidRemoteControlWidgetUpdate (cyclomatic 27): RemoteControlSceneConfigValidation.swift.isValidRemoteControlWidgetUpdate has cyclomatic complexity 27 (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":"Moblin/RemoteControl/RemoteControlSceneConfigValidation.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc78c31c24f18aa23e121308240853cb6e3d10bebd72d046f392e695c93512c"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.appendChatMessage (cyclomatic 26): Model.appendChatMessage has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChat.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cd8a45ca384f366177bd583c9bc0f484b7f9035fe35ecdb50fb923a5fc9906"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.handleSettingsUrlsDefaultStreams (cyclomatic 26): Model.handleSettingsUrlsDefaultStreams has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelSettingsUrl.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cd1acddf708f978b2287fa63da0610185bd5f3643753591ee3ea7b5c8bcd88"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.createStreamFromWizard (cyclomatic 26): Model.createStreamFromWizard has cyclomatic complexity 26 (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":"Moblin/Various/Model/ModelStreamWizard.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1468b316d26fb5f485d418ac3422ee0914cd94c9a633900045bf9f50a81e335"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceEffect.executeMetalPetal (cyclomatic 24): FaceEffect.executeMetalPetal has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/FaceEffect.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbf553776a62cf0db3ed00449d7900fba8944245253222676233b9b43fc989d"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamSettingsView.body (cyclomatic 22): StreamSettingsView.body has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/StreamSettingsView.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbf89211cdca7d6df51c1f4023e1ac3f854eaedf048043b5e3cea9506332ab9"}},{"ruleId":"D1","level":"warning","message":{"text":"golf.App (cyclomatic 22): golf.App has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 308, removePlayer, setPlayerName, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d1973db9f0fc53b88f8d3730e73dc34fa438a9670320af0bb9460d8472504b"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.getCameraPositionName (cyclomatic 21): Model.getCameraPositionName has cyclomatic complexity 21 (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":"Moblin/Various/Model/ModelCamera.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"1527f6102c6d6b1f290b57a50e654f103d8f5f34a0049d3fdd79374dddb4711d"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.executeIfUserAllowedToUseChatBot (cyclomatic 20): Model.executeIfUserAllowedToUseChatBot has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Model.handleChatBotMessage (cyclomatic 31) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChatBot.swift"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a68e46ca689f7c2f2ad43f4fe6729475ab506438e136c79027a242e2cc935b"}},{"ruleId":"D1","level":"warning","message":{"text":"remote.TeamColumn (cyclomatic 20): remote.TeamColumn has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 3 function items inside it that branch (controls, secScore, a function literal at line 821). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f10e56a208e4187f7c4b6deb62c675995906bd8143572a3289993d22887a48c"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.getModularScoreboardConfig (cyclomatic 19): Model.getModularScoreboardConfig has cyclomatic complexity 19 (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":"Moblin/Various/Model/ModelScoreboard.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a623093803b90b217248080406e09e6a962bd1a8b5aeef6df663684bb7df3d"}},{"ruleId":"D1","level":"warning","message":{"text":"Live2DRenderer.render (cyclomatic 19): Live2DRenderer.render has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/VTuber/Live2DRenderer.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd88b46e54ae15cc8919e830b5a30069070ce0f157ac06e8b673e329e09119ca"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatLineView.swift.makeLayout (cyclomatic 19): ChatLineView.swift.makeLayout has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/ChatLineView.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f02095f1f60b61b97ad9638b2c8c4f7d350a40beca5fa0ccefa979b05f087f6"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetVideoSourceSettingsView.swift.calculatePositioningRectangle (cyclomatic 19): WidgetVideoSourceSettingsView.swift.calculatePositioningRectangle has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/VideoSource/WidgetVideoSourceSettingsView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7a5d3f4dd69a8f1be3a1e0b45145cfa2353029c5d7b0d507c02bc9c940289a"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.registerGlobalVideoEffects (cyclomatic 18): Model.registerGlobalVideoEffects has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Model.addSceneEffects (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a42352964f7bf8808eaa6d05488febedbaae9c74c22f79d98783aae2eb45dc"}},{"ruleId":"D1","level":"warning","message":{"text":"PredefinedMessagesView.filteredMessages (cyclomatic 18): PredefinedMessagesView.filteredMessages has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"28003c7eaf503406b33dfb6337bacabf0766171e87c67e246b42ffcd27e0c8eb"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteControlSceneConfigValidation.swift.isValidEffectUpdate (cyclomatic 18): RemoteControlSceneConfigValidation.swift.isValidEffectUpdate has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlSceneConfigValidation.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83eecfa7c61c696c25552500645da6eb2fb90647d5c7b447f4b423c95db7234"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexConnection.handleStateEvent (cyclomatic 18): IndexConnection.handleStateEvent has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e9d465d2bee4b335ee912e52445fad09d967e2441c34e66879f28bd6a741c9"}},{"ruleId":"D1","level":"warning","message":{"text":"remote.App::adjTennis (cyclomatic 18): remote.App::adjTennis has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4399c8b8989142e805a46702524cdea2d510dddda8e351010f4ad40cd9ad6d09"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.tryRunNextAction (cyclomatic 17): Model.tryRunNextAction has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMusic.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f62e7f337f8b417c6cbd782f764227bfeb6bce970294daf85890f8f9f828915"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.createRemoteControlStatusTopRight (cyclomatic 17): Model.createRemoteControlStatusTopRight has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControl.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac71a1867f637a7c26332eb9f4a7d79e4edf9218c2c2dc1959e5a89684be739"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetVideoSourceSettingsView.swift.calculatePositioningAnchorPoint (cyclomatic 17): WidgetVideoSourceSettingsView.swift.calculatePositioningAnchorPoint has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/VideoSource/WidgetVideoSourceSettingsView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15aaec87f24e412f0d54e35e7f855702aff4542f0ebc9c40d53339f65367181"}},{"ruleId":"D1","level":"warning","message":{"text":"WatchProtocolWorkoutStats.update (cyclomatic 16): WatchProtocolWorkoutStats.update has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Shared/WatchProtocol.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f78a75df5a90d1cd193e87c669a559aa3dc3c29a5a8829b9ec939076217ece5"}},{"ruleId":"D1","level":"warning","message":{"text":"AdaptiveBitrateSrtBelabox.updateBitrate (cyclomatic 16): AdaptiveBitrateSrtBelabox.updateBitrate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtBelabox.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb82b734c053f70e1e43d019790e119145289207db35d0bfbea61b57d18f7a67"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.cameraIdToSettingsCameraId (cyclomatic 16): Model.cameraIdToSettingsCameraId has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Model.getCameraId (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelCamera.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a7f29c4d888552469524753a6586565954426a5a088eae1fd367bee1ec8d7a"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.isStreamLikelyBroken (cyclomatic 16): Model.isStreamLikelyBroken has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelObs.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d4d59945fbf4a71b55eea20cc3ccaca333bc274fb573d4525c0d547f8b9b7b"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.updateTextWidget (cyclomatic 16): Model.updateTextWidget has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Model.applyWidgetTypeUpdate (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControlSettingsUpdate.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"426a17c765cfed3b2d85f566ed642a3964ee04c198ebbe0ecabc79e99e914c4b"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.tryToFetchYouTubeVideoId (cyclomatic 16): Model.tryToFetchYouTubeVideoId has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelYouTube.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"169bebb5439c7242e2572ed424d8e0546a456559ab2b60308f7f0cb05a7ff2b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Live2DRenderer.init (cyclomatic 16): Live2DRenderer.init has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/VTuber/Live2DRenderer.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d75ebc7381e97132557e6b14b2134d27ac82cc46250a8046f02f9b459591b72"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.body (cyclomatic 16): SettingsView.body has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/SettingsView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d886807b29c6571deeb7aa2a6645f0511f619481ec00f8be7d6119a74cc985"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatLineStyle.makeContent (cyclomatic 16): ChatLineStyle.makeContent has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/ChatLineStyle.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ffbf2a0cac160ab7c96c587071a30011eaa9d23161cd33a4c9adf4d3bb7933"}},{"ruleId":"D1","level":"warning","message":{"text":"WidgetScoreboardSettingsView.body (cyclomatic 16): WidgetScoreboardSettingsView.body has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardSettingsView.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccf1a3aee6aca8aba6c17b25e76c05c0b6794010c3eab5686bb24be56ce98b8"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteControlStreamConfigValidation.swift.isValidVideoUpdate (cyclomatic 16): RemoteControlStreamConfigValidation.swift.isValidVideoUpdate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlStreamConfigValidation.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b263dde598ba29ed42e69da321cbc21e2ac53ad103b4ef9a9217c72f56e134"}},{"ruleId":"D1","level":"warning","message":{"text":"index.App::updateStatusTopRight (cyclomatic 16): index.App::updateStatusTopRight has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (index.App) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5977e9afb9d7881db8f3df3dd1ca1393f9dfe63e9eaa5975c273e1233bb56bd"}},{"ruleId":"D2","level":"warning","message":{"text":"index.App (cognitive 84): index.App has cognitive complexity 84 (threshold 15). Drivers by points: if/else 66 (67 pts), ternaries 10 (11 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 3). Of this number, 31 points are the body\u0027s own statements and 53 belong to 20 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"97265b3239dd585f651fa4b62d22e2bd8abaf6c0b6b3515bb585760139de401f"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.handleControllerFunction (cognitive 80): Model.handleControllerFunction has cognitive complexity 80 (threshold 15). Drivers by points: if/else 33 (66 pts), ternaries 4 (8 pts), boolean chains 5, match/switch 1 (nesting depth added 37). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelGameController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b5ef3fe1f5cecbf70f87a6aadeaace79fec42215a855ebde1bf12b69d0895c"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlState.applyChanges (cognitive 77): RemoteControlState.applyChanges has cognitive complexity 77 (threshold 15). Drivers by points: if/else 57 (76 pts), ternaries 1 (nesting depth added 19). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2698d07b82fba32b69ad466ba06dfb199aa370e673db12dadf1a3c9fad9032e"}},{"ruleId":"D2","level":"warning","message":{"text":"TextFormatLoader.load (cognitive 69): TextFormatLoader.load has cognitive complexity 69 (threshold 15). Drivers by points: if/else 60 (62 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextFormatStringLoader.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"5904e111fc469531f069aabab8c9ef972bf8705777c5c2eeb64384b750553a78"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.handleSettingsUrlsDefaultStreams (cognitive 58): Model.handleSettingsUrlsDefaultStreams has cognitive complexity 58 (threshold 15). Drivers by points: if/else 23 (55 pts), boolean chains 2, loops 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelSettingsUrl.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1372337bd5b8b1306a4b22731732e2f8a6cfecac21ce9c8d7984fd2dd4a3010b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatLineView.swift.makeLayout (cognitive 38): ChatLineView.swift.makeLayout has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 4, loops 3 (4 pts), match/switch 1 (2 pts) (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":"Moblin/View/Utils/ChatLineView.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d51d095ec1422b568a11650eb250fe3dcb7e3ddcd2c5b3530d0e7efa8e0bc3e"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.executeIfUserAllowedToUseChatBot (cognitive 35): Model.executeIfUserAllowedToUseChatBot has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 7 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChatBot.swift"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7c42f7f5e12563cd27f00934432a45d444819c87fbfa79a936ff38e2762eea"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionView.body (cognitive 34): ActionView.body has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 3 (6 pts), match/switch 4 (5 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Macros/MacrosSettingsView.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"379218d4269d657bac111375861fe0e986cec04253233c88b930a6764900e64c"}},{"ruleId":"D2","level":"warning","message":{"text":"Validate.swift.isValidUrl (cognitive 34): Validate.swift.isValidUrl has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 3, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/Validate.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0c56f3b8932f3900106de39ad2cc43973ab72c0eeec54931e1e916bfefa23e"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.appendChatMessage (cognitive 32): Model.appendChatMessage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 10, loops 2 (4 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChat.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5594db4d4c7dccb81c6d34e2a60f9f5d7706dd966469529657e37b102e3a9c62"}},{"ruleId":"D2","level":"warning","message":{"text":"xcstringslint.main (cognitive 30): xcstringslint.main has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (6 pts), boolean chains 3 (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":"utils/xcstringslint.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bf6c8d94b3b4be8ad7a114d7901813ac1c158fa4715b749ff8b220c85ca636"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.applyStreamUpdateEffects (cognitive 29): Model.applyStreamUpdateEffects has cognitive complexity 29 (threshold 15). Drivers by points: if/else 27, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControlStreams.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5b59a82e943fc9ea36e95a7cae140a79a118bac1a15ed0665280205ed093d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.tryToFetchYouTubeVideoId (cognitive 29): Model.tryToFetchYouTubeVideoId has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelYouTube.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fb9db21cc84893a845bac192e88e0b95c393735fe4d8d4493c928a800a0bd4"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubeLiveChat.handleGetLiveChat (cognitive 28): YouTubeLiveChat.handleGetLiveChat has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2c6525642cf02a8e34862e6c642c1b97aac519ab5fb5b622cb92cbde7016a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.isStreamLikelyBroken (cognitive 28): Model.isStreamLikelyBroken has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (25 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelObs.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7deb9562c6b578384af7ac235ced2f5e331176bdc5edad1c4af52ee21bd5004"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlStreamConfigValidation.swift.isValidRemoteControlStreamUpdate (cognitive 27): RemoteControlStreamConfigValidation.swift.isValidRemoteControlStreamUpdate has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 27. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlStreamConfigValidation.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"380c475983e38d4320996a130503784c3c0dc29aecad602961bbe2079ee7dd10"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.handleChatBotMessageMusicStatus (cognitive 26): Model.handleChatBotMessageMusicStatus has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChatBot.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"891de5b317df48c6165ce894740c2cfe5fdfa63355bd299f9b7d216618e0908b"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceEffect.executeMetalPetal (cognitive 25): FaceEffect.executeMetalPetal has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (10 pts), ternaries 3 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/FaceEffect.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9242741344255ae9e98fd033c52800ccb969e04e4c2c5cefd1ff893e89aa7ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpRequestParser.parse (cognitive 25): HttpRequestParser.parse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Network/HttpServer.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6585a022ed32c51149c61e6704bd6faf77936520d932a4eefc885ffb41501d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Live2DRenderer.init (cognitive 24): Live2DRenderer.init has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (7 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/VTuber/Live2DRenderer.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67e1d4719c391ebe9daa847b90c6a88f745800d453dbb96c4cad0e4bc95135c"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTubeLiveChat.handleChatDescription (cognitive 23): YouTubeLiveChat.handleChatDescription has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d935ed7cfe3f9d7e6c9766cae892559dcadc3c699fd778cf98748c378cfda2"}},{"ruleId":"D2","level":"warning","message":{"text":"Live2DRenderer.render (cognitive 23): Live2DRenderer.render has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, loops 4, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/VTuber/Live2DRenderer.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c7acfd351b354d694ff76c1fa4bb7d206d80c26cb133c5e1fadff72a3595d9"}},{"ruleId":"D2","level":"warning","message":{"text":"PredefinedMessagesView.filteredMessages (cognitive 23): PredefinedMessagesView.filteredMessages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 9, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4108bda1d6cf5db55e0a1bd16301f98bd2010efc28db801a5a4decd79ecdc3e"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetVideoSourceSettingsView.swift.calculatePositioningRectangle (cognitive 23): WidgetVideoSourceSettingsView.swift.calculatePositioningRectangle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 2, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/VideoSource/WidgetVideoSourceSettingsView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84fbda8ea022d4602b679844c0bfe5c069ea72ef11faaa38b4e3edd0fbf64f9"}},{"ruleId":"D2","level":"warning","message":{"text":"remote.TeamColumn::controls (cognitive 23): remote.TeamColumn::controls has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, loops 2 (4 pts) (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":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ac553ea65099a0adee03a581ccad8979291cfa773cc2bfb2be4dffd1bafff3"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchProtocolWorkoutStats.update (cognitive 22): WatchProtocolWorkoutStats.update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Shared/WatchProtocol.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee61987579944e0eebb70d2a2a43e6400bc92bab5b4b11db42fbf523929808d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.remoteControlAssistantStateChanged (cognitive 22): Model.remoteControlAssistantStateChanged has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControl.swift"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"987b8e5604ad6e4aa6f01eddfd5157dcfadd59912eeb1de3fb825489a4f2023e"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.createStreamFromWizard (cognitive 22): Model.createStreamFromWizard has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, match/switch 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelStreamWizard.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"be744509caa2089eb35ae53405601ca4470f02d82fc66becdd3e36148e983b3f"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoEffectsProcessor.getBufferPool (cognitive 22): VideoEffectsProcessor.getBufferPool has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, ternaries 1 (2 pts) (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":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"646036fcefb29946a349f584fb5075cbb577fc26246b228dc31a7e507a8a02c8"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitchChatMessage.init (cognitive 21): TwitchChatMessage.init has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (2 pts) (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":"Moblin/StreamingPlatforms/Twitch/TwitchChat.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6924fca77da3634b7fb08bf50e6eb1054b23e3db9f37ae6f3203cc888383c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.updateStatusChatText (cognitive 21): Model.updateStatusChatText has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (21 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChat.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7903e44f1425f00355d38f0c69c4575e27db84edfd5a4b313b8a79b8cff0e18d"}},{"ruleId":"D2","level":"warning","message":{"text":"IPMonitor.getIpAddresses (cognitive 21): IPMonitor.getIpAddresses has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (13 pts), ternaries 1 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Network/IpMonitor.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f574793a502f2ee2e03f82ca8222e1298ebd1bdf2e0a113489aadcfc93a47727"}},{"ruleId":"D2","level":"warning","message":{"text":"TextView.body (cognitive 21): TextView.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextEffect.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"863121aaad51b81eb6b0f7efa3f33a9b0c58620159db911eda0d18121db4f10e"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoCaptureSession.attachDevice (cognitive 21): VideoCaptureSession.attachDevice has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 2, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoCaptureSession.swift"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d645b08a187fd79bd0cb53cf4da2a463a416396c6a8a6dbe2bc1c74b777562c"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamSettingsView.body (cognitive 21): StreamSettingsView.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/StreamSettingsView.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cf7cf2f2b46b80337d96fa8bd2ffac76743c79060234ada861891510adbe81"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.autoSwitchMicIfNeededAfterRouteChange (cognitive 20): Model.autoSwitchMicIfNeededAfterRouteChange has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAudio.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f770cf345580f0a1b3aae3cf236d982d4dd96dda510fc8baf8bc80b3bb63c4"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickButtonsButtonSettingsView.moveUp (cognitive 20): QuickButtonsButtonSettingsView.moveUp has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (QuickButtonsButtonSettingsView.moveDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f3dd10f45568bfc778aa77bf501c14c55914f805164d6ab9f981e3000b602"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickButtonsButtonSettingsView.moveDown (cognitive 20): QuickButtonsButtonSettingsView.moveDown has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (QuickButtonsButtonSettingsView.moveUp) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a89a88de82feb4428e0a732cca29e7aafc8ceb4c73e389f7f150bd6dc3a9947"}},{"ruleId":"D2","level":"warning","message":{"text":"golf.App (cognitive 20): golf.App has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, ternaries 7, boolean chains 3. Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 308, removePlayer, setPlayerName, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd95555ccca85b6b66a2e575aafad05229917615d20b713b2cdbcde41282b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"remote.App::adjTennis (cognitive 20): remote.App::adjTennis has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (remote.App::nextSet) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23ae94193d6a0549407bfb1d1e1ffaa792ae34e7fad9cfa5187c393c328045a"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaPlayer.handleOutputTimer (cognitive 19): MediaPlayer.handleOutputTimer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts) (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":"Moblin/Various/MediaPlayer.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5189b8232955b952843d2eeb586d172a1673a0a007584a8e438320586f39517"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.updateSpeed (cognitive 19): Model.updateSpeed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (19 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelStream.swift"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc0495e1aecbba16a13e28e39e86e4dc85b25e34909257c5704b923a7c0ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsChatFilter.isMatching (cognitive 19): SettingsChatFilter.isMatching has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1, loops 1 (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":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9125a90c02c4a073377a67683abcd1096b1f1a08c8b724afcab9cc482740f16b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatLineStyle.makeContent (cognitive 19): ChatLineStyle.makeContent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, loops 2 (3 pts), ternaries 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/ChatLineStyle.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1d85d1d0653722884e99c174fd0c50ee40da8495f77f5ad546f05169e98480"}},{"ruleId":"D2","level":"warning","message":{"text":"MusicView.body (cognitive 19): MusicView.body has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"2296541d6c47ebfc1d415582c483c0fe0340a3cf77718f2668530b79371ceb16"}},{"ruleId":"D2","level":"warning","message":{"text":"RightOverlayBottomVerticalView.body (cognitive 19): RightOverlayBottomVerticalView.body has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RightOverlayBottomHorizontalView.body) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/StreamOverlayRightView.swift"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb38885c1a3984d9ea1f193420b3b78294b881b5b802b492df24a2cd6467fe6b"}},{"ruleId":"D2","level":"warning","message":{"text":"RightOverlayBottomHorizontalView.body (cognitive 19): RightOverlayBottomHorizontalView.body has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RightOverlayBottomVerticalView.body) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/StreamOverlayRightView.swift"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c64bc7b8daa9b46b7ad43c73ba58d80c2a70e27e14591ae0ebf999912abefa"}},{"ruleId":"D2","level":"warning","message":{"text":"RightOverlayBottomView.body (cognitive 19): RightOverlayBottomView.body has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/StreamOverlayRightView.swift"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5df6c82d38aafb917b57ef9db45b50d00cef4a9d2afbccf7d1bb5a214dadc7"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneEditorCanvasView.outlineView (cognitive 19): SceneEditorCanvasView.outlineView has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (15 pts), boolean chains 2, if/else 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/SceneEditor/SceneEditorView.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86bb4bb31a7896fad7a5a9cb1c1b8a51a69311a171dddea8d70c4fba3d84577"}},{"ruleId":"D2","level":"warning","message":{"text":"SoopChat.receiveMessages (cognitive 18): SoopChat.receiveMessages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (5 pts), loops 1 (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":"Moblin/StreamingPlatforms/Soop/SoopChat.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc102dd1cf27ef47ce5a15f3a5beba76b920b6b13607e0380f7e6d72ec5f730"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.sendRemoteControlAssistantStatusToWatch (cognitive 18): Model.sendRemoteControlAssistantStatusToWatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe1dcd79f283d909e777cd9e0a6772739748256487c2cf4ed69c168c93b2f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.createRemoteControlStatusTopRight (cognitive 18): Model.createRemoteControlStatusTopRight has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17 (18 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControl.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"33966f8cd8927fab7a770a60eea6251bc173217353123e4d53c8ffe9f6a4df17"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.registerGlobalVideoEffects (cognitive 18): Model.registerGlobalVideoEffects has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c7ee937caaa894035ae3b30597c198292f859bb763d07c3c3911fa2c761d46"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpResponseParser.parse (cognitive 18): HttpResponseParser.parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Network/HttpClient.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca3ab913c18d4cb1fe18b217bf67e2abcb1442a06b10f984e0c3fd77fc9d919"}},{"ruleId":"D2","level":"warning","message":{"text":"TextAligner.update (cognitive 18): TextAligner.update has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Subtitles/TextAligner.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"631582413caa70d37120d1924420a3c654fe7c48bb4506e3643bdf52e7322dad"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.body (cognitive 18): SettingsView.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/SettingsView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2c7318d7515711df88e930aa4ce327591235ef1860824243128875d2814ebb"}},{"ruleId":"D2","level":"warning","message":{"text":"SrtlaClient.handleNetworkPathUpdate (cognitive 18): SrtlaClient.handleNetworkPathUpdate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/Srtla/Client/SrtlaClient.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfc2b39ab6a9c7dc49cace7e0548b694e34cb4ac585f97237aee819d777d7a5"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferedAudio.getSampleBuffer (cognitive 18): BufferedAudio.getSampleBuffer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7731c09bb7cc426cdab52040aa1886cecf27cf7bd687bc6c51bad92047d8ae"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoEffectsProcessor.needsFaceDetections (cognitive 18): VideoEffectsProcessor.needsFaceDetections has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2, match/switch 1 (2 pts) (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. This shape REPEATS in the file: one other method here (VideoEffectsProcessor.needsTextDetections) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7a404d9beb300326479b1786cfb30a04ca66672e048121f023e9b759442310"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoEffectsProcessor.needsTextDetections (cognitive 18): VideoEffectsProcessor.needsTextDetections has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2, match/switch 1 (2 pts) (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. This shape REPEATS in the file: one other method here (VideoEffectsProcessor.needsFaceDetections) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dee4f57fb30d413ef75fd87b4c607d9bc25023973ba741186d282309d50c25"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexConnection.handleStateEvent (cognitive 18): IndexConnection.handleStateEvent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62b60e20e12518fd0b03fd714dcd4c57e5290d328df39e16aa9d588014ed937"}},{"ruleId":"D2","level":"warning","message":{"text":"remote.App::nextSet (cognitive 18): remote.App::nextSet has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (remote.App::adjTennis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b56a3d7807a63a7502c518fc3fa26b291f83be36a656332814cd89a4f3c7c7"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkoutDeviceCrankCadence.update (cognitive 17): WorkoutDeviceCrankCadence.update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/WorkoutDevice/WorkoutDeviceCrankCadence.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b266dc546a6d95ff699ec7828569a1adee98680b5b553e2ea14e17bf5a09dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.sceneUpdatedOn (cognitive 17): Model.sceneUpdatedOn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 5, boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ced150c7177bed273beef552fe4f4d527694a156e1e20c2e8f9b711781e797"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickButtonsInnerView.body (cognitive 17): QuickButtonsInnerView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButtonsView.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"9073d97a6744d391e7686285236ab3be75f45f258b43b4d7b12df0af06813aa9"}},{"ruleId":"D2","level":"warning","message":{"text":"SrtSender.handleNakPacket (cognitive 17): SrtSender.handleNakPacket has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Srt/SrtSender.swift"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdd51620d6314a37b99a60890a6ce67935e9a0fed23bf8adbc98a8565edea45"}},{"ruleId":"D2","level":"warning","message":{"text":"DjiDeviceRtmpSettingsView.body (cognitive 17): DjiDeviceRtmpSettingsView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd74299a8876689133df81ad31d46f0919e85ce7b35f666a0e2b2d1e0d66e0aa"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoRangeRelabeler.relabel (cognitive 17): VideoRangeRelabeler.relabel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoCaptureSession.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd16391073430f59d9424293d31ba3446c2d9059f3ce9746313e5bfab419348"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertsPostView.body (cognitive 17): AlertsPostView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ce70d00134d979164d69a9e9eae2af982688f3dafd747e27781e233dd0a600"}},{"ruleId":"D2","level":"warning","message":{"text":"WidgetVideoSourceSettingsView.swift.calculatePositioningAnchorPoint (cognitive 17): WidgetVideoSourceSettingsView.swift.calculatePositioningAnchorPoint has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/VideoSource/WidgetVideoSourceSettingsView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0ec93d4342d7bd5d0b99cd4cd9a173d8dff3d4eda832956a84522c8dbc199f"}},{"ruleId":"D2","level":"warning","message":{"text":"GoProBleMessageAccumulator.append (cognitive 16): GoProBleMessageAccumulator.append has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/GoPro/GoProBleProtocol.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe015d1ecbbc38906bff87a730a7eebd97bfb541a0008f5f51c288f3f48802d"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkoutDeviceCyclingSpeedCadence.updateSpeed (cognitive 16): WorkoutDeviceCyclingSpeedCadence.updateSpeed has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/WorkoutDevice/WorkoutDeviceCyclingSpeedCadence.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b56fcb0d405170d1ff1f06930cf039376ce9989f071aad8f04bb8b17bb8f78d"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.sendInitToWatch (cognitive 16): Model.sendInitToWatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 1 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b76f6f948e62c0df10d368e2a0a87f951423f33279258a4a34076231549523"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.cameraIdToSettingsCameraId (cognitive 16): Model.cameraIdToSettingsCameraId has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelCamera.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b276a63eb85a815288bd0a9c1715dbe4bf0c9892ab9a1d58667e16462a38a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.updateTextEffects (cognitive 16): Model.updateTextEffects has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (5 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6677f5215e5fe83eabd0e0e38e4a8c8747ea3dd0559f383f2cd015974007b2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.getModularScoreboardConfig (cognitive 16): Model.getModularScoreboardConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScoreboard.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d992115de2da3ffe557eeaa9652948f0c5d0496d6bda903d7fa05c24f9fdcdbe"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.handleSettingsUrlsDefaultQuickButtons (cognitive 16): Model.handleSettingsUrlsDefaultQuickButtons has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelSettingsUrl.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bbd80391b5774d102f5b75347cf209a45236d20aeabb71ad6277cd2f254ff8"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoreboardEffectModularView.stackedHistoryTeam (cognitive 16): ScoreboardEffectModularView.stackedHistoryTeam has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Scoreboard/ScoreboardEffectModularView.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db40b7a89473e49c2dcc687201fc2a262f516cb1464afd8ba75d03ebbaef0d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Recorder.createAudioWriterInput (cognitive 16): Recorder.createAudioWriterInput has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (8 pts), match/switch 1 (3 pts), if/else 2, loops 1 (2 pts), boolean chains 1 (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":"Moblin/Media/HaishinKit/Media/Recorder.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c924630303d9b885b81f0627787533e3e1731cca709c034886a36eb6eae81a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"WhipStream.handleAudioEncoderOutputBuffer (cognitive 16): WhipStream.handleAudioEncoderOutputBuffer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Whip/WhipStream.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9826ad3928934ea3450678ac0fe4249d778b478db4b4919756c88ae1bf9c07a"}},{"ruleId":"D2","level":"warning","message":{"text":"GoProDeviceRtmpSection.body (cognitive 16): GoProDeviceRtmpSection.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/GoPro/GoProBleDeviceSettingsView.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced129aa1353830b377f0ac9159df31407f749f3426f76824526ab2d89a77cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoUnitAttachParams.canQuickSwitchTo (cognitive 16): VideoUnitAttachParams.canQuickSwitchTo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bd5990d545c711399550645ca028e46bf43f92ca795d86a9a0f2071add58b0"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamYouTubeSettingsView.body (cognitive 16): StreamYouTubeSettingsView.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 1 (2 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/YouTube/StreamYouTubeSettingsView.swift"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bbd491b61dba926938c3829bc9c6c99ae75ebd86e629d12960371368a7c952"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlSceneConfigValidation.swift.isValidRemoteControlSceneUpdate (cognitive 16): RemoteControlSceneConfigValidation.swift.isValidRemoteControlSceneUpdate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlSceneConfigValidation.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c574f03ae64c3707cd6e4566dad771b9922914feda7392e8d37ae85999652a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"Settings.swift.addDefaultBackZoomPresets (cognitive 16): Settings.swift.addDefaultBackZoomPresets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63dae4d8da5d50a81cbe7ee9a127b9f914a74ebc15d3cc43424f5f53649915f"}},{"ruleId":"D2","level":"warning","message":{"text":"Batch.apply (cognitive 16): Batch.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), boolean chains 1 (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":"utils/translate.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc9b87a68db93c9d11946e09b8cf57b2c8d73521b757a3193dca3e79fa5a1e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Model: TooManyMethods \u2014 2016 methods, declared across 77 files: Model/Model.swift (252), Model/ModelRemoteControl.swift (211), Model/ModelScene.swift (170), Model/ModelTwitch.swift (110), \u002B73 more file(s). The bar is 30 methods; this is 1986 over it, 67.20\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"Moblin/Various/Model/Model.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"6344fea5c5b72bc90a9673e84dbb30e1cabe89d384bca5df011f28e16dafb5e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/SettingsScene.swift: FileTooLong \u2014 3395 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2895 over it, 6.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb69a20a2ed0874f0051ce9cbb29e10a32c21686631282bdb01a9777f96fcab5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.App: FunctionTooLong \u2014 App runs 583 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 483 over it, 5.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6570aad139c8d588228a76dc8d76f17e4962392030bd062f6281212687e8aab0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Model: ClassTooLong \u2014 2206 significant lines (blank, comment-only and punctuation-only lines excluded), 2016 methods. The bar is 400 significant lines; this is 1806 over it, 5.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c447f19208e33d6b4877452bb01a6ddf42f0a1a3776f939b1bb201bd11ffbe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuickButtonsInnerView.body: MethodTooLong \u2014 body runs 536 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 436 over it, 5.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButtonsView.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b235b47ad982628ef60c2709e8a83921b0159848db80e1af6823a96046d0255"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/Model.swift: FileTooLong \u2014 2603 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: Model (471-3465). The bar is 500 significant lines; this is 2103 over it, 5.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39333471eb5098540d6fd3093d4c2b8c2eb0f8e1b42a8be7650c09e7f506895"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Media: TooManyMethods \u2014 148 methods. The bar is 30 methods; this is 118 over it, 4.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Media.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3b51dd18205be85746d5a73912d47a73574776030b49c82fd8199e10da7892"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote.App: FunctionTooLong \u2014 App runs 493 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 393 over it, 4.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6482595f4f4c635b1e61b35ab9caa94ecf64e86df83e7a4e9f66ee0f112411d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/Settings.swift: FileTooLong \u2014 2005 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1505 over it, 4.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2aad376fde8f4051a1dfb20fa5290cfea7629a898408ecb1870a0097629788"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteControlAssistant: TooManyMethods \u2014 111 methods. The bar is 30 methods; this is 81 over it, 3.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb7a6f25b6f3f37a567988c4ff9551def2deb4491dc79fdd5bef4651a92728b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: golf.App: FunctionTooLong \u2014 App runs 337 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 237 over it, 3.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"583be0007a1aa545c630ade1f3e5d40a5551ca95a3fe2453c5f3796abadab5f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/SettingsStream.swift: FileTooLong \u2014 1543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1043 over it, 3.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsStream.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3966b2b76e49f51e4f44bffe168ffd7a371766a3d7f50093765510b6d6de98be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MoblinCloud: TooManyMethods \u2014 90 methods. The bar is 30 methods; this is 60 over it, 3.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7f45fcae8fb5eb9b2867d54b3b6f959200064fb49f84956fb0f387b88eabb4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActionView.body: MethodTooLong \u2014 body runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Macros/MacrosSettingsView.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b46e1617f14ea0c8b01729dab91a37d3abae1ab6062f6f5e2e2cd59ef0a0405"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelScene.swift: FileTooLong \u2014 1330 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: defaultScoreboardSize (49-1941). The bar is 500 significant lines; this is 830 over it, 2.66\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ccadaf4e7090f66462e644e09f6d7c3ff2555e2d6201ba524acbbc100e3aed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WatchModel: TooManyMethods \u2014 77 methods, declared across 2 files: Various/WatchModel.swift (56), Various/ModelScoreboard.swift (21). The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"Moblin Watch/Various/WatchModel.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ad2fdb11af26192df9322373712e15a79cfbd11a4c2d39a0ab0f5790129dac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VideoUnit: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5063049caacac2fcdc5039d7eddedc281d788445a1ee144f515e4ac7e13516a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RemoteControl/RemoteControl.swift: FileTooLong \u2014 1225 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 725 over it, 2.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab6f01ac1b7f8b68e22590f368778aff72dd75abe7a5ed644d076f7043f2912"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteControlStreamer.handleRequest: MethodTooLong \u2014 handleRequest runs 245 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 145 over it, 2.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlStreamer.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"01833b73d8859717ecaf83bf4fed911fa9076497f83033cf23f1ee422039937b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Text/WidgetTextSettingsView.swift: FileTooLong \u2014 1223 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 723 over it, 2.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98fd348df6dd95616e47e654a2e2b5bd319594faf8dd0e7018dfcac64b022f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Processor: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Processor.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dd86db876b0c44fe2c028b30cbc98798c67a5139490fe7234950184c04b41a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelRemoteControl.swift: FileTooLong \u2014 1181 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 681 over it, 2.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControl.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de83d4169f2d5996d3dbfe2bde078e022d7c205ab44ff81b237f7622ab57d1ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextEffectFormatter: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextEffectFormatter.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ba9265fe70415271916adb688a426b604409c0aa4495252779e181f332a9fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuickButtonsInnerView: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButtonsView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe0aeb7397b9c8dbac12bdf07a38a3d91c27efd9f57535efebde79b74bf9708"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Various/Media.swift: FileTooLong \u2014 994 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: Media (43-1098). The bar is 500 significant lines; this is 494 over it, 1.99\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Media.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d91b12a9f23f268d0d2700cae9c617ae3d76cc13d44dbbf681d5e8f6fd725ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsView.body: MethodTooLong \u2014 body runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/SettingsView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3503893ad8d93ee9c186035aec5fc5c685c6b47a853d9564ddce7edace62858"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelTwitch.swift: FileTooLong \u2014 949 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 449 over it, 1.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f244b1a2a63a7e65147894287aa3a710ea0d81e7be05552568ad55f0f9efcfa1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Media: ClassTooLong \u2014 751 significant lines (blank, comment-only and punctuation-only lines excluded), 148 methods. The bar is 400 significant lines; this is 351 over it, 1.88\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Media.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6213cda8004d5243029969f44c971a14a845a7e4873d908005ea78f2beeeb8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.setup: MethodTooLong \u2014 setup runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"030c611fae7aba654d5c5859ac80549d1f4c83facf25356288633c687db0fb9f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QuickButtonsInnerView: ClassTooLong \u2014 714 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 400 significant lines; this is 314 over it, 1.79\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButtonsView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"493b4c2ca6561eab1239ac75a02e6d0996e543f0b2f86c859a15833c9ab28c2a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlertsEffect: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b3d1a8f7e92b9387852ae84224a2675e064097bea5a8912596a19af37abae4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ObsWebSocket: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59ea615df2736c9d28d92b3f14ff3a5b412041496fab1838e23da85f48f4872"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TwitchApi: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3279b0524929e26bc6f3fdea662436ca39067503af981ffbd76a7b7ab28a5649"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/SettingsChat.swift: FileTooLong \u2014 845 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 345 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4fe2797035671bf2e83515dea758b52acdc72a073ff4a11fcc5a9596c26ae9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ControlBar/QuickButtonsView.swift: FileTooLong \u2014 832 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: QuickButtonsInnerView (140-1145). The bar is 500 significant lines; this is 332 over it, 1.66\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButtonsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d19044b01b7ec28644aa2909949b154a5457585f8ea67245c2ea400109c605"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VideoUnit: ClassTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded), 75 methods. The bar is 400 significant lines; this is 261 over it, 1.65\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"914a57c2bc7b541b8b5e187a9650b0ad0c154b26f2c0e40d8ee6ef37e107279b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WidgetTextSettingsView.body: MethodTooLong \u2014 body runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"511c8c15ef1c4f677ff9878c02ae008299982fc5978137e69c451864d5d5c3c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsStream: ClassTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 248 over it, 1.62\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsStream.swift"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1078b76a345401c47ad38bbbf277ff4ee39a89d98297cf33f7ef8f91a6158eb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebSocketConnection: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/utils.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f811e839ed79b580dc88bf85199af2bf45169c03bfb6e4970af5270268c1787"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelStream.swift: FileTooLong \u2014 791 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 291 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelStream.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d3d68d177276d0f88c84befa14c8667e4c87d5671428757e9ab48be6c2033a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/remote.tsx: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: App (65-683). The bar is 500 significant lines; this is 290 over it, 1.58\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75b2471f921208845ee948dd22d22701f11dc603be0faa5dea753b36290f68d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 285 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f913e34cafaa10859561b39549e6bb24e98ad9cda211710bee661fa15f0a5bfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Video/VideoUnit.swift: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: VideoUnit (121-1063). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94ac5867b18506e6d0e60b39c23660d007cbbfb20a1dd212af4fdb761b108d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Alerts/AlertsEffect.swift: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: AlertsEffect (52-698). The bar is 500 significant lines; this is 268 over it, 1.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e16cd9520db14ed29ff9f5fd7f666e0d6628348d9dc38402b787aedee2c7025"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CatPrinter: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/CatPrinter.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d74b3d2c49d47b85acd5744fa081336d495ac593cbcaf6174ae8b1e36ddae4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelChatBot.swift: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 254 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChatBot.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6007cd1fe2fb6e94e8098e90e5456db1280e43a4ec2e64c16d1fd960c107a0e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GoProDevice: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/GoPro/GoProDevice.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e9102d9b30ab6566113db962a22c99b1938a21aa5a74ab2c88a48c60936641"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TwitchEventSub: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchEventSub.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99ebcdd400dd5b570b7dd9eb2059701d879c63ba53fa54ba447321fb051a90a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Settings.swift.addMissingQuickButtonsPageThree: FunctionTooLong \u2014 addMissingQuickButtonsPageThree runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a131c1476b49fd56e34b3eda5402e7d82d67bd83bed7abdfbffbd693d77e36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RtspClient/RtspClient.swift: FileTooLong \u2014 729 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 229 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"070e08b811968a0341ad52d7232a9de8ca8c6fd9c0ccd208d216ad1463cd608f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Obs/ObsWebSocket.swift: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 228 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97e675e0942799af7f2190607f4bdeb760dfbbf0b8d84e83dd3e56ff69b611b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote.TeamColumn: FunctionTooLong \u2014 TeamColumn runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"192c256a21d52d3b6fbb41c1df3e97a4d05ea2f0148a9af249aa68f495e76ab4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TeslaVehicle: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Tesla/TeslaVehicle.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4541dc5bcebf54aa0ce510cb1971dbb3af1f58fa264576424baafd42818451"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteConnection: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/Srtla/Client/RemoteConnection.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"daee7124b1f1fe4d896024987611b5472fb15cd1c5d8546b901b3607ef38c5fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/index.tsx: FileTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: App (127-859). The bar is 500 significant lines; this is 216 over it, 1.43\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14882d440a436c2b46ee9dccf3ea8a06cbdc9fdc59e6efe80c8933ef0aa27ba1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelCamera.swift: FileTooLong \u2014 711 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: backWideDualLowEnergyCamera (125-962). The bar is 500 significant lines; this is 211 over it, 1.42\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelCamera.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a5dc51d4e97c451577973e4d3b64e1e58b289a5fdf65b0ae0796d57e56f9d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamSrtAdaptiveBitrateSettingsView.body: MethodTooLong \u2014 body runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Srt/StreamSrtAdaptiveBitrateSettingsView.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d260d3d9214981c2edd6236538104fa0e7a5bb1a758886bcc116b6903e6e2d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Twitch/TwitchEventSub.swift: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 196 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchEventSub.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aca562ba31d739780cfc005c64615def47b79ea18b5bf7422261e2167abdad2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SceneEditor/SceneEditorView.swift: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/SceneEditor/SceneEditorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"488cd54ca6d2d83720a14030ef7e02391b564b82b87848f5b0064620d66bf233"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteControlWeb.handleRequest: MethodTooLong \u2014 handleRequest runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlWeb.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"740f542cc7d745cc5e14ccae9bd85e52309ffcbb5bbc1173e43af2231410552f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Database.init: MethodTooLong \u2014 init runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ae5b3aa3178236d80ff8399a144bef5f47053961d6de24b7f416288558d4d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextEffectFormatter.format: MethodTooLong \u2014 format runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextEffectFormatter.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d977a02b6135ee027e2cb31a05aeea75f289d5a1947a2ec76482bd5c3cb2c4b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamSettingsView.body: MethodTooLong \u2014 body runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/StreamSettingsView.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbde9c586c5488fdf5d3c7dbabfbae8c3db74cf04553eda7efe5217566a67e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsQuickButtonType.toString: MethodTooLong \u2014 toString runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsQuickButtons.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e63e19749b5f83ac1851b6fd6fad8d12815baf53005a95ec0da399fea1f1d74"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MpegTsWriter: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b60da2b68ce2394a341090085cfc735f312e80a07de2f5e83025e117d54493f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteControlAssistant: ClassTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), 111 methods. The bar is 400 significant lines; this is 132 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3691dcadf6d44464d10ac442b509d2182ffaf257c7918eb631c7d5b485ea431d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelScoreboard.swift: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: configs (258-836). The bar is 500 significant lines; this is 147 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScoreboard.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca8a41e49616712c393370a0d0ad8602447897bdc6af8a281667dd5023491cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamWizardNetworkSetupDirectSettingsView.body: MethodTooLong \u2014 body runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ecf3de1023d33b6880ed192df91be50fdb7337e8fcbfee89815214577b2493"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AlertsEffect: ClassTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 108 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9946df0cb1b4f928de29c7ba5a224fcdecab643d538e0446d1683701c636f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VideoCaptureSession: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoCaptureSession.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86f2d87cdff4fde48d3b4e9b2067b0193f81e589d0eb024b6d7108fcbfcd787"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VideoEffectsProcessor: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9eeb787f3ab7f51d2f14a5540ebb650df04586825ea7048e62b300ef4c19b9f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatTextToSpeech: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/ChatTextToSpeech.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ceded8b9818142df6a7d3999af7f08f3de780eeb46d2b7f8bec069a7141eb2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Model.handleControllerFunction: MethodTooLong \u2014 handleControllerFunction runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelGameController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6247916b93f531f912f6b949b5d1d306682a3c6c6240ec127b92a144d74a417f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Video/VideoCaptureSession.swift: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: VideoCaptureSession (279-847). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoCaptureSession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"878a1c8e44f7348952bd7f726bf22d5bf27f723b410a3053eca74ecc99527564"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RemoteControl/RemoteControlAssistant.swift: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: RemoteControlAssistant (25-810). The bar is 500 significant lines; this is 124 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f95958c395d1066c5db2d9fd248b154c6a68cf1686c4256e50d497adc68654"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VideoEffectsProcessor: ClassTooLong \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 98 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"235cd10cd165b3074a3a388b02591da9ede5a2dcb8e3e9518406a56c0dbe0e75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Overlay/StreamOverlayRightView.swift: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 119 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/StreamOverlayRightView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3dfda58f7e295b766e44c5c803660c66026b440d41f3ecd254c78b13bf3044"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelRemoteControlSettingsUpdate.swift: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 111 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControlSettingsUpdate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4192cb326b915eac3652258ef06a58ebf4fac69fb37353b602134307c28f7655"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Twitch/TwitchApi.swift: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: TwitchApi (244-941). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0426b603203bbe8e2122ae12ba221738e0fa0a69352f7d2aff6c378987de18f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RtmpServerChunkStream: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtmpServer/RtmpServerChunkStream.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc8cd2f53b8fab643ed206dc3c9191b92953dd685df7327a2236b25773797ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Text/TextFormatStringLoader.swift: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 102 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextFormatStringLoader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fc6b674357eacbf357201e0afdb833e9bf418c957fdc37ba547de0afdbb1e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RtspClient: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspClient.swift"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d4ebe3291240c73ddd694bd115bca9ce89f77cc5f430dccc32b6e46b2c5a28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteControlState.applyChanges: MethodTooLong \u2014 applyChanges runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2cc4b4b84a2a70fe9279b9dfe7c021e2b61077e095ad9ab8c699de0999f45c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Chat/ChatBotSettingsView.swift: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 87 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Chat/ChatBotSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f735b68bde288a10a61f94d5b1bb778575cef78d088a17f42b2646e32f6270"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DjiDevice: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Dji/DjiDevice/DjiDevice.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e202675776ca6d6ad6dccd94646cf31b54d427fcd3499b524624aebbc89bbfb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SrtSender: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Srt/SrtSender.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3250036595e5e16b9a05b52b77c3fe5407391050ef58e552b59f68995861b24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RtmpServerChunkStream: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtmpServer/RtmpServerChunkStream.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"caab4ca9e9f31bac9893ece1f848cb92cf113eae39ec76ae40a75feab4ec2b83"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SrtlaClient: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/Srtla/Client/SrtlaClient.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6504a0c6d8ac47513ad9894802c8e7d7544c09ab3b2b646d1b2cee9c72e31d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsStream: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsStream.swift"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fdb2c77c47a42f4046bbc96409b8501997f8e8252ff49f85061e9d01c727f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Various/CommonUtils.swift: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 80 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/CommonUtils.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7496e7088974625b1f1ea4c7edcf704d0c69c0a95b0fc934dabff0120472df2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalOverlaysSettingsView.body: MethodTooLong \u2014 body runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Display/LocalOverlays/LocalOverlaysSettingsView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"65db0d770de63fee1dc5083e76b0e89a3b90f06f8d30d94e224fc9abd3d4728c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextEffectFormatter: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 69 methods. The bar is 400 significant lines; this is 63 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextEffectFormatter.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bfd179b9c83e3d3c7403b9cba0bc7221e8cfafd6dd281315c7a2e03bbe2fe3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TwitchApi: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 63 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca15d79648d2023e7194e2ca39eb80297287f162356335a31b94fd83ebd376a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Twitch/TwitchChat.swift: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchChat.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b088b289a56f4b9a99946961b85331a10ddead27c86ac1cdf4dee8e4ac2f124a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RtmpStream: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Rtmp/RtmpStream.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"577123473bc668dcf48b6dc15e58757727b8e13996b5c687fd8841a14bbce743"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsStream.init: MethodTooLong \u2014 init runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsStream.swift"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d916410f90b60bdb8f85cd6eee8597fb537e8cf757e30d2b0f5b4d67fef77fc7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Database: ClassTooLong \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 45 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0aac607461065e2e85074178ba22b410420ef8be18a72a4b9ce4191f763dd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: View/MainView.swift: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/MainView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ca761004bc84d5bb7ef4a2fd67ee1d7d1859c423e2c8948994cb80ea61f23d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RtmpServerClient: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtmpServer/RtmpServerClient.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a147376ba3d7ed47de8be26374b9bd7092d0a613097e056e8ffe1f98bbd8f84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Whip/WhipStream.swift: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Whip/WhipStream.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e83a4148d7c3f76d0e8ee6eb19929fc7dc44d01633dfde8acda77d9df89edb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Text/TextEffectFormatter.swift: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: TextEffectFormatter (77-715). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextEffectFormatter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"419efccbf5a37fe1d298ce9a0195ab06423123b571325006b1287d3d866b550c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KickApi: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Kick/KickApi.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb788ce0e8e13830197f9ba0578137f8255933a20adf7eeafab3442551324587"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextEffect: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextEffect.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7361fca5ec0e234eba241ad69e4af8de3a076ac51318cd34644224dec81bd8ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelAudio.swift: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAudio.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"210d09a1e65b208dfb15067ffa792ecf69657a74cdaa3e9e645d1b69f00d05c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatLineView.swift.makeLayout: FunctionTooLong \u2014 makeLayout runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/ChatLineView.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8a5eda2e342c51ef4001f9fc2b84c3bd1cc95b09ae4b65b15ad1cae51327ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Model/ModelMoblinCloud.swift: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66ccfebd16f4750b333f28c46f69b560d5cb2d98700840e849067467d160a4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatTextToSpeechSettingsView.body: MethodTooLong \u2014 body runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Chat/ChatTextToSpeechSettingsView.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6760a0eda5e187ac754553bdaa4296dea313613ed89a94ccd950f420881d8a82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Settings/SettingsMacros.swift: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsMacros.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b4b65fcbb3ddf0cf2509516e3e6997d3548a960a95c32a9802775e29a6fbf2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VideoCaptureSession: ClassTooLong \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoCaptureSession.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"012821ae750c2de2d537f4fa33e029670e105c400310657db6a9ac6c31cc423a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MpegTsReader: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/MpegTsReader.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a8bc59518a2f347a2049420aa9277f755db2249e8831e904046a2728d67aeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RemoteControl/RemoteControlStreamer.swift: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: RemoteControlStreamer (101-593). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlStreamer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3884936bfdc85a34d97ac36730b06fd76dada7075d6c505030f1fdd3697086b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SrtSocketOption: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 6 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Srt/SrtSocketOption.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3970a04cf667b9fcd56399720e0aeccad3250e0aa1033aa79a5e1e78a91d9892"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteControlStreamer: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlStreamer.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"132e0c564aa7f4fc64ed8810658b52950bb732f852dfda08953a035123236b21"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsChat.init: MethodTooLong \u2014 init runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8f0305dd2c5570af2241e40f2562ff4b647b561810249fbdc80760a78c72ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Video/VideoEffectsProcessor.swift: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: VideoEffectsProcessor (6-679). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d4f19c695320d9378bc968e96e34e1fbe79a1aff842a1a17184824179349a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift:15-59 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:7-44 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:51-89 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:96-133 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:140-178 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:200-266 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsMoblinCloudSettingsView.swift:7-43 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:7-43 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:50-89 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:96-134 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:160-226 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e7d56660f0b5abe35f848a19352fc6331b32d3987697bffd5d9118fd0a6a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Moblin/Various/Settings/Settings.swift:645-652 | Moblin/Various/Settings/Settings.swift:706-714 | Moblin/Various/Settings/Settings.swift:776-786 | Moblin/Various/Settings/SettingsCatPrinter.swift:31-43 | Moblin/Various/Settings/SettingsRemoteControl.swift:24-31 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eb02b61e043da0cc0d6459cf77bf02015f0a90849460bec39ed162977653c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Moblin/Various/Settings/SettingsGameController.swift:336-347 | Moblin/Various/Settings/SettingsKeyboard.swift:36-47 | Moblin/Various/Settings/SettingsScene.swift:2168-2180 | Moblin/Various/Settings/SettingsSelfieStick.swift:33-43 | Moblin/Various/Settings/SettingsStreamDeck.swift:41-54 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsGameController.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e997402c46abfec4f3fec57b7eacf696961a341efbb7ff3b1bc47b642fbffad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Moblin/Various/Settings/SettingsDeepLinkCreator.swift:191-203 | Moblin/Various/Settings/SettingsIngests.swift:195-201 | Moblin/Various/Settings/SettingsIngests.swift:361-369 | Moblin/Various/Settings/SettingsIngests.swift:523-531 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsDeepLinkCreator.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a223c7e4bd2a1d86db3ae5f05a3d03ba44fcb7b98ef83e4dd86ab10980a838"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Moblin/Various/Settings/SettingsKeyboard.swift:23-34 | Moblin/Various/Settings/SettingsScene.swift:2154-2166 | Moblin/Various/Settings/SettingsSelfieStick.swift:19-29 | Moblin/Various/Settings/SettingsStreamDeck.swift:27-39 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsKeyboard.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3911d5edd269a3eb61e29586551bdeb3d6f175fddb786439ec376257d4345c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:76-117 | Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:189-232 | Moblin/View/ExternalDisplay/ExternalDisplayView.swift:64-92 | Moblin/View/Stream/Overlay/StreamOverlayChatView.swift:105-143 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf476ffce388f5f2e1da3dcfdedbfdc9058d7ff0d70557d26b22f3f2fea17ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift:17-54 | Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift:10-45 | Moblin/View/Settings/Tesla/TeslaVehicleScannerSettingsView.swift:9-46 | Moblin/View/Settings/WorkoutDevices/WorkoutDeviceScannerSettingsView.swift:10-45 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed60e8bbee4d89845ae3dd46818bc03df881a5262485f54cae10680bb3fea6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Moblin/View/Settings/Ingests/RtspClient/RtspClientSettingsView.swift:18-57 | Moblin/View/Settings/Ingests/SrtClient/SrtClientSettingsView.swift:17-53 | Moblin/View/Settings/Ingests/WhepClient/WhepClientSettingsView.swift:18-60 | Moblin/View/Settings/Ingests/WhipServer/WhipServerSettingsView.swift:29-104 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Ingests/RtspClient/RtspClientSettingsView.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"021d5230a6dea5097c51548434926db6b71077387a3d448b6dbb0df4ec856d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:72-109 | Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:116-145 | Moblin/View/Stream/Overlay/Right/StreamOverlayRightFaceView.swift:9-29 | Moblin/View/Stream/Overlay/Right/ZoomSliderView.swift:9-59 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9d22bf8a9a0faa7f0acc402618d9651ef31e5d204394386eccc2e74fd57cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift:223-304 | Moblin/View/Settings/GoPro/GoProBleDeviceSettingsView.swift:180-249 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c69f8d2bc1f676fe7ced8cc003016b1e4e42c435ad3cbf8b5c6df554158b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): Moblin/View/Settings/Ingests/RtmpServer/RtmpServerSettingsView.swift:29-111 | Moblin/View/Settings/Ingests/SrtlaServer/SrtlaServerSettingsView.swift:37-129 \u2014 These two members are one piece of code written twice and then edited apart: 83 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Ingests/RtmpServer/RtmpServerSettingsView.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"773257f8d2ecede9e0dce903c0ec6706673c31053bb1f9c24a50aff0090c9504"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 55\u002B corresponding lines): Moblin/View/Settings/Ingests/RistServer/RistServerStreamSettingsView.swift:39-101 | Moblin/View/Settings/Ingests/RtmpServer/RtmpServerStreamSettingsView.swift:49-103 | Moblin/View/Settings/Ingests/WhipServer/WhipServerStreamSettingsView.swift:32-90 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 55 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Ingests/RistServer/RistServerStreamSettingsView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf818b20658f0d4bfe31d3133aa94c2600afbc34b0f330db84272cd61d107e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Moblin/Various/Settings/SettingsDjiDevice.swift:266-290 | Moblin/Various/Settings/SettingsGoPro.swift:171-188 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsDjiDevice.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed508d7790fbf02e775b6074afaec6b50afa4fab7188394d00a0a3b620b33016"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): Moblin/View/ControlBar/ControlBarLandscapeView.swift:43-101 | Moblin/View/ControlBar/ControlBarPortraitView.swift:32-90 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/ControlBarLandscapeView.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc11e24ca9f27b73ff3b297586536f9d6a40430425c4f46a28df930f14cdf41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Moblin/VideoEffects/Alerts/AlertsEffect.swift:617-651 | Moblin/VideoEffects/FaceEffect.swift:205-227 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"f653baea8240927c2c43e4a5bdba98cf4563246ad8fc7b046f24efac2b4a6eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Moblin/Various/Model/ModelCamera.swift:664-698 | Moblin/Various/Model/ModelCamera.swift:700-726 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelCamera.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bfc877da5d55363bd9a545f35314f366e48aaf8f79405a5c7ea00c043120b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardKickSettingsView.swift:20-73 | Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardTwitchSettingsView.swift:24-84 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardKickSettingsView.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b8311471413490a9cdbb4afbda9633ae32c7a674067240cce82431b17e60f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): Moblin Watch/Various/WatchModel.swift:372-420 | Moblin/Various/Model/ModelWorkout.swift:35-89 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/WatchModel.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"71404fea640ab3c2f8dee3310070a13fbc0d5664fd19b6ef074a5f216b74426d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 32\u002B corresponding lines): Moblin/Various/Model/ModelTwitch.swift:833-868 | Moblin/Various/Model/ModelTwitch.swift:870-901 | Moblin/Various/Model/ModelTwitch.swift:903-943 | Moblin/Various/Model/ModelTwitch.swift:945-979 | Moblin/Various/Model/ModelTwitch.swift:1035-1078 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"3723b5c1be3d5816c9de1922a1ed5fcab84ad093df01831ef0b7757c7ed59128"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Moblin/Various/Model/ModelMacros.swift:396-437 | Moblin/Various/Model/ModelRemoteControl.swift:676-711 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMacros.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"503d3d3ef3fe30e0ac234575ec59c529b9985bb1d12f803414258c52954ecc5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Moblin/Various/Model/ModelStream.swift:435-479 | Moblin/Various/Settings/SettingsStream.swift:151-182 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelStream.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa25764c26c4ef474f7b4c4eeee147ce7ff1e97a8352b5f0c8da80b3b0d4f96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Moblin/Integrations/CatPrinter/AtkinsonDithering.swift:8-29 | Moblin/Integrations/CatPrinter/FloydSteinbergDithering.swift:8-27 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/AtkinsonDithering.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4156c3e8b2fa50054253847e7bf0f098ae41c85726efc4a1af5e7413079a1c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift:122-146 | Moblin/Media/HaishinKit/Media/Video/BufferedVideo.swift:93-117 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"edeb827404133e776199a7db7032e14deb664ee3619fea80cb2a2fb54619d00d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift:127-161 | Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift:163-197 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d013aef2749b698f1770263459a9185d566d57befeeaced2841185062785f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Moblin/View/Stream/Overlay/StreamOverlayRightView.swift:711-751 | Moblin/View/Stream/Overlay/StreamOverlayRightView.swift:762-796 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/StreamOverlayRightView.swift"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dea342d16491e05bf0ea8198171bd4f34ce4b11fe138880620d882ff87289c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGenericSettingsView.swift:210-249 | Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardModularSettingsView.swift:70-99 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGenericSettingsView.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f31689ea6cc5fe06574150e1951b206534573aab450142e2c8ca05e81666762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift:11-46 | Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift:149-184 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"002e14dfba82cbe5aa3f262e3ae5c8083feadd3ebbaa0ba60a2c8d5e25605893"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift:120-152 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnit.swift:117-157 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fc72a4d1a771b3a1a53d477b034f24a905341849a1f630dab650c4e2f62b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Moblin/VideoEffects/Alerts/AlertsEffect.swift:588-615 | Moblin/VideoEffects/FaceEffect.swift:411-431 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59891bbc042d6f86721359fcd89892b2177595904b60efa0f8b1a2b5f5a5a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Moblin/Various/Model/ModelChatBot.swift:232-259 | Moblin/Various/Model/ModelChatBot.swift:261-286 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChatBot.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1108d468e369f5a42048be59ebd5d81cde770c3841e2a5482c504263395994dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Moblin/VideoEffects/MaskEffect.swift:21-42 | Moblin/View/Settings/Scenes/Widgets/Widget/Effects/MaskEffectView.swift:86-109 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/MaskEffect.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e093559c6d5ca94b52f76f6455add45f09d2759a47ba563db03c395ded3f285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Moblin/Various/Settings/SettingsDjiDevice.swift:244-264 | Moblin/Various/Settings/SettingsGoPro.swift:152-169 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsDjiDevice.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5cf765ed6bec882de10c598ae1e4f9c242366267963a6a92cfe97a5f882cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Moblin/View/Stream/Overlay/Right/SceneSelectorView.swift:59-80 | Moblin/View/Stream/Overlay/Right/SceneSelectorView.swift:101-123 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/SceneSelectorView.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86c91623a4f3420e9c0b982519507f22a007b7c6307dd84b200bc4b20acbacb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Moblin/VideoEffects/Replay/ReplayEffectReplayReader.swift:105-135 | Moblin/VideoEffects/Replay/ReplayEffectStingerReader.swift:52-77 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Replay/ReplayEffectReplayReader.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4722a8a88329d2dff7ead62230e77e356e89fb48c39968028f8a8463d61024d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift:448-478 | Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift:480-512 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26214ea3110f5f0b19d020e069e24597494df8c7477b2c5f6c6f0983f032d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Moblin/Various/Media.swift:438-470 | Moblin/Various/Media.swift:472-507 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Media.swift"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"df26f114d33cafc304f022d55457024c93d816727b4a5dcc2f4739351d1168a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): Moblin/View/Settings/GoPro/GoProSettingsView.swift:296-327 | Moblin/View/Settings/GoPro/GoProSettingsView.swift:342-373 | Moblin/View/Settings/GoPro/GoProSettingsView.swift:389-422 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/GoPro/GoProSettingsView.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"01082cc235d4f1051f7b4bba181f246845e22b657b08d5c472deb9e773389262"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift:78-106 | Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift:108-136 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d399b03ddf4961e3ccdd38e929f09c19ca41013f27804a5cfc2783a7f9e4640"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Moblin/Integrations/WorkoutDevice/WorkoutDeviceCrankCadence.swift:47-79 | Moblin/Integrations/WorkoutDevice/WorkoutDeviceCyclingSpeedCadence.swift:80-111 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/WorkoutDevice/WorkoutDeviceCrankCadence.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"050e861e1eb728abf61064ff294fad6ac9346bd8aa23768e945cda0af4f674ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Moblin/Various/Model/ModelRemoteControlSettingsUpdate.swift:376-402 | Moblin/Various/Model/ModelRemoteControlSettingsUpdate.swift:404-427 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControlSettingsUpdate.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90e177119dca71ddbbd1e60ad2977ee2de5138f1690c3d96852c9f10b32391b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Moblin/Various/Model/ModelStream.swift:712-737 | Moblin/Various/Model/ModelStream.swift:739-767 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelStream.swift"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"64daf049819821e069dfa724e3ef8990842f91057eef352585573a0ab8ea0cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatModerationView.swift:223-246 | Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatModerationView.swift:248-273 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatModerationView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f29183888f4e9061f90ee79fa92d44fce28678964a6a3f2e0d8253720da337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift:43-75 | Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift:83-116 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c068cbe72be44378bd2e5d3b0a9fd7dc8362f07aa27aaa63f38ac865aae0489"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Moblin/VideoEffects/Text/TextEffectFormatter.swift:344-367 | Moblin/VideoEffects/Text/TextEffectFormatter.swift:688-710 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextEffectFormatter.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecf7e409da86eb07029adeaf8ec550beaa9a8c58e8d482d71600dfade17fc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift:46-75 | Moblin/Media/HaishinKit/Mpeg/Hevc/MpegTsVideoConfigHevc.swift:52-89 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d29989659bad3c0bd33fc87eefe0038e3edee02969b125339eb83c074839e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Various/Settings/Settings.swift:790-801 | Moblin/Various/Settings/SettingsCatPrinter.swift:45-57 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3c6850b319d761d50bc02e846a663a2e43cef96bcf76f940b711a20e96008d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationKickView.swift:235-266 | Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift:649-678 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationKickView.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec63c2d8216d3b6320caad461e524c2bd560bbb84f4a30b1242b7ef1940d7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Moblin/Obs/ObsWebSocket.swift:391-417 | Moblin/Obs/ObsWebSocket.swift:419-445 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9928d56cfd6cece8e8d00701316e39298ae7438d56006def917eff3ac8ca45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Moblin/Various/Model/ModelTwitch.swift:810-831 | Moblin/Various/Model/ModelTwitch.swift:1008-1033 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"3651fd25154573136f4dadb00e421609e867b648ef5aca3a6c6122e61cf9bade"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Moblin/View/Utils/TextEditNavigationView.swift:32-65 | Moblin/View/Utils/TextEditView.swift:48-84 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/TextEditNavigationView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a554c061843e70e7c9241767f335f229d3c30a712c1007824c0ff48c597cd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): Moblin/View/ControlBar/QuickButton/QuickButtonGoProView.swift:50-79 | Moblin/View/ControlBar/QuickButton/QuickButtonGoProView.swift:102-131 | Moblin/View/ControlBar/QuickButton/QuickButtonGoProView.swift:154-183 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/QuickButtonGoProView.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"97881965c3e56e89830e6c977e6a332dd3720a50886881b897d02489a0764541"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDevicesSettingsView.swift:14-47 | Moblin/View/Settings/CatPrinters/CatPrintersSettingsView.swift:44-86 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDevicesSettingsView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac6218686c5123d64c359d054dd9bc773696e1c30f39775c9bb9ae2800189ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Moblin/Various/Detection.swift:4-25 | Moblin/VideoEffects/FaceEffect.swift:433-461 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Detection.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea701b2e8d7eba3194e2f184fff7afc7218663c0a7667b17f49f5c296eab5963"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Moblin/View/Settings/DjiDevices/DjiDevicesSettingsView.swift:35-68 | Moblin/View/Settings/Scenes/AutoSwitchers/AutoSwitchersSettingsView.swift:152-185 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DjiDevices/DjiDevicesSettingsView.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"44237dfaa292d83704c21de9139843d2948489ddd5e7d175b361a33cdb15f65f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift:71-104 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSpeechToTextSettingsView.swift:59-88 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bc6752e3177c3db9d22b506fb9e9995f12d57728694594a6cfc0195a80bea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Moblin/Various/Model/ModelKick.swift:442-466 | Moblin/Various/Model/ModelKick.swift:468-488 | Moblin/Various/Model/ModelKick.swift:490-509 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelKick.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d87842b1d9a975c67ea3318515d7f1d27b4dff53e24b0d07a0316055016b222"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Moblin/Integrations/Emotes/Bttv.swift:13-35 | Moblin/Integrations/Emotes/Ffz.swift:18-40 | Moblin/Integrations/Emotes/Seventv.swift:31-53 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Emotes/Bttv.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22a096c34e13296910753692ff502210631e3e037738537448778f9b1fceb44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Moblin/Various/Model/ModelDjiDevice.swift:201-224 | Moblin/Various/Model/ModelGoProDevice.swift:132-156 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelDjiDevice.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12c03803ed5a366b09772266274c932798f9561dcc0d5a5a2b3435921f6f837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin/Integrations/Tesla/TeslaVehicle.swift:523-536 | Moblin/Integrations/Tesla/TeslaVehicle.swift:538-552 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Tesla/TeslaVehicle.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69f202d38b6e018a52581c6d36b91da02ad7fc5a5b79c4a703a72629ac4afac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Moblin/Media/SrtClient/SrtClient.swift:146-174 | Moblin/Media/Srtla/Server/SrtServerClient.swift:29-59 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/SrtClient/SrtClient.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b373da56af1787ad0cd9ae937c6154ba0753fabd2a392babcd165638fbb1dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Moblin/RemoteControl/RemoteControlAssistant.swift:880-917 | Moblin/Various/Model/ModelTwitch.swift:1300-1333 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65b9e71c6d1ce6f18cf91a92a2955c05789cd5d5f4e9a0aeebd95e4367b7479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:909-929 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:358-374 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0354381963b7e3e86e3cf9cf986df80a1d2c288a474d4bd5eb349dfb0cc5cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Moblin/VideoEffects/ChatEffect.swift:6-25 | Moblin/View/Stream/Overlay/StreamOverlayChatView.swift:3-26 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/ChatEffect.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd55883da7008860b67b049260618a49b87c8a4302e8bf3b67e01ea944949bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 33\u002B corresponding lines): Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRistSettingsView.swift:21-53 | Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift:28-73 | Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomWhipSettingsView.swift:21-56 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersRtmpSettingsView.swift:28-74 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupBelaboxSettingsView.swift:21-70 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRistSettingsView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c847f8654e927d0500c392f1afd601346fd51336a5d64a2e1d8939258d7fa1f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/Various/WebBrowserController.swift:24-40 | Moblin/Various/WebBrowserController.swift:42-66 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/WebBrowserController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"37106b75872a4be101b548986bb3584e19e9b14de9aed5bff89f84e1cba478f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Moblin/View/ControlBar/ControlBarLandscapeView.swift:170-191 | Moblin/View/ControlBar/ControlBarPortraitView.swift:101-122 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/ControlBarLandscapeView.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"22474cac5fc81eab89f7436e6592744483d5d880cc40f49a68e965456c0eed14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Moblin/View/Settings/Streams/Stream/Kick/StreamKickSettingsView.swift:110-143 | Moblin/View/Settings/Streams/Stream/Twitch/StreamTwitchSettingsView.swift:9-42 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Kick/StreamKickSettingsView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa39193f3e93375bf6e4bfac1415d4b1acbb974e356920023c266468000eda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): Moblin/Moblink/MoblinkStreamer.swift:385-407 | Moblin/RemoteControl/RemoteControlAssistant.swift:559-581 | Moblin/RemoteControl/RemoteControlWeb.swift:339-360 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkStreamer.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebbcfeea6702f97d633276cca0c85ff249647beef7c7b35a080e2efea22b915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Moblin/View/Settings/Chat/ChatBotSettingsView.swift:753-783 | Moblin/View/Settings/Chat/ChatFiltersSettingsView.swift:107-144 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Chat/ChatBotSettingsView.swift"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb4ff80e08555abe8e43d696bb36465da77f604fb3d645677078fe270b82197"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Moblin/Media/MobcamStream/MobcamStream.swift:73-92 | Moblin/Media/RtmpServer/RtmpServer.swift:75-93 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/MobcamStream/MobcamStream.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"122c84f6773600450ec828fdd25f21c908335b0e0b59b370944a4526602482cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift:226-258 | Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift:566-594 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8458d549eb25309a1b0596606bc61d47932f9fa12686b4cc10a6356c3359c00d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/VideoEffects/Replay/ReplayEffect.swift:105-119 | Moblin/VideoEffects/Replay/ReplayEffect.swift:121-135 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Replay/ReplayEffect.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9645cb2691fb30241f5e23afd86304043cceb216e9c53dffe4941bea30fd85fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/VideoEffects/TripleEffect.swift:27-41 | Moblin/VideoEffects/TwinEffect.swift:26-46 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/TripleEffect.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d146839ea78fd152a31e3d92efb0b5d0bff9a838db6039e075a737abd239a145"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Moblin/View/Stream/Overlay/Right/ZoomPresetSelctorView.swift:36-53 | Moblin/View/Stream/Overlay/Right/ZoomPresetSelctorView.swift:80-97 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/ZoomPresetSelctorView.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8404c1637d8f1b8f440d740d54615c413d00ed31e34d3ba639d26d54d1f46b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/Integrations/CatPrinter/CatPrinterCommands.swift:135-157 | Moblin/Integrations/CatPrinter/CatPrinterCommandsMxw01.swift:97-112 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/CatPrinterCommands.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baae9b363ddcd0ccf4907a7bc99bd9e5f8f8cffaa710ea98b58629801652b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin/Various/Settings/SettingsLocation.swift:98-111 | Moblin/Various/Settings/SettingsStream.swift:885-898 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsLocation.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b090621798123536a90f7a9375fa5a667c1c1a3eff2cd6e3d9a739c21d6b73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Moblin/Moblink/MoblinkRelay.swift:154-171 | Moblin/RemoteControl/RemoteControlStreamer.swift:256-278 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkRelay.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb7e4e10626a7d72d20460259993ed70ed5070d9884e9d2831af7ee39170806"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/Various/Model/ModelScene.swift:929-945 | Moblin/Various/Model/ModelScene.swift:947-963 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"2106b2408929c0154e7de1166b37efeb180657b0998f69938a6ee7ba456a1911"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Slideshow/WidgetSlideshowSettingsView.swift:82-106 | Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardSlideshowSettingsView.swift:29-54 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Slideshow/WidgetSlideshowSettingsView.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a040d8c3704a949c17ed1b7c94c8c963ffaa3880d17b51e48b27821ae3eb64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Moblin/VideoEffects/TripleEffect.swift:8-25 | Moblin/VideoEffects/TwinEffect.swift:7-24 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/TripleEffect.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff77114bbd72ccf12a59f7ce8e6521c6ce34cbea18167e05b477718411cecbc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Moblin/Various/Model/ModelChat.swift:432-452 | Moblin/Various/Model/ModelChat.swift:454-474 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChat.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9c7a305ec6d65ae586641d074254c690a08c9fc7c340799f0c7808bebe37f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsImageSettingsView.swift:110-132 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSoundSettingsView.swift:93-115 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsImageSettingsView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a071d0c6cd4cfa959273b030fa3eca08cef84501f01441eb346c4b0339a8c51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Moblin/View/Settings/Streams/Stream/Kick/StreamKickSettingsView.swift:50-73 | Moblin/View/Settings/Streams/Stream/Twitch/StreamTwitchSettingsView.swift:59-81 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Kick/StreamKickSettingsView.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9646bd49dc6218d0183bbed9a1e1f3c43360fd1b343c2297f734d2c981c5826b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:69-88 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift:86-105 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"677d4e75592aff4138134419d9d5547ac93938f8c81a3b27491e46d3e67ada53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:548-566 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:678-700 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:781-799 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:829-847 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"3599eca394ca2fb925a9e942a1df6d037aaa6def75d6d0a72fe85badcdb92fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Moblin/Various/Model/ModelMoblinCloud.swift:395-413 | Moblin/Various/Model/ModelRemoteControl.swift:1100-1119 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ad03e2ebd21b5dcd2d764333de9fdf555d89571fb8bd1a7bd6d59ecacadc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:945-967 | Moblin/View/MainView.swift:8-30 | Moblin/View/MainView.swift:51-73 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b8b21d669977087e610745836f12ad5b833961dbd2d73bbaf8f352787694df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 23\u002B corresponding lines): Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:369-394 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:121-143 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:145-171 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:255-279 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:281-303 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"29105e6ac27eb0293d6fb847479d517c1b6960d8d7518558b71f34681cd7215a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/View/Utils/BannersView.swift:227-243 | Moblin/View/Utils/BannersView.swift:265-285 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/BannersView.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7756d0388cf4114d5b1f7b0f00c0aba4a4fc9610184636e6ae523fe23e63d1d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Moblin/Media/HaishinKit/Whip/WhipStream.swift:55-75 | Moblin/Media/HaishinKit/Whip/WhipStream.swift:95-118 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Whip/WhipStream.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"feffdb3dca0fd17034026dcc87432c6ad06c9c83d6c3c140ccbe5fed969b685e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Moblin/View/Settings/Scenes/ScenesSettingsView.swift:56-80 | Moblin/View/Settings/Scenes/Widgets/WidgetsSettingsView.swift:43-69 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/ScenesSettingsView.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"69abc45566a98254d20d7cfa2b610cad6b0dda74a1b0264ddfc25dec80c1d059"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Moblin/View/Settings/Display/DisplaySettingsView.swift:26-47 | Moblin/View/Settings/Scenes/Widgets/Widget/Effects/ShapeEffectView.swift:76-98 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Display/DisplaySettingsView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45e9762a1e650b2115f5d6789299ccb049d121cfe706d657562c3af18df0af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Moblin/View/Settings/Streams/Stream/Kick/StreamKickSettingsView.swift:75-101 | Moblin/View/Settings/Streams/Stream/Twitch/StreamTwitchSettingsView.swift:83-109 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Kick/StreamKickSettingsView.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a8f2e31492b9f657d4ec5875e89f68c2799aa4e1a9dcc8d12570874ff05728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Moblin/VideoEffects/FixedHorizonEffect.swift:98-113 | Moblin/VideoEffects/FourThreeEffect.swift:14-28 | Moblin/VideoEffects/MovieEffect.swift:14-28 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/FixedHorizonEffect.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb3f495ad14d299a2107ebefa135fe78df24a728b32fb14de66ca657ede8853"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/View/Settings/RemoteControl/RemoteControlSettingsView.swift:550-561 | Moblin/View/Settings/Streams/Stream/Snapshot/StreamSnapshotSettingsView.swift:3-14 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/RemoteControl/RemoteControlSettingsView.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"b145072776e09a3427d8640ceb9fb4b806ee86f8777fa929bd9dceca6488ca8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift:220-239 | Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift:255-274 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"37012458692b4e3cd6175e43ae54ba9f8559d1762d32913d11fae1ac302ba531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/VideoEffects/Text/TextFormatStringLoader.swift:35-49 | Moblin/VideoEffects/Text/TextFormatStringLoader.swift:97-111 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextFormatStringLoader.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ecdff6be399802ce5a126dc3583143c76780dbe73ae8480c8742f3c871e501"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift:83-101 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSei.swift:90-108 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ee3d53f76918e5b89e9aa02fa8bb1058249b9bba29a1bec9be8923cf7b3511"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Moblin/Various/Model/ModelCamera.swift:330-348 | Moblin/Various/Model/ModelCamera.swift:365-385 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelCamera.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"453005ba13a908c0be880f43da535458e6a20f4a5f65e330eeef13f4cf5086b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Moblin/View/ControlBar/ControlBarLandscapeView.swift:140-159 | Moblin/View/ControlBar/ControlBarPortraitView.swift:129-152 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/ControlBarLandscapeView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"823a57209fc56dc5da6c29c8d38e4e67e21205c9ea7d83d827e3a2058678b504"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift:38-56 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnit.swift:32-52 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90b8143f80a4da9a3ecb63164f4b9f459b25860c87d43d468cc4626c930477d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/Media/RtspClient/RtspClient.swift:414-429 | Moblin/Media/RtspClient/RtspClient.swift:476-491 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspClient.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dd11374939c29e5cfb718f6e9065368d9b5ed77659850e088e037232749784"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Moblin/VideoEffects/Alerts/AlertsEffectVideoReader.swift:86-104 | Moblin/VideoEffects/Replay/ReplayEffectReplayReader.swift:73-91 | Moblin/VideoEffects/Replay/ReplayEffectStingerReader.swift:93-112 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffectVideoReader.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4ecd5e0ddea774874f4d09e6bdcfa531baba344373382afcec00c9690c116e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:50-79 | Moblin/View/Settings/Streams/Stream/Srt/StreamSrtConnectionPriority2View.swift:44-71 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ffcb3cf92bf797e0a8d8a68f3cb5ab00f9ad2ced386da3318e8ff88e99e7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/Various/Model/ModelTwitch.swift:1106-1122 | Moblin/Various/Model/ModelTwitch.swift:1135-1155 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"111e45eb573f7879341222455ec120242ed76e5296169910593740f393fef2a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Moblin/Various/Model/ModelScene.swift:1593-1607 | Moblin/Various/Model/ModelScene.swift:1634-1654 | Moblin/Various/Model/ModelScene.swift:1656-1670 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29fb07cb53933ed8bf58221bbc36798c8b718a525fe7447e067ae35c98d0f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): Moblin/Various/Model/Model.swift:1386-1413 | Moblin/Various/Model/Model.swift:1460-1487 | Moblin/Various/Model/Model.swift:1494-1521 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7165aa773eaaf940f1c236096dec925969d47c9c2993a0d8dc5f4e181ae278cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Moblin/Various/Settings/Settings.swift:656-663 | Moblin/Various/Settings/Settings.swift:718-728 | Moblin/Various/Settings/SettingsRemoteControl.swift:35-42 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"870594d2d857165feb1f8c44fa5382d17ce5cb9585e79a23e6a2b77721a71d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/VideoEffects/PinchEffect.swift:19-26 | Moblin/VideoEffects/WhirlpoolEffect.swift:19-26 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/PinchEffect.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be1119e9d5e935a5e421b862b00bab55aa39724f18410b3877347f4caa93815"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift:8-24 | Moblin/View/Stream/Overlay/StreamOverlayRightView.swift:89-105 | Moblin/View/Stream/Overlay/StreamOverlayRightView.swift:131-150 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7a3bdde3aa6b8986cdb29c5b6651a3b509f0827f09c91d7cd464577b282cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift:267-289 | Moblin/View/Stream/Overlay/StreamOverlayRightView.swift:679-700 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0dbb482e1dcf3b266ef7f76d05272ca4694a6786d5abe33b929dae6180467b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Moblin/RemoteControl/RemoteControlAssistant.swift:442-464 | Moblin/RemoteControl/RemoteControlWeb.swift:187-204 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfdeec933b2fec2db0acfae5ffe053bd9502895c89f725f27c41328e4ea93b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Moblin/Various/Settings/SettingsIngests.swift:205-211 | Moblin/Various/Settings/SettingsIngests.swift:373-381 | Moblin/Various/Settings/SettingsIngests.swift:535-543 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsIngests.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"22436a891d3c281526f81cbc53de7fd5d176574d082bf7a718ca93cc2e95108f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): Moblin/View/Settings/About/AboutAttributionsSettingsView.swift:142-164 | Moblin/View/Settings/About/AboutAttributionsSettingsView.swift:168-190 | Moblin/View/Settings/About/AboutVersionHistorySettingsView.swift:4406-4427 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/About/AboutAttributionsSettingsView.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4d1414e81494cb3d0a573e25be85494a298eb2273cba501d089b5ab85aef45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/Integrations/CatPrinter/CatPrinter.swift:184-199 | Moblin/Integrations/CatPrinter/CatPrinter.swift:201-220 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/CatPrinter.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"278ed2b37d1ebeb809516f2b5a753fed4c908c6b652645db683616712b03694f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/Various/Settings/SettingsIngests.swift:29-35 | Moblin/Various/Settings/SettingsIngests.swift:435-442 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsIngests.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4fa6d8332dd0077974995bf57f067e020fddc25ffffadf7483fc6d4ade33ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Moblin/Media/RtmpServer/RtmpServerChunkStream.swift:486-502 | Moblin/Media/RtmpServer/RtmpServerChunkStream.swift:504-516 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtmpServer/RtmpServerChunkStream.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"75799c406cc4ffa541d18cc37d75b4404c406f3cc60289f2a2b90c7b256a3b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Effects/LutEffectView.swift:14-39 | Moblin/View/Settings/Scenes/Widgets/Widget/Scene/WidgetSceneSettingsView.swift:8-26 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Effects/LutEffectView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1447b475904b8ac385391333c8b0d3c0a35d29aad030946e46a1f675f3bd336"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Moblin/Media/RtspClient/RtspTransport.swift:135-153 | Moblin/Media/RtspClient/RtspTransport.swift:352-370 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspTransport.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b6011e70c7ecf769fabf2dcaa289470e4f0f12458e62e7a06b66f7094c8d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): Moblin/Various/Model/ModelKick.swift:383-411 | Moblin/Various/Model/ModelTwitch.swift:766-792 | Moblin/Various/Model/ModelYouTube.swift:331-355 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelKick.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"091cf79ed09b0f82012a6207615db32c738600c7d6b9aaa5a426321d1e913866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/VideoEffects/Alerts/AlertsEffect.swift:701-717 | Moblin/VideoEffects/Alerts/AlertsEffect.swift:865-881 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3145a07ce72dcf82d6938bfc1856581652636f0a17dc0434f64c4716e53e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/VideoEffects/Scoreboard/ScoreboardEffectGolfFullScorecardView.swift:35-49 | Moblin/VideoEffects/Scoreboard/ScoreboardEffectGolfFullScorecardView.swift:60-75 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Scoreboard/ScoreboardEffectGolfFullScorecardView.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0b8429723236d2f22d522fd5ac274846a89dc8766cffe6a3602e25a6ea1f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Moblin/Various/Model/ModelRtmpServer.swift:37-48 | Moblin/Various/Model/ModelWhepClient.swift:59-70 | Moblin/Various/Model/ModelWhipServer.swift:60-69 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRtmpServer.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c0f927a8107a345d21aff319f8bafc25811c86969d86b50e1ea5651c75b95f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardPngTuberSettingsView.swift:15-37 | Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardVTuberSettingsView.swift:15-37 | Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardVideoSourceSettingsView.swift:37-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardPngTuberSettingsView.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d001820300dffa8fde7e74f8d99918e55724d6ccbe488b8cefc5d57d17a9c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): utils/export_localizations.py:23-32 | utils/publish.py:25-34 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/export_localizations.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fa3b735e9af11efe849eab89d59e65d6c734278ebb5fe4ff12c8faec23743b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/VideoEffects/Alerts/AlertsEffect.swift:108-124 | Moblin/VideoEffects/Alerts/AlertsEffect.swift:126-142 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"84043c9ab5d3e7d0ad3b07da3cb4ac6b97c40680f81799bce3b4627bcae7fc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Moblin Watch/Various/WatchModel.swift:658-677 | Moblin/Various/Model/ModelWorkout.swift:203-221 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/WatchModel.swift"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a72293c928eb24c9fc722d286a32ff4db2840a20689092b1657535a37de2ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Moblin/Moblink/MoblinkRelay.swift:307-325 | Moblin/Moblink/MoblinkRelay.swift:331-351 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkRelay.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"03be27eebf892c4abc9057d840ec346ed377b6e185a467c5032d065f704151b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/Various/Settings/SettingsMoblink.swift:50-56 | Moblin/Various/Settings/SettingsRemoteControl.swift:102-110 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsMoblink.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba49eeb792291a462c0e40b8096791afa9669bb9a911eed6572549aeea35ac30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Moblin/View/ControlBar/QuickButton/QuickButtonDjiDevicesView.swift:8-25 | Moblin/View/ControlBar/QuickButton/QuickButtonGoProView.swift:12-29 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/QuickButtonDjiDevicesView.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2881439a967ec06601024e63a58dffd3ac533439f9f179e07a289ade862fbe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:178-197 | Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:204-224 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"605c3d008d30865975eaffd60aa5eeff578a55b810fc39353d9c442ef6d91305"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Moblin/View/Settings/Chat/ChatBotSettingsView.swift:789-812 | Moblin/View/Settings/Scenes/AutoSwitchers/AutoSwitchersSettingsView.swift:58-78 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Chat/ChatBotSettingsView.swift"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"755626861a9a5e9aaf1b62d20324f947bf32021bafdc44090f6e928cefed869f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Moblin/Media/RtspClient/RtspClient.swift:453-465 | Moblin/Media/RtspClient/RtspClient.swift:515-529 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspClient.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c448c17134f0774506817477615db7095aa618d8e4acbb05d1d74264c5e82e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Moblin/Obs/ObsWebSocket.swift:968-980 | Moblin/Obs/ObsWebSocket.swift:982-994 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1f42ef0161f18c6d702e7d76fef199c61ad6fb8118b82cd3c74fd6e9232003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:588-602 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:604-614 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:653-663 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4706a894eff4b964ef3abf41f133b8cd8d4e47755c3daa1a7ccecd321ee7fbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Moblin/Various/Model/Model.swift:1011-1027 | Moblin/Various/Model/Model.swift:1029-1039 | Moblin/Various/Model/Model.swift:1041-1053 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"975d37b799b8510bbc8deacfd8870f1a670f2288a4a97f53d44afec0a3afcfd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin/View/Settings/Audio/MicsDelaySettingsView.swift:7-20 | Moblin/View/Settings/Audio/MicsGainSettingsView.swift:7-20 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Audio/MicsDelaySettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb1c097dd7496dbda40de68ce988416319dbafc8d089e3ed62c8aa88c0b93f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/RemoteControl/RemoteControlWeb.swift:250-264 | Moblin/RemoteControl/RemoteControlWeb.swift:299-316 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlWeb.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a654b7145ca24ea113c828a79df76cb897a40cc66e3399a3101a1b13198c3996"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift:94-107 | Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift:259-272 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae41c0902639cf695144cc1b02f2363a0f1d3afce03b50cb0b09686471c13f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:478-493 | Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:500-519 | Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:526-541 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa5f48c6f90fb22232938f65687570d5746e563ff64d83bf8966ce74d750f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/View/Main/SnapshotCountdownView.swift:6-22 | Moblin/View/MainView.swift:249-263 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Main/SnapshotCountdownView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5500221d27757285113a2e24405e2ac1e992e218a8e0150c2a24306ce2b5fa1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Media/HaishinKit/Rtmp/RtmpStream.swift:333-344 | Moblin/Media/HaishinKit/Rtmp/RtmpStream.swift:346-357 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Rtmp/RtmpStream.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86c93314c57050bd23e741fa906bf1c9e4e6f61ea0f568e453a8e3d767aee77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/Various/Model/ModelChatBot.swift:288-303 | Moblin/Various/Model/ModelChatBot.swift:305-320 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChatBot.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdad3b05dac2a81498d29da23d4a9893da8c95357c1459546603ac085468a8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/VideoEffects/ShapeEffect.swift:196-202 | Moblin/VideoEffects/VideoSourceEffect.swift:145-164 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/ShapeEffect.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1b717fa975ae3e80b6c453e57a1b0194ce1c9e7b5edc45eefde18960ef384e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:327-337 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:339-352 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:354-367 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:735-748 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:750-764 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:766-779 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f662de26ab175783ce01291079e41e459eced284b8da002c73f9ea5c9060aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/Various/Network/HttpProxyServer.swift:92-111 | Moblin/Various/Network/HttpProxyServer.swift:189-205 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Network/HttpProxyServer.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff356646abe4f81033f6fb3918bb43b3255a357c76616dfc0a8264deea2fe29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/View/Settings/Streams/Stream/Kick/StreamKickSettingsView.swift:175-195 | Moblin/View/Settings/Streams/Stream/Twitch/StreamTwitchSettingsView.swift:150-165 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Kick/StreamKickSettingsView.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07c7706c06d5bbcf956bdb6a6d96085e06d811fbfe67e370a6468512d1d77e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Moblin/Various/Managers/GeographyManager.swift:13-36 | Moblin/Various/Managers/WeatherManager.swift:13-35 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Managers/GeographyManager.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb44c7bc9cbfc3ae4eb48efd7394211022682086e68b9bb21978843cc88e6fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Various/Model/ModelCamera.swift:593-613 | Moblin/Various/Model/ModelCamera.swift:615-626 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelCamera.swift"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b53591113dc240c0bbf6f5c5925ef1a35e8269dea583b8256ea61b0e850811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/VideoEffects/PinchEffect.swift:28-35 | Moblin/VideoEffects/WhirlpoolEffect.swift:28-35 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/PinchEffect.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35c0774e46e9908c1b46d39ba97d4b0c8413344c708e8330dbed3b5df45a157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:127-143 | Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:243-261 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0494b349d5a5b1e1c6d22e0c57ccc040197de23e414b2a15ff05923ee17c50c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Moblin/View/Settings/Chat/ChatBotSettingsView.swift:683-697 | Moblin/View/Settings/Macros/MacrosSettingsView.swift:80-96 | Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1261-1275 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Chat/ChatBotSettingsView.swift"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"e842a74f2e8ba59c9bdc669691de552b2e8229d95d5ce79741a625f5419d0910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Moblin/Media/Srtla/Client/RemoteConnection.swift:307-325 | Moblin/Media/Srtla/Server/SrtlaServerClient.swift:116-134 | Moblin/Media/Srtla/Server/SrtlaServerClientConnection.swift:56-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/Srtla/Client/RemoteConnection.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"980dfbebeffcfd7485340750765c814a68877014c390ecd8d917aa1a4a9c3845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Moblin/Various/Model/ModelRtspClient.swift:23-39 | Moblin/Various/Model/ModelSrtClient.swift:28-42 | Moblin/Various/Model/ModelWhepClient.swift:28-44 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRtspClient.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ab6e6c3423b0d1256f4923c0443933879007f5dc9efa959155d97fd3fd14ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift:497-506 | Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift:508-519 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"9186892f9c6a4f90595cf8a7e30266c62c27c461f64ce8d4968f8bd822c9ca0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/Various/MoblinSettingsUrl.swift:254-261 | Moblin/Various/MoblinSettingsUrl.swift:285-293 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/MoblinSettingsUrl.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"08572c822acd5d5652ee74d64d09520670a8fd117cc0918e4db20d0d64d1580d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): Moblin/Various/Model/Model.swift:2682-2698 | Moblin/Various/Model/Model.swift:2700-2716 | Moblin/Various/Model/Model.swift:2732-2748 | Moblin/Various/Model/Model.swift:2764-2780 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adab95706716c3c6a04361ea19c29a3f5ebc064d40f5eab334411719ace5fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/Various/Model/ModelKick.swift:275-289 | Moblin/Various/Model/ModelTwitch.swift:99-113 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelKick.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ee725830d103392df4540b12094ae3752054b51705dafd2c235ab999be9d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/VideoEffects/Alerts/AlertsEffectVideoReader.swift:19-30 | Moblin/VideoEffects/Replay/ReplayEffectStingerReader.swift:79-91 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffectVideoReader.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"720281fcf66284628b6f39646f087557d40e019e03d530aa7bc1af212830c809"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:152-165 | Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:271-285 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"725122cba40026679c0b13b9fc3f31be34ebfefe3356236e34e4781f29f7bb33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift:103-115 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSei.swift:110-122 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88f481b385f75a625cb8f90f545b86c210499e9deb7e13b3543e1293fd2f0ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/Media/RtspClient/RtspTransport.swift:39-55 | Moblin/Media/RtspClient/RtspTransport.swift:296-311 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspTransport.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"207a43657e58d574f74626361fe80e72b155067bd07312eb6ce4b0d4cd2dbee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Media/RtspClient/RtspTransport.swift:165-176 | Moblin/Media/RtspClient/RtspTransport.swift:382-394 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspTransport.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"943bbf48ee02cb254d9eae76fb59cc1891226502cec83b73893ec1f53935d333"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/Obs/ObsWebSocket.swift:726-744 | Moblin/Obs/ObsWebSocket.swift:746-756 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eebc85289ce2e932551696c012b5421cef9386f546c4dd8bd95f87253fddafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/RemoteControl/RemoteControlAssistant.swift:91-109 | Moblin/RemoteControl/RemoteControlAssistant.swift:111-125 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b105b5b49c248beeabdca554f4063bcfdf59f00be642ababc9bfede2351713"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): Moblin/Various/Model/ModelCamera.swift:246-262 | Moblin/Various/Model/ModelCamera.swift:391-410 | Moblin/Various/Model/ModelCamera.swift:412-429 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelCamera.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f021ac679ea2f2557b0950c640c01ed361d7c32d73d5708b60e53b8464286c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/VideoEffects/Alerts/AlertsEffect.swift:730-746 | Moblin/VideoEffects/Alerts/AlertsEffect.swift:788-806 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4a7022b0d5945e8ebfec6797d2465710219a33bdcd22b808ca63c92634232c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Moblin/View/Settings/Streams/Stream/Video/StreamVideoSettingsView.swift:7-19 | Moblin/View/Settings/Streams/Stream/Video/StreamVideoSettingsView.swift:26-40 | Moblin/View/Settings/Streams/Stream/Video/StreamVideoSettingsView.swift:103-121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Video/StreamVideoSettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b23f61e0da7aaa760b39215d8f1fa5ed8ab0c00687b1d2aabe2df132ca3826f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomSrtSettingsView.swift:61-83 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersSrtSettingsView.swift:14-37 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomSrtSettingsView.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a7278468cceaf4d7e34e0d174735741ec571e249e99b40d63fe29acae2ced7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/View/Stream/Overlay/Right/SegmentedPicker.swift:87-103 | Moblin/View/Stream/Overlay/Right/SegmentedPicker.swift:121-137 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/SegmentedPicker.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1d41db9e318cdf818bd5a2d0bba79361660f3b555d28e69753d7de24430197"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin Screen Recording/Shared/SampleBufferReceiver.swift:8-18 | Moblin Screen Recording/Shared/SampleBufferSender.swift:5-15 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Screen Recording/Shared/SampleBufferReceiver.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eed3e4c0b9d44fb10b980c7d03daf5bc70393a799eb526f140dccd22df02dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/Various/Model/ModelScene.swift:1503-1521 | Moblin/Various/Model/ModelScene.swift:1576-1591 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"5306e3bf50ce6a65105ed9960cb3fcd11143fbbfc43ae6547029caa723d16451"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Moblin/Various/Settings/SettingsScene.swift:3453-3461 | Moblin/Various/Settings/SettingsScene.swift:3916-3926 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":3453}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e77dfd1158ae48e384b1441b225a3613f274e7e04df93a2a2caabec6751a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/Media/RtmpServer/RtmpServerClient.swift:225-236 | Moblin/Media/RtmpServer/RtmpServerClient.swift:238-248 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtmpServer/RtmpServerClient.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec4aebc07234041666d87f1913e154075fd5537fd956ce54ed18823fa449ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/Various/MainTimer.swift:23-35 | Moblin/Various/SimpleTimer.swift:23-33 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/MainTimer.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"492b33eed1777a81b290eb979e831f1371b21c25616bcb3ebcf18a28d2a24255"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:4-18 | Moblin/View/ExternalDisplay/ExternalDisplayView.swift:5-16 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a7c9b07cc03d54d2b4450ea74792c3b71d33054cf23fa7440a19b49554cd1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Moblin/Media/MobcamStream/MobcamStreamProtocol.swift:66-78 | Moblin/Media/MobcamStream/MobcamStreamProtocol.swift:91-103 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/MobcamStream/MobcamStreamProtocol.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25a7f0902e486b5e8d88a4d4927aed225b12f4e8b64ba11dea4898a2b84c1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/Various/Model/ModelMoblinCloud.swift:349-356 | Moblin/VideoEffects/Alerts/AlertsEffect.swift:969-982 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27fa668d3d5402da21bc650b50aded6d2caa6889026f6d7fd5051655f8443f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): Moblin/Various/Model/ModelScene.swift:1699-1711 | Moblin/Various/Model/ModelScene.swift:1713-1724 | Moblin/Various/Model/ModelScene.swift:1726-1737 | Moblin/Various/Model/ModelScene.swift:1739-1750 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b60d0cfbd309266fdc6b10e04f35b254569358110f069ea00da323f117ef0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/Various/Settings/SettingsChat.swift:435-444 | Moblin/Various/Settings/SettingsChat.swift:495-502 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"846c09b86ee3dfcf86818fe0d656d5dba3e3aaac284a86169986195bc91ac573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/Various/Settings/SettingsScene.swift:1466-1473 | Moblin/Various/Settings/SettingsStream.swift:1172-1181 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e9699c89eb2196c2289284231aad461e4ab0255864be779e31bea6d40b4480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Moblin/StreamingPlatforms/Kick/KickApi.swift:370-387 | Moblin/StreamingPlatforms/Kick/KickApi.swift:395-409 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:816-827 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Kick/KickApi.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58c54631293a573035aa36e352f63ee8b9d13732c6e344f65180517903fc6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Moblin/Various/Settings/SettingsStream.swift:1747-1768 | Moblin/Various/Settings/SettingsStream.swift:1770-1791 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsStream.swift"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f209c860fa10fb3a4c4e1c516f3b452b8e671a4cf5a7e85b8198d3ff97186f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/VideoEffects/FourThreeEffect.swift:5-12 | Moblin/VideoEffects/MovieEffect.swift:5-12 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/FourThreeEffect.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4996fc148454f9bc3cb75b00a5559b77e33afaa107bffb47819b813433fdc31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/Moblink/MoblinkStreamer.swift:103-117 | Moblin/RemoteControl/RemoteControlAssistant.swift:476-490 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkStreamer.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9200d4087648ac794b4788b1e8dc408527e26ab257b4b1e4eff7f342ed55b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Moblin/Various/Model/Model.swift:2175-2180 | Moblin/Various/Model/ModelSoundBoard.swift:4-10 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e041694025b5fa5e18612ef5cc2733bfd46dd60ce307325529f72c5ddb71f40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Moblin/Various/Settings/Settings.swift:1183-1191 | Moblin/Various/Settings/Settings.swift:1251-1258 | Moblin/Various/Settings/SettingsRemoteControl.swift:90-98 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a1ee26edf63c872e3c303d95fc65e73079cf744050cf2b5957ce76f95e9a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:570-591 | Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:626-645 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"0717fd6b54863e6d29a9936cdfe6c213c851a56b5e5745b5afd715192ace228b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/Integrations/ElevenLabs/ElevenLabs.swift:39-48 | Moblin/Integrations/TtsMonster/TtsMonster.swift:59-68 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/ElevenLabs/ElevenLabs.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dc2dbd43f745438ae16fdc08ff7ef9df776de977d5812576d6f8bc2a20e52e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:153-165 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:167-177 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift:170-182 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift:184-194 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5470dd7022662560c4c0aedb3eefc00226437d7b38ac1d504be34876267666"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): Moblin/Various/Model/ModelScene.swift:1874-1884 | Moblin/Various/Model/ModelScene.swift:1886-1894 | Moblin/Various/Model/ModelScene.swift:1896-1904 | Moblin/Various/Model/ModelScene.swift:1906-1914 | Moblin/Various/Model/ModelScene.swift:1916-1924 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"612565678674b2e14ecad54b89be915f8435ea74af4713cfe10d4dddf9ceb0ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/Media/RtspClient/RtspTransport.swift:82-91 | Moblin/Media/RtspClient/RtspTransport.swift:233-244 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspTransport.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f92d187016533bfee85d71b1e516041eb5ded211de7eb2f641d0346f143bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Moblin/Moblink/MoblinkStreamer.swift:210-218 | Moblin/RemoteControl/RemoteControlAssistant.swift:757-769 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkStreamer.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0623d2a86354418cb19ae226e1c2e6ce41dcae9ec9866041ec377550a9ec830d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Various/MediaPlayer.swift:260-271 | Moblin/Various/MediaPlayer.swift:273-284 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/MediaPlayer.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3466652d7395d73cab842efea03f364fbd4bff5c4e45cb67a0aa0e24aa4e619d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/Various/Settings/SettingsGimbal.swift:19-26 | Moblin/Various/Settings/SettingsScene.swift:981-988 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsGimbal.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1a8ded9aed71c596db30d780875ddf94bbd8fdbd29bd804fb956a0d899ca67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/Various/Settings/SettingsIngests.swift:19-25 | Moblin/Various/Settings/SettingsIngests.swift:424-431 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsIngests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e599e30b589c676ceffffa609c87cc720640694ee46ff504bd5a34dccc2f3b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Moblin/VideoEffects/BingoCardEffect.swift:97-110 | Moblin/VideoEffects/ChatEmoteComboEffect.swift:102-119 | Moblin/VideoEffects/PomodoroTimerEffect.swift:138-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/BingoCardEffect.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"064b31fcc2d0775b8017a1283b60b62b904fd87be2f791d0cdc2d306c2dd662d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/VideoEffects/QrCodeEffect.swift:22-36 | Moblin/VideoEffects/SnapshotEffect.swift:35-49 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/QrCodeEffect.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db360b5ee306e7cf9c181314987116b6a38c3e82da2218860705750544bc695"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/View/Settings/Streams/Stream/YouTube/StreamYouTubeSettingsView.swift:341-355 | Moblin/View/Settings/Streams/Stream/YouTube/StreamYouTubeSettingsView.swift:357-371 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/YouTube/StreamYouTubeSettingsView.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"00144c42f2519f00a2628020335fcc0f99671f7856b49f2b45ac5d0a039e3d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/View/Utils/UrlsView.swift:53-63 | Moblin/View/Utils/UrlsView.swift:70-81 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/UrlsView.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"294eb572fbdad7ded3c34b447c383c2096e859e497a9880a7efec05721cb0cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin Watch/Shared/WatchProtocol.swift:34-41 | Moblin Watch/Shared/WatchProtocol.swift:68-75 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Shared/WatchProtocol.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6f255d4596268f4f1a62919f4df4ea003b86a5e44e314aaab5fd8b9f0bddd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift:105-116 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnit.swift:100-113 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f04e58f647cc557499978ddd3dfe7eddba9aa480297a6c2a35bbd93764ccd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/StreamingPlatforms/Twitch/TwitchChat.swift:528-539 | Moblin/StreamingPlatforms/Twitch/TwitchChat.swift:717-733 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchChat.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"28722d4db37516c2736162c863260a6645b08a200289b658e68afbcc65971d2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/Various/Model/ModelRtspClient.swift:48-55 | Moblin/Various/Model/ModelSrtClient.swift:51-59 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRtspClient.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e4e670e95b533b8ed38635c3fab4a47d45439e307af075c5ac26641787c6d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardBingoCardSettingsView.swift:10-25 | Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardWheelOfLuckSettingsView.swift:10-26 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardBingoCardSettingsView.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff9dc601e87f306d1dd6dc5dda3710b66fd3025926a56f71cfb4baf23dec4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin Watch/View/Scoreboard/GenericScoreboardView.swift:123-136 | Moblin Watch/View/Scoreboard/PadelScoreboardView.swift:205-218 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/View/Scoreboard/GenericScoreboardView.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bf7556ca3560ae44ee93adda8df4f4eee9c5df2707b389814c89f8c323f308"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/Media/RtmpServer/RtmpServerChunkStream.swift:530-540 | Moblin/Media/RtmpServer/RtmpServerChunkStream.swift:542-551 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtmpServer/RtmpServerChunkStream.swift"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e44b86f1bb60745abb2ad96346dde685fc2ca6385fa0ab63c159eab05204933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Media/Srtla/Client/RemoteConnection.swift:513-524 | Moblin/Media/Srtla/Server/SrtlaServerClientConnection.swift:76-87 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/Srtla/Client/RemoteConnection.swift"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"325ec8259aca47079317a2a305509d81496df7e444305f8c6cb5c10fea572eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:931-940 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:376-384 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de57679c6eb70e11daee65fc29b3c4c4038515fe0c6ae39d3a31e39b548b64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Various/Keychain.swift:70-81 | Moblin/Various/Keychain.swift:104-116 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Keychain.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9445a9c21775260129367fa9ecb311e5334716d22acc4d3d101458d362fcbdbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin/Various/Model/ModelAudio.swift:133-146 | Moblin/Various/Model/ModelAudio.swift:148-163 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAudio.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecf968ecffa3c44be6f2f2b517b4e81b21b82987e8833754dfff58364fda698"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/Various/Model/ModelScoreboard.swift:702-712 | Moblin/Various/Model/ModelScoreboard.swift:714-724 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScoreboard.swift"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac286b2818570840d433418f27155c740c1d27267e3ddca6a0e92d4a5f39b444"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): Moblin/VideoEffects/Scoreboard/ScoreboardEffect.swift:121-134 | Moblin/VideoEffects/Scoreboard/ScoreboardEffect.swift:136-151 | Moblin/VideoEffects/Scoreboard/ScoreboardEffect.swift:163-176 | Moblin/VideoEffects/Scoreboard/ScoreboardEffect.swift:178-193 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Scoreboard/ScoreboardEffect.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"56acaac1a33e992baec1c5663b1af5adb6e5e2156b9d3438bb2a4a3a10edb03a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Moblin/Integrations/CatPrinter/AtkinsonDithering.swift:31-36 | Moblin/Integrations/CatPrinter/FloydSteinbergDithering.swift:29-34 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/AtkinsonDithering.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b42ff818620eb6e06f6551babf556951052ff373f8a713e2447d8a5e829e6d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Moblin/StreamingPlatforms/OpenStreamingPlatform/OpenStreamingPlatformChat.swift:166-177 | Moblin/StreamingPlatforms/Soop/SoopChat.swift:180-188 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/OpenStreamingPlatform/OpenStreamingPlatformChat.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14effa56b7267fb804d5127aee61f3f84d945c413289e9fef5a7335d661cf79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Moblin/Various/Model/ModelAppleWatch.swift:519-531 | Moblin/Various/Model/ModelAppleWatch.swift:533-547 | Moblin/Various/Model/ModelAppleWatch.swift:549-563 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e73e30786c7d48d5ad11c6683dba85a7cec574c46db36c30403348bca57fd62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): Moblin/Various/Model/ModelScene.swift:1476-1485 | Moblin/Various/Model/ModelScene.swift:1487-1501 | Moblin/Various/Model/ModelScene.swift:1540-1550 | Moblin/Various/Model/ModelScene.swift:1552-1562 | Moblin/Various/Model/ModelScene.swift:1564-1574 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b249be0ce500096fb38fdbf0960ab9fcf37375e1f1b026a5c77b54d4ce5789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Moblin/Various/Settings/SettingsScene.swift:3677-3683 | Moblin/Various/Settings/SettingsStream.swift:1023-1028 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":3677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b634c79a283dac2633eeaa522b5aa580ebd596d4efbcd431a4a37089530190a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): Moblin/RemoteControl/RemoteControlAssistant.swift:207-216 | Moblin/RemoteControl/RemoteControlAssistant.swift:218-227 | Moblin/RemoteControl/RemoteControlAssistant.swift:276-285 | Moblin/RemoteControl/RemoteControlAssistant.swift:287-296 | Moblin/RemoteControl/RemoteControlAssistant.swift:298-307 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b8ac243001e51f1679207a264686956bb48261a319f4fcd13dd73794cc6354"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin/Various/Model/ModelAppleWatch.swift:429-442 | Moblin/Various/Model/ModelAppleWatch.swift:444-459 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde6a967b7af71bb8729d5f05f0a4890c3f0ff8a45e6c98d0a5b763cdaf20a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): Moblin/Various/Model/ModelTwitch.swift:309-326 | Moblin/Various/Model/ModelTwitch.swift:328-341 | Moblin/Various/Model/ModelTwitch.swift:343-356 | Moblin/Various/Model/ModelTwitch.swift:358-371 | Moblin/Various/Model/ModelTwitch.swift:373-386 | Moblin/Various/Model/ModelTwitch.swift:388-401 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdbfaa1fbc137c5c5edc941514ce74560b0e134b622ce332058c80a400b9a0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Moblin/Various/Settings/Settings.swift:499-503 | Moblin/Various/Settings/Settings.swift:928-932 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a94c2ab0edc62423a5507ac79dd0248822bbac4b5dec5157daa478edb06164c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/Various/Utils/FileSystemUtils.swift:28-37 | Moblin/Various/Utils/FileSystemUtils.swift:39-49 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Utils/FileSystemUtils.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"128efa591de8b60a6e752ee5e776f75eddd3075046a8521bf3efc24c14a313ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceSettingsView.swift:49-60 | Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceSettingsView.swift:62-78 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceSettingsView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0954523ad30f0edfd2dd6f82adde32efb30a546ef89c9b128510f657cbde3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/WidgetSettingsView.swift:177-190 | Moblin/View/Settings/Scenes/Widgets/Widget/WidgetSettingsView.swift:192-205 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/WidgetSettingsView.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd2c35033e271690907e0336913efbe9e53c8e5477a7da938f51555a895e687"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Moblin Watch/Various/ModelScoreboard.swift:115-122 | Moblin Watch/Various/ModelScoreboard.swift:124-131 | Moblin Watch/Various/WatchModel.swift:467-474 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/ModelScoreboard.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab64e22f057b34d0c600a62dc1b6a86bdc3906ec09238a83934b756a50e1a158"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift:167-182 | Moblin/Media/HaishinKit/Media/Video/BufferedVideo.swift:120-134 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9f3df03b8dbf04a7760c6333f3aa2fb060c432336bea844cf3a8083bfdb0ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Moblin/Various/Model/Model.swift:2718-2730 | Moblin/Various/Model/Model.swift:2750-2762 | Moblin/Various/Model/Model.swift:2782-2794 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ab1b68953062cbf26470436afcdef79c98d51533922d17604a3cb308504efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin Watch/Various/ModelScoreboard.swift:140-150 | Moblin/Various/Model/ModelScoreboard.swift:815-825 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/ModelScoreboard.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5624547bc9c6a2a28b28ee97e8117954746d108109187c15db0a5cef86cb94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin Watch/View/Preview/PreviewView.swift:8-23 | Moblin/View/Stream/Overlay/Right/AudioLevelView.swift:131-146 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/View/Preview/PreviewView.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe8448dfff2a83dee38ec2615d5a16ea28ddd6f50b0cada1d28c64ffa6b5799"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Moblin/Media/RtspClient/RtspTransport.swift:313-325 | Moblin/Media/RtspClient/RtspTransport.swift:327-339 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspTransport.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64af1d6b4626d19a2b3891d2e7201c58026eb9f786bf15a8e743c96d4fde664"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/Various/Settings/SettingsIngests.swift:147-153 | Moblin/Various/Settings/SettingsMoblink.swift:40-46 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsIngests.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bada820ff8fdfd8f7119ebd4ecec014bc6bc2a93d0f5906cbc9eeafd51c7cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/Various/Settings/SettingsScene.swift:1366-1375 | Moblin/Various/Settings/SettingsScene.swift:1377-1386 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"649f085e46c1798bc0e7d38ee29d9b7ad6d3f0d8c0568248e226166a3dfc5e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Moblin/View/Settings/Chat/ChatTextToSpeechSettingsView.swift:7-23 | Moblin/View/Settings/Chat/ChatTextToSpeechSettingsView.swift:29-45 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Chat/ChatTextToSpeechSettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3401cfc01e1040909414d9d039afb7c80d050327eaabcd0aa4e206b78f5bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift:152-166 | Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift:168-182 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/StreamOverlayLeftView.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"387ac465727ea364b9f627ca611eb63213861fb3b08856ba4ee3a8997742d425"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/Media/RtmpServer/RtmpServerChunkStream.swift:277-287 | Moblin/Media/RtmpServer/RtmpServerChunkStream.swift:289-302 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtmpServer/RtmpServerChunkStream.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"97527fbdf30bc0a70780e740ead80fa80b51e27d8d4645acbd3218870f3cb473"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Moblin/StreamingPlatforms/Kick/KickApi.swift:515-524 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:266-275 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:277-286 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Kick/KickApi.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"9340afb53c3aca581f0fa9d41b423a12aed87f0b7ae452357d4d5aa2d4fd82c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 4\u002B corresponding lines): Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:420-430 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:432-443 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:445-458 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:460-463 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:465-468 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:616-626 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:637-651 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cbd13b071d8e6e51847486d02d654cbf4719b30e701aeb16f65d938c8a297b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): Moblin/StreamingPlatforms/Twitch/TwitchEventSub.swift:783-794 | Moblin/StreamingPlatforms/Twitch/TwitchEventSub.swift:796-809 | Moblin/StreamingPlatforms/Twitch/TwitchEventSub.swift:830-842 | Moblin/StreamingPlatforms/Twitch/TwitchEventSub.swift:854-866 | Moblin/StreamingPlatforms/Twitch/TwitchEventSub.swift:868-879 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchEventSub.swift"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4772ca5e2f6e6f635188d1e1a88d78b69cdbe318e4cd474abc0e5669f570a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/Various/Model/ModelRistServer.swift:50-56 | Moblin/Various/Model/ModelRistServer.swift:58-64 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRistServer.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"66754725e6681143c2400dc6fddb1957c94f2c5175f58e24c5ad28e7cfdab76e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/Media/HaishinKit/Rtmp/RtmpStream.swift:307-316 | Moblin/Media/HaishinKit/Rtmp/RtmpStream.swift:318-331 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Rtmp/RtmpStream.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f68a2f974942eb3fe579bfb4d5646f71819872e29ab53ca49fb53e879f6a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/StreamingPlatforms/OpenStreamingPlatform/OpenStreamingPlatformChat.swift:116-124 | Moblin/StreamingPlatforms/Soop/SoopChat.swift:93-100 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/OpenStreamingPlatform/OpenStreamingPlatformChat.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9154aeafaa6a20a9b020153788457b0a224cb2fe209e1250708439982a9b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/Various/ChatTextToSpeech.swift:81-96 | Moblin/Various/ChatTextToSpeech.swift:98-113 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/ChatTextToSpeech.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e0e09403f14fe6ac7a80d86f71e8921b5c43e3bf788b7d37d70e6cfe31a5c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/VideoEffects/Replay/ReplayEffect.swift:297-307 | Moblin/VideoEffects/Replay/ReplayEffect.swift:317-326 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Replay/ReplayEffect.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb57cfb550ad2a8b008fa175eacc4ff787dde92d21c7a8d57bc02702509cc58d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): Moblin/View/ControlBar/QuickButton/QuickButtonDjiDevicesView.swift:32-50 | Moblin/View/ControlBar/QuickButton/QuickButtonLutsView.swift:19-35 | Moblin/View/ControlBar/QuickButton/QuickButtonMacrosView.swift:45-65 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/QuickButtonDjiDevicesView.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ba4dd50e5324807b66ea5e624117c8c595d744deecf31b52bd654fe48c205b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardYouTubeSettingsView.swift:8-23 | Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardYouTubeSettingsView.swift:25-38 | Moblin/View/Settings/Streams/Stream/YouTube/StreamYouTubeSettingsView.swift:470-483 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardYouTubeSettingsView.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"168c6bb0866fb5f389d358d064a468c02cf15d2b8c332aba64ac5410dfb39e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Moblin/Various/Model/ModelChatBot.swift:131-142 | Moblin/Various/Model/ModelChatBot.swift:144-156 | Moblin/Various/Model/ModelChatBot.swift:199-212 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChatBot.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4b0b3c97930c2048421de0aa6c7b22f54cee37d047777f9e525a238733b6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 5\u002B corresponding lines): Moblin/Various/Settings/SettingsHttpProxy.swift:23-28 | Moblin/Various/Settings/SettingsIngests.swift:75-80 | Moblin/Various/Settings/SettingsIngests.swift:309-314 | Moblin/Various/Settings/SettingsIngests.swift:483-488 | Moblin/Various/Settings/SettingsMoblink.swift:20-24 | Moblin/Various/Settings/SettingsRemoteControl.swift:169-174 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsHttpProxy.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d1bf548cdf99c495e06e05903c5804116b0587f61534ace09ac1fcc977d9bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardImageSettingsView.swift:11-24 | Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardSlideshowSettingsView.swift:64-77 | Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardTextSettingsView.swift:10-26 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardImageSettingsView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b9ca6d6901cf67e9710acf6bcaad1bb7aae15035ad2f522d43aed180429230"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:335-340 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:342-349 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:351-356 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a7b5ae46fac7767b8c2ba78b704b63e6cb785585b99fcc0aeb46858028dc64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/Various/Model/ModelScoreboard.swift:584-594 | Moblin/Various/Model/ModelScoreboard.swift:596-607 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScoreboard.swift"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d39ef6078fd15308aeeca58b23e09f4c22e1d15f244a167e8b5997cb4b37414"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/Media/HaishinKit/Media/Audio/AudioUnit.swift:177-187 | Moblin/Media/HaishinKit/Media/Video/VideoCaptureSession.swift:514-527 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/AudioUnit.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"903b950f928efed9ae6b8d773184629f8271f2d3848c021ce79f42cfcf9196fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Moblin/StreamingPlatforms/Kick/KickAuth.swift:145-150 | Moblin/StreamingPlatforms/Twitch/TwitchAuth.swift:194-199 | Moblin/StreamingPlatforms/YouTube/YouTubeAuth.swift:25-32 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Kick/KickAuth.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"895c59fc176060dbee3df7a4a2012ee4c54c0708dd519ae543cb43f1196ede03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): Moblin/Various/Model/ModelTwitch.swift:295-307 | Moblin/Various/Model/ModelTwitch.swift:475-485 | Moblin/Various/Model/ModelTwitch.swift:502-512 | Moblin/Various/Model/ModelTwitch.swift:514-524 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b7d2ce8d7b7cd355aeb894b47e05a8be453dc856aad3482e0f3852f980de25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): Moblin/Various/Settings/SettingsDjiDevice.swift:58-81 | Moblin/Various/Settings/SettingsDjiDevice.swift:83-106 | Moblin/Various/Settings/SettingsDjiDevice.swift:108-131 | Moblin/Various/Settings/SettingsDjiDevice.swift:133-156 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsDjiDevice.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d53f256aa22ba6768117ce107159d6407f32380ce51da0c625920059a7c9c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/View/Settings/Camera/VideoStabilization/VideoStabilizationSettingsView.swift:7-18 | Moblin/View/Settings/Scenes/Scene/SceneSettingsView.swift:7-17 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Camera/VideoStabilization/VideoStabilizationSettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eb6d794d9bb266abd3f38a81b175d222168d789c5f0a2adc326113edde733a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift:39-48 | Moblin/View/Settings/Tesla/TeslaSettingsView.swift:29-39 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"38830729be5d760b9a92d343c3cd0abdbfc1066a32bb38121c7662fae7579274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift:487-498 | Moblin/VideoEffects/VideoSourceEffect.swift:166-177 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f96faf141d6aac1dfeea5113ee1392360b59e61855aa7381e7eab6b20b23f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Moblin/VideoEffects/VTuber/Live2DRenderer.swift:270-288 | Moblin/VideoEffects/VTuber/VTuberVrmEffect.swift:178-193 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/VTuber/Live2DRenderer.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3473caa786e1272788925b5fea98f15a464e3e0f1f0b80850dc068753548be4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/Various/Gimbal.swift:17-28 | Moblin/Various/Gimbal.swift:101-114 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Gimbal.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b03f551eaa6cea147cd627e9b1c48c3fdb9ce120b114be2658be025f663a559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Moblin/Various/Utils/CameraUtils.swift:208-216 | Moblin/Various/Utils/CameraUtils.swift:218-226 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Utils/CameraUtils.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a505a589b9b5fe00b171a608f2b4534932b44baf4bfb1553a0343c151e08d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/Various/Model/ModelSrtClient.swift:61-68 | Moblin/Various/Model/ModelRtspClient.swift:57-63 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelSrtClient.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50f2d79e925e696d55799641ce0b52c2ef30abcb054f8a524dcaca4549e17c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Moblin/Various/Settings/SettingsChat.swift:713-719 | Moblin/Various/Settings/SettingsDeepLinkCreator.swift:234-239 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c89aec52fa4370492980c2e437af25fad11e54d11179e765e5e32e020f6b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/VideoEffects/ChatEmoteComboEffect.swift:128-136 | Moblin/VideoEffects/Text/TextEffect.swift:338-344 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/ChatEmoteComboEffect.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c020342d3b6bd89d5cfaff1b8bd4b76d1d783ba082cfc866180e68fb0a4ec2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1433-1444 | Moblin/View/Settings/Scenes/Widgets/Widget/Crop/WidgetCropSettingsView.swift:7-15 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdaba9e2f733c680709c3fb9e580bac84dbc559761a08b3528e2085a32b9a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/Obs/ObsWebSocket.swift:715-724 | Moblin/RemoteControl/RemoteControlAssistant.swift:249-259 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c600aa38705cb4c96050ab8061f1ecf9e0714f80035be17720aed2fcbcdd5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Moblin/View/Settings/Streams/Stream/Srt/StreamSrtConnectionPriority2View.swift:31-42 | Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:40-48 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Srt/StreamSrtConnectionPriority2View.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7454e0e21e315d5fad224b9a0d1c314fa5e593426867ee464cc26a32e87024e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Common/Various/Validate.swift:26-37 | Moblin/View/Settings/Scenes/Widgets/Widget/Crop/WidgetCropSettingsView.swift:17-25 | Moblin/View/Settings/Scenes/Widgets/Widget/Effects/AnamorphicLensEffectView.swift:13-24 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/Validate.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fd7cadaa3ed5503ffb21cc10a5854538d2416aae8adb1313c0e2daf5d3bd88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift:420-429 | Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift:716-725 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e7966980e94a47e07125c09cd6f63aa7af3a13237f93d083c8cf48615bd9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Moblin/Obs/ObsWebSocket.swift:566-577 | Moblin/Obs/ObsWebSocket.swift:680-690 | Moblin/Obs/ObsWebSocket.swift:692-703 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c71e6372739d8b86769b300c51d3798736c454c922fcbb924f796b7e0d44be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Moblin/Moblink/MoblinkProtocol.swift:48-53 | Moblin/RemoteControl/RemoteControl.swift:1474-1479 | Moblin/VideoEffects/Browser/BrowserEffectServer.swift:40-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkProtocol.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"511a396864bc5ee1cbeb56b51795214985f92e59dc2f7d736e0b9b00566c7ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Moblin/Moblink/MoblinkProtocol.swift:67-72 | Moblin/RemoteControl/RemoteControl.swift:1497-1502 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkProtocol.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9cde39896fd181a40ed051dd9ed0518b8545b50dad5f648b6bf23788a14fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Moblin/Various/Model/ModelDjiDevice.swift:65-73 | Moblin/Various/Model/ModelGoProDevice.swift:38-46 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelDjiDevice.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"126d9da582614164958cf618cec943ee06b224cb20a7052512535e3a6d18201c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSettingsView.swift:93-96 | Moblin/View/Settings/Scenes/Widgets/Widget/PomodoroTimer/WidgetPomodoroTimerSettingsView.swift:4-8 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSettingsView.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ae1ec7aeb77f1eccf8b1861d7d2e5a3a89ddda3cb9fabb09fe3726f69e528e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/Integrations/Dji/DjiDevice/DjiDevice.swift:206-213 | Moblin/Integrations/Tesla/TeslaVehicle.swift:599-607 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Dji/DjiDevice/DjiDevice.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"253acff95bb6becb9f362a15191cd434d107f30d907c6e8148f6fbabc8e5f10c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Moblin/Various/Settings/SettingsIngests.swift:66-71 | Moblin/Various/Settings/SettingsMoblink.swift:12-16 | Moblin/Various/Settings/SettingsRemoteControl.swift:160-165 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsIngests.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77564388c3fb92452f95f3672605147ea32b11f9b10da591e0aab3e8175486a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Moblin/VideoEffects/ImageEffect.swift:50-59 | Moblin/VideoEffects/QrCodeEffect.swift:38-51 | Moblin/VideoEffects/SnapshotEffect.swift:51-64 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/ImageEffect.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"72570a3d88f4029de6c78648eb9fcd1b1988c1b1fc81679e9b0998c4111354f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Moblin/View/Utils/PositionEditView.swift:22-35 | Moblin/View/Utils/SizeEditView.swift:18-31 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/PositionEditView.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8763f228acc940ec0aa2aabe1d0e497c13bd89c9c2b53e3f2a47cf98c43006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Moblin/Various/Settings/Settings.swift:680-683 | Moblin/Various/Settings/SettingsCatPrinter.swift:77-81 | Moblin/Various/Settings/SettingsDjiDevice.swift:307-310 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f88b3bbd618b055777a0176d7c660f6ba5e4b68d93fcc6b61d087deff6e8d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Moblin/Various/Settings/Settings.swift:902-906 | Moblin/Various/Settings/SettingsDeepLinkCreator.swift:297-300 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"4512d77a5ee52388f56b5702d97cdc5a1edea4637742945b77aa24a9bcdd2a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Moblin/Various/Settings/SettingsChat.swift:685-689 | Moblin/Various/Settings/SettingsScene.swift:3670-3675 | Moblin/Various/Settings/SettingsStream.swift:1016-1021 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e942cc4469d8eccdaebc1e825b606406cb02443e28a1058f9b2f718994f658"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift:192-203 | Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatModerationView.swift:321-332 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a612f8673e0c160d49568efc18cbf1f8cd53330aed5647ed71597dd2e2416c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Moblin/Integrations/CatPrinter/CatPrinter.swift:52-58 | Moblin/Media/HaishinKit/Srt/SrtSender.swift:375-381 | Moblin/Moblink/MoblinkRelay.swift:136-143 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/CatPrinter.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1609ab42ea07035fba87e1c354de7ce9907d8c46063f882813f2072d2ed164c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Moblin/Moblink/MoblinkStreamer.swift:225-231 | Moblin/RemoteControl/RemoteControlAssistant.swift:794-799 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkStreamer.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e7102bbb489e0122e70dc1293e8d39aa2dad03717419dcc4f62ec8ba20f639"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/View/ControlBar/ControlBarLandscapeView.swift:235-241 | Moblin/View/ControlBar/ControlBarPortraitView.swift:8-14 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/ControlBarLandscapeView.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abef84da02f2a2dff80ab280c8ab8023c3df9d4e23693aadd6264383781bb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/View/Settings/DeepLinkCreator/DeepLinkCreatorStreamSettingsView.swift:152-159 | Moblin/View/Settings/Streams/Stream/ObsRemoteControl/StreamObsRemoteControlSettingsView.swift:7-17 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DeepLinkCreator/DeepLinkCreatorStreamSettingsView.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a189b5ca00d341af49ef5555464f8e8f29033417062e0012185884b7b29f3021"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsImageSettingsView.swift:36-41 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSoundSettingsView.swift:19-23 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsImageSettingsView.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"458ac8dac1be0309eecf5174e3fa5892f2bdc2f8169be0d4c9dbc34accff98f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Moblin/Integrations/BlackSharkCooler/BlackSharkCoolerDevice.swift:128-132 | Moblin/Integrations/CatPrinter/CatPrinter.swift:469-473 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/BlackSharkCooler/BlackSharkCoolerDevice.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5751a9d7ad91608447220cc3c70956c2804bd7d13700a9922061d10e9a54ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/Moblink/MoblinkRelay.swift:145-152 | Moblin/RemoteControl/RemoteControlStreamer.swift:247-254 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkRelay.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1789656cd9ab5de30fdf562f64763bd3c4006c3fbba5add7837b46d168a92a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Moblin/Various/Settings/Settings.swift:2376-2383 | Moblin/Various/Storages/ReplaysStorage.swift:89-97 | Moblin/Various/Storages/StreamingHistory.swift:145-152 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5161fcf6a5053f15a4ca709dad9464847f13750c9a346520eda0b01cd1ec05ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Moblin/Media/RtmpServer/RtmpServer.swift:28-39 | Moblin/Media/Webrtc/WhipServer/WhipServer.swift:24-34 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtmpServer/RtmpServer.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3810804610214db4a0e6aa799d29c555d26c1a978002327440ec9b2bebb9aa08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/Various/Model/ModelMoblinCloud.swift:763-770 | Moblin/Various/Model/ModelRemoteControl.swift:1220-1227 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"062ef35fae79da7a01b01041de7955e0a973b7a79f386ed963d61688e42b7cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Moblin/Media/HaishinKit/Media/Processor.swift:242-244 | Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift:342-346 | Moblin/Various/Media.swift:755-757 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Processor.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c9a1adf6b705b4e4df650c6ffe0d198cb228524a9d6de69c52e81c7532d4ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Moblin/Various/Model/ModelCatPrinters.swift:157-161 | Moblin/Various/Model/ModelWorkoutDevice.swift:72-76 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelCatPrinters.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1b8f6777d1a5b200bdb91200bfbc4c21f03e0452284e0314c65a9b21024938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Moblin/Various/Model/ModelSrtClient.swift:5-9 | Moblin/Various/Model/ModelWhipServer.swift:9-13 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelSrtClient.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ef7638e145e81fea55f6a3c7c3701f134d2ced5ccd699b40b07102dcb0d31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Moblin/Various/Model/ModelMoblinCloud.swift:808-810 | Moblin/Various/Model/ModelRemoteControl.swift:1365-1367 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44e9f6da5de5a1ed4a9a00aa2b21152896ed7a9d1ad8fa89be8e5bf00d245e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Moblin/Various/Settings/Settings.swift:673-676 | Moblin/Various/Settings/SettingsCatPrinter.swift:71-75 | Moblin/Various/Settings/SettingsDjiDevice.swift:302-305 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"d185f1f08923c37b2af525c9a6ed95fb897353da3a60176d502278507ced3c40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Moblin/Various/Settings/Settings.swift:894-898 | Moblin/Various/Settings/SettingsDeepLinkCreator.swift:290-293 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"6404639beaf3b288512054e2b0c30d44045e3f48781e33b1c834384f491a156f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Moblin/View/Settings/DeepLinkCreator/DeepLinkCreatorStreamSettingsView.swift:7-14 | Moblin/View/Settings/Streams/Stream/Video/StreamVideoSettingsView.swift:180-188 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DeepLinkCreator/DeepLinkCreatorStreamSettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a250657b4e2673310e395bc1eca2e6c7d8dc5bd63799d791bd37cf047d3aaaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Moblin/Media/Srtla/Server/SrtlaServer.swift:248-252 | Moblin/Media/Srtla/Server/SrtlaServerClientConnection.swift:117-122 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/Srtla/Server/SrtlaServer.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a8935273b1a1584f9be1ee95f8f81d853757ec120f756c81e811e94cd172f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Moblin/Various/Model/ModelRistServer.swift:26-29 | Moblin/Various/Model/ModelRtmpServer.swift:5-8 | Moblin/Various/Model/ModelSrtlaServer.swift:28-31 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRistServer.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a18c5a0e8690b51350a9e6fbf0b515834a6a3ff10a3657933c6136047ee09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Moblin/Media/HaishinKit/Media/Processor.swift:250-252 | Moblin/Various/Media.swift:763-767 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Processor.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7af0bba47f00b32b9abf932e3a6666d2bd6992b7f027470221eab6e706fc66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/VideoEffects/Replay/ReplayEffectReplayReader.swift:51-57 | Moblin/VideoEffects/Replay/ReplayEffectStingerReader.swift:24-30 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Replay/ReplayEffectReplayReader.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b755a29f9daa13fe09e9b493175e61f78b423775452fd1e0e8b71ba862761d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:24-30 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtBelabox.swift:41-45 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e456abc7809dbc24bdeb6423656f5dd006dfad26af5e8704ede4adf8d35661c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Moblin/Media/HaishinKit/Codec/Audio/AudioEncoder.swift:103-108 | Moblin/Media/HaishinKit/Media/Recorder.swift:435-440 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Codec/Audio/AudioEncoder.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8e86dde48f1dc2f4a08827bce370b1095815023a42ef090890e54c081d15b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Moblin/View/Settings/Audio/AudioSettingsView.swift:33-39 | Moblin/View/Settings/DeepLinkCreator/DeepLinkCreatorStreamSettingsView.swift:103-109 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Audio/AudioSettingsView.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6844bf9c8cf9941604427261625eb5f372d8c3189e3d828b647c4a42847e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Common/Various/CommonUtils.swift:814-821 | Moblin Watch/Shared/WatchProtocol.swift:257-263 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/CommonUtils.swift"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f52b81e49f4ae2f609af70fef1eeac431295b8d9635d7b3163859ede0f2d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Moblin Watch/Various/ModelScoreboard.swift:53-55 | Moblin/Various/Model/Model.swift:2615-2617 | Moblin/VideoEffects/Scoreboard/ScoreboardEffectPadelView.swift:36-38 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/ModelScoreboard.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e0fe39bad79e7ab0bfb42da061791b2fe3fed200d77c28cc93299784f09eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Moblin/RemoteControl/RemoteControlStreamer.swift:586-588 | Moblin/RemoteControl/RemoteControlWeb.swift:545-547 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlStreamer.swift"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"92283e04f5648405894ca04dfbe0541908811e1f004ff2d792efc9f1015c03dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Moblin/Various/Storages/AlertMediaStorage.swift:22-24 | Moblin/Various/Storages/MediaPlayerStorage.swift:22-24 | Moblin/Various/Storages/ReplayTransitionsStorage.swift:18-20 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Storages/AlertMediaStorage.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b5a706fad2dec17f30bbfd827724f8655db457aa4ca9873a1109ac4c54f341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Moblin/VideoEffects/DrawOnStreamEffect.swift:100-104 | Moblin/VideoEffects/SepiaEffect.swift:21-25 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/DrawOnStreamEffect.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9b7e35998751c89f6af6427bad78288eed41c24f47fa75e022e9de602c6462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Moblin/RemoteControl/RemoteControl.swift:653-662 | Moblin/Various/Settings/SettingsScene.swift:638-647 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5caa97ce790d0a8bcdd76d220dd7baf68e106e98e923798756cb4f01cae6385"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Moblin/View/Settings/Scenes/Widgets/Widget/Browser/WidgetBrowserSettingsView.swift:34-40 | Moblin/View/Settings/Scenes/Widgets/Widget/Crop/WidgetCropSettingsView.swift:43-49 | Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1425-1431 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Browser/WidgetBrowserSettingsView.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7143efe0043686f870ca13bc282eba0cdc5f76b060e3047b015d56a36506a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:199-241 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift:216-258 \u2014 before extracting anything, compare \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift\u0060 and \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd801888472a87558777f498c6124ae886d6a63866ce7613830c3f5fd445630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): Moblin/Various/Model/ModelMacros.swift:399-431 | Moblin/Various/Model/ModelRemoteControl.swift:677-709 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Model/ModelMacros.swift:399\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Various/Model/ModelMacros.swift:433\u0060 calls \u0060info\u0060 and \u0060Moblin/Various/Model/ModelRemoteControl.swift:710\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMacros.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad702f8f0565d1708227f01fe6a70ce838d91193df939f2a77491ccf3b88fcef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/AudioSpecificConfig.swift:35-64 | Moblin/Media/HaishinKit/Mpeg/MpegTsAudioConfig.swift:58-87 \u2014 before extracting anything, compare \u0060Moblin/Media/HaishinKit/Mpeg/AudioSpecificConfig.swift\u0060 and \u0060Moblin/Media/HaishinKit/Mpeg/MpegTsAudioConfig.swift\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/AudioSpecificConfig.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3488a210b50c3d8f8a0fb24ee97009edadabf92dd0c4aa2890bfc7632977cb41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201330 lines \u00D7 2): Moblin/Various/Model/ModelStream.swift:446-475 | Moblin/Various/Settings/SettingsStream.swift:153-177 \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 \u0060Moblin/Various/Model/ModelStream.swift:446\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":"Moblin/Various/Model/ModelStream.swift"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e627fdd247fb4f0baa0fc7780ed5963c2668c9c41be2958d025b5529dfe57c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift:28-56 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersRtmpSettingsView.swift:28-56 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersRtmpSettingsView.swift\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b46c85e2d438a974e651da91250dea014ae5a7c1aea70cd1701e10dada43e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:102-127 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift:119-144 \u2014 before extracting anything, compare \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift\u0060 and \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cdad6630ca0fbb262dad1cff16ca73000eadbcee6d83edee9d902b9e3870c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift:16-41 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSei.swift:16-41 \u2014 before extracting anything, compare \u0060Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift\u0060 and \u0060Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSei.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9e4ff2f26ccaf9c587c3440807371db6e35ab67520d272733f95dfaccc9720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGenericSettingsView.swift:224-249 | Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardModularSettingsView.swift:74-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGenericSettingsView.swift:224\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":"Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGenericSettingsView.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"93249016884c4c80cfc8d1e350f3f764ad747faa80de886471570621917db4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift:10-34 | Moblin/View/Settings/Tesla/TeslaVehicleScannerSettingsView.swift:9-33 | Moblin/View/Settings/WorkoutDevices/WorkoutDeviceScannerSettingsView.swift:10-34 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift\u0060 and \u0060Moblin/View/Settings/WorkoutDevices/WorkoutDeviceScannerSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 65 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 \u0060Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift:10\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/View/Settings/Tesla/TeslaVehicleScannerSettingsView.swift:36\u0060 calls \u0060Text\u0060 and \u0060Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift:36\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3798e8ab7267d633864ec7893adda32e50e445dbc8d9015df58fd49f41ca6c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift:227-251 | Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift:567-591 \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 \u0060Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift:227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1808fe64d25ed2fe6243083b8f37f6e8c0671b1afd168e1248db8413c4eb274a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift:31-54 | Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift:22-45 | Moblin/View/Settings/WorkoutDevices/WorkoutDeviceScannerSettingsView.swift:22-45 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift\u0060 and \u0060Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift:31\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac1c0c9186e9d09c5be90e0732ce28dd740e236ece3674e36c1cdd272c785be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Common/Various/Validate.swift:174-197 | Common/Various/Validate.swift:200-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/Validate.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f7bec0e4bce8197d8457b95e88bae99a1e78fe7333b5da79b20fdea9a041b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift:223-246 | Moblin/View/Settings/GoPro/GoProBleDeviceSettingsView.swift:180-202 \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 \u0060Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift:223\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4951e54286764e13f1667e93c379207c813044eeac966024853c2b8592a5ddb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:200-223 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:160-183 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a8fa090b768f2e3a08bfb8f29e99cea237a6de8669431d02b38b862e5e01e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:129-151 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift:146-168 \u2014 before extracting anything, compare \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift\u0060 and \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"88febc68f99ef0d6e1f2278acf4e7188d740ecb38ee9ee901a4df55d8ac53b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift:43-65 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSei.swift:43-65 \u2014 before extracting anything, compare \u0060Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift\u0060 and \u0060Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSei.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66cd46128244ec923fc42ba6bfece4a21c066d4260f2e9319d2d09ebfdda325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:83-104 | Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:197-219 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:83\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d3d033e8771f9d054d6359f2b8e55ee935fa35f314339505edbd65f22a662b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 8): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:7-28 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:51-72 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:96-117 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:140-161 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsMoblinCloudSettingsView.swift:7-28 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:7-28 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:50-71 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:96-117 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift: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":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cbb5f99eb536d351c3cb85e7669975cb70261eb17ddc0a5e31bc13aa3e5c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Moblin/Various/Settings/SettingsScene.swift:2765-2785 | Moblin/Various/Settings/SettingsScene.swift:2807-2827 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":2765}}}],"partialFingerprints":{"codehealthFindingId/v1":"2398cbc7528890b5bbdcb032b0cde0b28343b25b61524e188094621750c3e54e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Moblin/View/Stream/Overlay/StreamOverlayRightView.swift:719-739 | Moblin/View/Stream/Overlay/StreamOverlayRightView.swift:766-786 \u2014 both copies are in the same file, so extract the block 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":"Moblin/View/Stream/Overlay/StreamOverlayRightView.swift"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c908c0279c6f87d23c3f53953c6a707e30429229f81d4df0f54694196469979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:948-967 | Moblin/View/MainView.swift:11-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:948\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":"Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99829eac83ce60ecc8cc110f5eec935f53d452e5c7d87d3db6aed9cdac7d3f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift:85-103 | Moblin/View/Settings/Ingests/RtmpServer/RtmpServerSettingsView.swift:93-111 | Moblin/View/Settings/Ingests/SrtlaServer/SrtlaServerSettingsView.swift:111-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift:85\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":"Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"19404ca27964d98dd1b9c120f4cdfaff9d3a87d87ea52fd9f729537bf8f72f6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:179-197 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift:196-214 \u2014 before extracting anything, compare \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift\u0060 and \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"173feb80b7078f101c2aa3d1528803c552f094810ea91356736b8294f7afcab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): Moblin/View/Stream/StreamOverlayView.swift:110-127 | Moblin/View/Stream/StreamOverlayView.swift:130-148 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Stream/StreamOverlayView.swift:110\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/StreamOverlayView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af248afb3375bf491d7c685ac9f61f772344e87f4eb66bcb6a9a49a330b919c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Moblin Screen Recording/Shared/SampleBufferReceiver.swift:123-140 | Moblin/Media/RtspClient/RtspClient.swift:378-395 \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":"Moblin Screen Recording/Shared/SampleBufferReceiver.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86f1c16cdbe974c878c671c4fa48dabf4770216666af4bc4400ebc008093b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Moblin/Integrations/Emotes/Bttv.swift:16-33 | Moblin/Integrations/Emotes/Seventv.swift:34-51 \u2014 before extracting anything, compare \u0060Moblin/Integrations/Emotes/Bttv.swift\u0060 and \u0060Moblin/Integrations/Emotes/Seventv.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Emotes/Bttv.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4097b22f88ccfd2f1af3bed17977bffa3dff55ed3dbf20e9e648fff19e849fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift:50-62 | Moblin/Media/HaishinKit/Mpeg/Hevc/MpegTsVideoConfigHevc.swift:56-73 \u2014 before extracting anything, compare \u0060Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift\u0060 and \u0060Moblin/Media/HaishinKit/Mpeg/Hevc/MpegTsVideoConfigHevc.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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 \u0060Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift:50\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":"Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9023996524a7960539a9cee4359fb40a008447933ffd68b69f3caa1672ad94e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Moblin/View/Settings/About/AboutAttributionsSettingsView.swift:147-164 | Moblin/View/Settings/About/AboutAttributionsSettingsView.swift:173-190 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Settings/About/AboutAttributionsSettingsView.swift:147\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/About/AboutAttributionsSettingsView.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfd3a39dc9b86243d042d845ab92e646927b612c8ede14bee26eab3275aee00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Moblin/View/Stream/Overlay/Right/SceneSelectorView.swift:61-78 | Moblin/View/Stream/Overlay/Right/SceneSelectorView.swift:103-120 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Stream/Overlay/Right/SceneSelectorView.swift:61\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/SceneSelectorView.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7de9e527df2e4f5a8c209e91c05437b46e25a95de0f87dfb4fa7f5529d4538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): Moblin Watch/Various/WatchModel.swift:658-674 | Moblin/Various/Model/ModelWorkout.swift:203-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 \u0060Moblin Watch/Various/WatchModel.swift:658\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/WatchModel.swift"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6b4a99a903a52b337e23e39fbff660981c7c1c9d8298fbbd03c14159ad8ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Moblin/Various/Model/ModelTwitch.swift:852-868 | Moblin/Various/Model/ModelTwitch.swift:963-979 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Various/Model/ModelTwitch.swift:852\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"a978b9ff9b232503db0c2b1ff38a22fb704f11c0ab3d1508528a27af7990b914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRistSettingsView.swift:28-44 | Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomWhipSettingsView.swift:31-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRistSettingsView.swift:28\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRistSettingsView.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9c420d196cdfe517bade07f1dd534306644696c284a293e76f5e3c0a367f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 11): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift:35-50 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:19-34 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:63-78 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:108-123 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:152-167 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:240-255 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsMoblinCloudSettingsView.swift:19-34 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:19-34 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:62-77 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:108-123 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:200-215 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd66a3bff1e621e4eacc4fb12e043a297383bd8dedc4d9a2ca0dfb9fe9e9d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift:30-45 | Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift:22-36 | Moblin/View/Settings/Tesla/TeslaVehicleScannerSettingsView.swift:21-34 | Moblin/View/Settings/WorkoutDevices/WorkoutDeviceScannerSettingsView.swift:22-36 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift\u0060 and \u0060Moblin/View/Settings/CatPrinters/CatPrinterScannerSettingsView.swift\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift:30\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/View/Settings/Tesla/TeslaVehicleScannerSettingsView.swift:36\u0060 calls \u0060Text\u0060 and \u0060Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift:46\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceScannerSettingsView.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fae668c3a4afb67dca227e290253625ac0541e560a84fb86897d6831d30f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Moblin Watch/Various/WatchModel.swift:404-419 | Moblin/Various/Model/ModelWorkout.swift:71-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/WatchModel.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c009a9e0596266ebde43dcb4a3363d69ee136bece9ca43cc4d2c7c05998bb8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Moblin/Integrations/CatPrinter/CatPrinterCommands.swift:118-133 | Moblin/Integrations/CatPrinter/CatPrinterCommandsMxw01.swift:80-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/CatPrinterCommands.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4369a6bf9f0be1d812c02bee6cad3d4557fcb0bc52403bce6de1a0f2663e83b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Moblin/Media/HaishinKit/Whip/WhipStream.swift:55-70 | Moblin/Media/HaishinKit/Whip/WhipStream.swift:95-110 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Media/HaishinKit/Whip/WhipStream.swift:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Media/HaishinKit/Whip/WhipStream.swift:112\u0060 calls \u0060appendNalUnit\u0060 and \u0060Moblin/Media/HaishinKit/Whip/WhipStream.swift:71\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Whip/WhipStream.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a36a0ea0b5399607becadbc6e84d104912cd03bda45298fd0131583724748e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Moblin/View/Utils/TextEditNavigationView.swift:50-65 | Moblin/View/Utils/TextEditView.swift:69-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Utils/TextEditNavigationView.swift:50\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":"Moblin/View/Utils/TextEditNavigationView.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c9da969567f52c4b03edb5e5544a5ff89e2bb635d20987f53507f70a5b6046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift:31-45 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift:70-84 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift:101-115 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift:132-146 \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 \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a90d8bb297a3c41d67f1406648d92df3b1f58f66eaca360c8f4db0bf7537d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Moblin Screen Recording/Shared/SampleBufferReceiver.swift:123-137 | Moblin/Media/RtmpServer/RtmpServerChunkStream.swift:603-617 | Moblin/Media/RtspClient/RtspClient.swift:378-392 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin Screen Recording/Shared/SampleBufferReceiver.swift:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Screen Recording/Shared/SampleBufferReceiver.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fdb54bf7520bff427d6679955823e4e32259fc93826c873f33695028ae5f59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Moblin/Various/Detection.swift:9-23 | Moblin/Various/Detection.swift:112-126 | Moblin/VideoEffects/FaceEffect.swift:441-455 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Detection.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fed8913315ef4637fbf8c251f485c41db165a9c85d168eb37e2d8ef2d88a215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift:124-138 | Moblin/Media/HaishinKit/Media/Video/BufferedVideo.swift:95-109 \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 \u0060Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift:124\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/BufferedAudio.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4573a3815aa9f75dad30d0db11e4381a0da82a91cbda47d81ba58ed4c64ff41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/MpegTsReader.swift:201-215 | Moblin/Media/RtmpServer/RtmpServerChunkStream.swift:349-363 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Moblin/Media/RtmpServer/RtmpServerChunkStream.swift:348\u0060 calls \u0060info\u0060 and \u0060Moblin/Media/HaishinKit/Mpeg/MpegTsReader.swift:200\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/MpegTsReader.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"449c9da8e2c08c3c5917dcb8a3a642ef6320e79ab871dfb38fe84993f52186ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Moblin/Media/RtspClient/RtspClient.swift:437-451 | Moblin/Media/RtspClient/RtspClient.swift:499-513 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspClient.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"489d7538f320a4ffa31f311d6f6b8220f17de77924a4a4dc03a4357b5d67f94d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Moblin/Moblink/MoblinkStreamer.swift:385-399 | Moblin/RemoteControl/RemoteControlAssistant.swift:559-573 \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 \u0060Moblin/Moblink/MoblinkStreamer.swift:385\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkStreamer.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"f181e84745a897485556baf6d3aa0d6f7bfec0ffa47e0d5099f8216653e0becf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Moblin/VideoEffects/Text/TextEffectFormatter.swift:351-365 | Moblin/VideoEffects/Text/TextEffectFormatter.swift:694-708 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/VideoEffects/Text/TextEffectFormatter.swift:351\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":"Moblin/VideoEffects/Text/TextEffectFormatter.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cfd4d9f3f22a5f2a3df64cb2bb0ae566ebfc9789bdd9320048f300240b61d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift:272-286 | Moblin/View/Settings/GoPro/GoProBleDeviceSettingsView.swift:222-234 \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 \u0060Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift:272\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DjiDevices/DjiDeviceSettingsView.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7604c4a75e817f25f9ba7d13eb07f0f821e1e026beabee92b9803c419b47f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift:15-29 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSpeechToTextSettingsView.swift:15-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift:15\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsChatBotSettingsView.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b325c096a9358a2c72b42f7bf29a2a55a28ce8924380aab03de8705780f103a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupSettingsView.swift:14-28 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupSettingsView.swift:73-87 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupSettingsView.swift:14\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupSettingsView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05f88a5d83ed00ce9405fcb9f9dec824d4ea5d28746cf21ce86537f3b697c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Moblin/View/Stream/Overlay/Right/SegmentedPicker.swift:89-103 | Moblin/View/Stream/Overlay/Right/SegmentedPicker.swift:123-137 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Stream/Overlay/Right/SegmentedPicker.swift:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/SegmentedPicker.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad747073af96a05fd702778f3a425b6e801277d57623393345cc5ddec68f43b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): Moblin/View/Settings/Ingests/RtspClient/RtspClientSettingsView.swift:40-53 | Moblin/View/Settings/Ingests/SrtClient/SrtClientSettingsView.swift:39-52 | Moblin/View/Settings/Ingests/WhepClient/WhepClientSettingsView.swift:43-56 | Moblin/View/Settings/Ingests/WhipServer/WhipServerSettingsView.swift:90-103 \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 \u0060Moblin/View/Settings/Ingests/RtspClient/RtspClientSettingsView.swift:40\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/View/Settings/Ingests/RtspClient/RtspClientSettingsView.swift:55\u0060 calls \u0060count\u0060 and \u0060Moblin/View/Settings/Ingests/SrtClient/SrtClientSettingsView.swift:53\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Ingests/RtspClient/RtspClientSettingsView.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ab20cae82b3415bd3b88d709a87cdb1949652eb4bb75fb6620dce50b159f7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Moblin/Integrations/CatPrinter/CatPrinterCommands.swift:135-148 | Moblin/Integrations/CatPrinter/CatPrinterCommandsMxw01.swift:97-110 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Integrations/CatPrinter/CatPrinterCommands.swift:135\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/CatPrinterCommands.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d501b611a76bb7544eac2218a795acf430487caa10379af8a3a99e1d3f9799a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift:124-137 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnit.swift:127-139 \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 \u0060Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift:124\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdda65c656b2d97e5922fc5d537a39ac2cb54ace3d195937fbb7454a87b14d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/MpegTsReader.swift:405-418 | Moblin/Media/HaishinKit/Mpeg/MpegTsReader.swift:450-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/MpegTsReader.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9f1b7c185d5e6897cf18a3587876edf5a400904d46b1806d0b1d7da64185af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Moblin/RemoteControl/RemoteControl.swift:374-387 | Moblin/Various/Settings/SettingsGameController.swift:142-155 \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 \u0060Moblin/RemoteControl/RemoteControl.swift:374\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":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dafb0b1e605bfd9b57cba726ae8d3e155f2d7fe41fd988a508a06b95da1bde2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Moblin/StreamingPlatforms/Kick/KickApi.swift:573-586 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:361-374 \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 \u0060Moblin/StreamingPlatforms/Kick/KickApi.swift:573\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Kick/KickApi.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"526db45bcfdc28065df6326d85ec87bbdcd0dfa457ce5406c15cf8a3393b8b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:224-237 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:240-253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e670c5823deba4216b2ef954c9bb7119886a950e597aafa20be8ca0a90d66ba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Moblin/Various/Model/ModelMoblinCloud.swift:400-413 | Moblin/Various/Model/ModelRemoteControl.swift:1106-1119 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Model/ModelMoblinCloud.swift:400\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"430fad517739e4d1c49083df8d6e67a10f7b586aa12a54064be99e5db1fbe1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Moblin/Various/Model/ModelTwitch.swift:417-430 | Moblin/Various/Model/ModelTwitch.swift:433-446 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Various/Model/ModelTwitch.swift:417\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e6fb76b464273500f9a8bc5026b2b5cb2d0f38ebc469ef8435ef42dcb54288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift:83-96 | Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift:113-126 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift:83\u0060 it does not close everything it opens, so those exact 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":"Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d00196bcca7fdecd8637eb1b776f41c11187ce2e60b323e2135465ec1f776f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Moblin/Integrations/Emotes/Bttv.swift:23-35 | Moblin/Integrations/Emotes/Ffz.swift:28-40 | Moblin/Integrations/Emotes/Seventv.swift:41-53 \u2014 before extracting anything, compare \u0060Moblin/Integrations/Emotes/Bttv.swift\u0060 and \u0060Moblin/Integrations/Emotes/Seventv.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Integrations/Emotes/Bttv.swift:23\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Emotes/Bttv.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6828f00f197f15c6d12179510d600b8cd03cf689c1926fd51cb55ec1bb72d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Moblin/View/Settings/Ingests/RistServer/RistServerStreamSettingsView.swift:60-72 | Moblin/View/Settings/Ingests/RtmpServer/RtmpServerStreamSettingsView.swift:65-77 | Moblin/View/Settings/Ingests/WhipServer/WhipServerStreamSettingsView.swift:48-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Ingests/RistServer/RistServerStreamSettingsView.swift: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":"Moblin/View/Settings/Ingests/RistServer/RistServerStreamSettingsView.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c010c95b1aa5b3f92cb785b3da9bf852b5313ccf706f734b88ff87518a2de02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:76-88 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift:93-105 \u2014 before extracting anything, compare \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift\u0060 and \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:76\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"760aec01c3746806f6b963f32f862f657d7a4b89283801db2e25f4d85b8ad919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift:381-392 | Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift:691-703 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift:691\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47cb47974ca79118f03c9dcb68fd8d15123cef7490037b432e555078f54efd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Moblin/RemoteControl/RemoteControl.swift:389-401 | Moblin/Various/Settings/SettingsGameController.swift:155-167 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf52a55acba2fda04f31afb11d16edb5c5b44e03dc0161442bbb593ea2dcd69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Moblin/RemoteControl/RemoteControlAssistant.swift:880-892 | Moblin/Various/Model/ModelTwitch.swift:1300-1312 \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 \u0060Moblin/RemoteControl/RemoteControlAssistant.swift:880\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"43709c0e74a37fc478a5750d1652edfe377bef73de6a2170d1815455f6389ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:802-814 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:850-862 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:802\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060subPath\u0060 to \u0060makeUrl(\u0022polls\u0022, [])\u0060 in one and \u0060makeUrl(\u0022predictions\u0022, [])\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc84405b723491962ca31c834b8d7b112634e057a1bac34033864d4250fb08c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift:396-408 | Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift:410-422 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift:396\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":"Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"575ce407a8100bf4bf918ce72887b17e7085307bfecd3a76537012c3b8195c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Moblin/VideoEffects/Replay/ReplayEffectReplayReader.swift:59-71 | Moblin/VideoEffects/Replay/ReplayEffectStingerReader.swift:32-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Replay/ReplayEffectReplayReader.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8973969178f8d8197c297670d99c0c463204917d3dede8aa88cede6bdee4b4c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift:14-26 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersRtmpSettingsView.swift:14-26 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersRtmpSettingsView.swift\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb071c56ca2abdeb1bdc72d578a042c46345edcc507f5c39588d96693c508a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Moblin/View/Stream/Overlay/Right/ZoomPresetSelctorView.swift:38-50 | Moblin/View/Stream/Overlay/Right/ZoomPresetSelctorView.swift:82-94 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Stream/Overlay/Right/ZoomPresetSelctorView.swift:38\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/ZoomPresetSelctorView.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6701de3ec745dc3d00cae0f2973aaa9d2419f05f2a3908a82e638ac342d7cdf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Moblin/Integrations/BlackSharkCooler/BlackSharkCoolerDevice.swift:102-113 | Moblin/Integrations/CatPrinter/CatPrinter.swift:440-451 | Moblin/Integrations/WorkoutDevice/WorkoutDevice.swift:119-130 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Integrations/BlackSharkCooler/BlackSharkCoolerDevice.swift:118\u0060 calls \u0060detectModel\u0060 and \u0060Moblin/Integrations/CatPrinter/CatPrinter.swift:456\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/BlackSharkCooler/BlackSharkCoolerDevice.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f393ec9b448e80a517d832c0f8d5eb1144dd130cdd7cdb201300447e9e887be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:80-91 | Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:194-205 | Moblin/View/Stream/Overlay/StreamOverlayChatView.swift:109-119 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:192\u0060 calls \u0060shouldShowMessage\u0060 and \u0060Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:78\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6819ef7a384fbcd95daecad81ad83467bd9bc4d17ad93703a4c8781a99d0a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceSettingsView.swift:11-22 | Moblin/View/Settings/CatPrinters/CatPrinterSettingsView.swift:4-15 | Moblin/View/Settings/WorkoutDevices/WorkoutDeviceSettingsView.swift:4-15 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060BlackSharkCoolerDeviceState?\u0060 in one and \u0060CatPrinterState?\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceSettingsView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a375c4e8c3b9e597f52a9e038bbd504db715946318748301938a4c4496296bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift:138-149 | Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift:174-185 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift:138\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":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9941ab7274e1ef14d9895ea28d56603068b3a7b84e79e58abfe45b54914eb1ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Moblin/Various/Settings/SettingsChat.swift:1001-1012 | Moblin/Various/Settings/SettingsScene.swift:1273-1284 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf9289340f2a582f2b1b298ec2724351592330ba84cdef2333e416a79767e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Moblin/Various/Settings/SettingsDjiDevice.swift:244-255 | Moblin/Various/Settings/SettingsGoPro.swift:152-163 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Settings/SettingsDjiDevice.swift:244\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsDjiDevice.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a19bcdfc246ec83dd77372fff330d4961a77003bdc166dd21f7edff88a62b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGenericSettingsView.swift:183-194 | Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardModularSettingsView.swift:43-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGenericSettingsView.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"774c57db5a3b5d4f9fa35478d43248e3ac5da36f8e84a1cc5709231af267b790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardVideoSourceSettingsView.swift:9-20 | Moblin/View/Utils/InlinePickerView.swift:23-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 \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardVideoSourceSettingsView.swift:9\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Wizard/WidgetWizardVideoSourceSettingsView.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"952e96e8ed5aaa5fced8d839baee1ae9dd825debc176601473288f98606f62a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Moblin/View/Settings/StreamDeck/StreamDeckLayoutSettingsView.swift:107-118 | Moblin/View/Settings/StreamDeck/StreamDeckLayoutSettingsView.swift:149-160 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Settings/StreamDeck/StreamDeckLayoutSettingsView.swift:107\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/StreamDeck/StreamDeckLayoutSettingsView.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c95fcb195c3bc97381fd003cb9e3b8ba476669bd023f9c73d5fe670ba2326a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Common/Various/Validate.swift:4-14 | Moblin/View/Settings/Streams/Stream/Srt/StreamSrtSettingsView.swift:9-19 | Moblin/View/Settings/Streams/Stream/Srt/StreamSrtSettingsView.swift:30-40 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/Validate.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c344ab9d481f28fd6b1688bf0a133c52dfb7d806185bbe2462c3ff342b3ad76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:76-86 | Moblin/View/ExternalDisplay/ExternalDisplayView.swift:64-74 | Moblin/View/Stream/Overlay/StreamOverlayChatView.swift:105-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"606709f9e704cecca7744dea915b747b6f539105e75d24283c662da948f67693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:952-962 | Moblin/View/MainView.swift:15-25 | Moblin/View/Stream/Overlay/Right/ReplayView.swift:36-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift:952\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":"Moblin/View/ControlBar/RemoteControlAssistant/ControlBarRemoteControlAssistantView.swift"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcba22c327ecbde5200444ae5bb6f4cd6c523e5ee506d944513b488a4d6c7075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:99-109 | Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:135-145 | Moblin/View/Stream/Overlay/Right/StreamOverlayRightFaceView.swift:18-28 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:99\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":"Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed7f51f22b29b94fcd1e17010fd019f220459c1995d4e471c357d66371a6e7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Moblin/Integrations/CatPrinter/AtkinsonDithering.swift:8-19 | Moblin/Integrations/CatPrinter/FloydSteinbergDithering.swift:8-19 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Integrations/CatPrinter/AtkinsonDithering.swift:8\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/AtkinsonDithering.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1e6384caedfd5064803f14ada4e1647e0fdfd438f0136e0fc7743e95f7d3de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Moblin/Media/HaishinKit/Srt/SrtStreamOfficial.swift:122-132 | Moblin/Media/SrtClient/SrtClient.swift:185-195 \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":"Moblin/Media/HaishinKit/Srt/SrtStreamOfficial.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"698701c0a0fa980a509439a76b70522a1ce60218d94f2997d229e29036b63cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Moblin/Various/Model/ModelDjiDevice.swift:145-155 | Moblin/Various/Model/ModelGoProDevice.swift:67-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060device\u0060 to \u0060SettingsDjiDevice\u0060 in one and \u0060SettingsGoProDevice\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelDjiDevice.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e2867637ceb28861bfe32e88e496690fe853f17b335d490c14fd64271ec897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Moblin/View/Settings/Debug/DebugSettingsView.swift:12-22 | Moblin/View/Settings/WorkoutDevices/WorkoutDeviceSettingsView.swift:33-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Debug/DebugSettingsView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc69328d484f53f427d1b4f79261938cb47a568028f4265cdd6aad932e194d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): Moblin/View/Settings/Display/DisplaySettingsView.swift:96-106 | Moblin/View/Settings/Display/QuickButtons/QuickButtonsButtonSettingsView.swift:27-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Display/DisplaySettingsView.swift:96\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":"Moblin/View/Settings/Display/DisplaySettingsView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da0713b17aa0390d87002e443f62d6959564a00e5eeebdc4380fa79e4cac756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:226-236 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:186-196 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:226\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"180a223b2ca57f236a34b8c3cadf438ee8ae1ee57d01c4300c3f8534c2be52f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Browser/WidgetBrowserSettingsView.swift:22-32 | Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1413-1423 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Browser/WidgetBrowserSettingsView.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"194e12bd4fa0324d3fa29e59439765eb9f8a7d85737a610744daf3d11590535c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Moblin/View/Utils/ValueEditView.swift:28-38 | Moblin/View/Utils/ValueEditView.swift:102-112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060offset\u0060 to \u0060Float\u0060 in one and \u0060Double\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/ValueEditView.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab5999f90c691fafdbb41bdd7ad4de329a718ea6d6e207b0df7b7c2322724de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:79-88 | Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:193-202 | Moblin/View/ExternalDisplay/ExternalDisplayView.swift:67-75 | Moblin/View/Stream/Overlay/StreamOverlayChatView.swift:108-116 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:192\u0060 calls \u0060shouldShowMessage\u0060 and \u0060Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift:78\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a52fb0a3ca78581e84d1f3ae53072098303342db553dc6f3260e9551efe62d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:99-108 | Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:135-144 | Moblin/View/Stream/Overlay/Right/StreamOverlayRightFaceView.swift:18-27 | Moblin/View/Stream/Overlay/Right/ZoomSliderView.swift:46-55 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:99\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/View/Stream/Overlay/Right/ZoomSliderView.swift:57\u0060 calls \u0060stopZoomSpeed\u0060 and \u0060Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift:109\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/CameraSettingsControlView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3a1062874c2e6b5cad0379b9f75e4a4015ce5029b2d0b8094970b78e319fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift:485-494 | Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift:506-515 \u2014 both copies are in the same file, so extract the block 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":"Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c62abd3588a55ed2d5b45990bfb444e2184847f5254b38338144be1f6d94170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift:221-230 | Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift:256-265 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift:221\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/MpegTsWriter.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aa94f26865ee4893874e88e4678803e953d73c7cf9533d1abdf7539ebff3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/Media/MobcamStream/MobcamStream.swift:81-90 | Moblin/Media/RtmpServer/RtmpServer.swift:82-91 \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 \u0060Moblin/Media/MobcamStream/MobcamStream.swift:81\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":"Moblin/Media/MobcamStream/MobcamStream.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e5fa91ab877169d7797a0385a066c804cd44c44820247fe6579179a505f7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/Media/RtspClient/RtspTransport.swift:137-146 | Moblin/Media/RtspClient/RtspTransport.swift:354-363 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Media/RtspClient/RtspTransport.swift:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspTransport.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8527044a28c7225db2d5b843660371d2d100d1b4f5bb4bc4b16f0b9b187ddff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:256-265 | Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:282-289 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift:256\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/YouTube/YouTubeApi.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f463753d08b2641f4a6b807d02a6c0a4d97dfee2dbb348581dcf19215601bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/Various/Media.swift:456-465 | Moblin/Various/Media.swift:494-503 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Various/Media.swift:456\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Media.swift"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bcd2e547bf5b16ca58dbf0b1db83ae29360933f04f1283c953f35c835e5866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/Various/Model/ModelTwitch.swift:906-915 | Moblin/VideoEffects/Alerts/AlertsEffect.swift:766-775 \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 \u0060Moblin/Various/Model/ModelTwitch.swift:906\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc9089ace49c226b0dd26ed213a76cb2af8770d03f1d50e8f95478931f3cf46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): Moblin/VideoEffects/Alerts/AlertsEffect.swift:600-615 | Moblin/VideoEffects/FaceEffect.swift:418-431 \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 \u0060Moblin/VideoEffects/Alerts/AlertsEffect.swift:600\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cd7c19a6d17976e99a1746221e2a2d00abd5b2a8951f5a014f03dc8c74e8b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationKickView.swift:13-22 | Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift:12-21 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationKickView.swift:13\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationKickView.swift:12\u0060 calls \u0060NavigationLinkView\u0060 and \u0060Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationTwitchView.swift:11\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/Moderation/QuickButtonChatModerationKickView.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdd1ac9768359fd1d567fa83fc0a1e25a92d1533b50ff379606cf3296d405d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Moblin/Media/MobcamStream/MobcamStream.swift:81-90 | Moblin/Media/RtmpServer/RtmpServer.swift:82-91 | Moblin/Media/Srtla/Server/SrtlaServer.swift:128-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Media/MobcamStream/MobcamStream.swift:81\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":"Moblin/Media/MobcamStream/MobcamStream.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9916283554af99e4ced2c5e6f0c6e14a97f8ff54d497b6656ff305a1afa5ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Moblin/StreamingPlatforms/Kick/KickApi.swift:527-535 | Moblin/StreamingPlatforms/Kick/KickApi.swift:538-546 | Moblin/StreamingPlatforms/Kick/KickApi.swift:549-557 \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 \u0060Moblin/StreamingPlatforms/Kick/KickApi.swift:527\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Kick/KickApi.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ffe027e0de7eab89fb647101930b4eb8cc62e0ce81bfe7ad038ea5ed71575c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Moblin/Various/Model/ModelTwitch.swift:855-863 | Moblin/Various/Model/ModelTwitch.swift:887-895 | Moblin/Various/Model/ModelTwitch.swift:966-974 \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 \u0060Moblin/Various/Model/ModelTwitch.swift:855\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b960a9dd278600fdb4e577162740d48fcfa738389851ffaf58a6fa5c7e7e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Moblin/VideoEffects/Alerts/AlertsEffect.swift:553-561 | Moblin/VideoEffects/Alerts/AlertsEffect.swift:564-572 | Moblin/VideoEffects/Alerts/AlertsEffect.swift:575-583 \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 \u0060Moblin/VideoEffects/Alerts/AlertsEffect.swift: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0a16e182e630db8333e4ea87e621d764adc98dd9935bbc4f58dcaf5efe48bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Moblin/Media/HaishinKit/Whip/WhipStream.swift:670-678 | Moblin/Media/MobcamStream/MobcamStream.swift:360-368 \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 \u0060Moblin/Media/HaishinKit/Whip/WhipStream.swift:670\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":"Moblin/Media/HaishinKit/Whip/WhipStream.swift"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"e608f9543990e728d65a190bf89902f9793c9397fcb800611433ddd07033a57f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:295-304 | Moblin/StreamingPlatforms/Twitch/TwitchApi.swift:307-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchApi.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ae5daba6969dc99a76096e40d18cd5de11b985546eb096eace3a1299b224bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Moblin/Various/Model/ModelStream.swift:714-722 | Moblin/Various/Model/ModelStream.swift:741-749 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Various/Model/ModelStream.swift:714\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelStream.swift"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcefed5191665cc9ff0afa4af72e4faa641905c7aac0d173a0a75802d435db29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Moblin/Various/Model/ModelTwitch.swift:842-850 | Moblin/Various/Model/ModelTwitch.swift:953-961 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060TwitchEventSubNotificationChannelSubscribeEvent\u0060 in one and \u0060TwitchEventSubNotificationChannelSubscriptionUpgradeEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelTwitch.swift"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd642c0229c02c8fbdbde46e8153e8a500571ef2bbcdf9efdda2420910b1155f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Moblin/View/Settings/Moblink/MoblinkSettingsView.swift:253-261 | Moblin/View/Settings/Moblink/MoblinkSettingsView.swift:263-271 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Settings/Moblink/MoblinkSettingsView.swift:253\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Moblink/MoblinkSettingsView.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21dc90e1f031601e46613015e3559e67d20d2b7ae58d87dbfb30990ab8105e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Moblin/Various/Settings/SettingsKeyboard.swift:27-34 | Moblin/Various/Settings/SettingsScene.swift:2159-2166 | Moblin/Various/Settings/SettingsSelfieStick.swift:22-29 | Moblin/Various/Settings/SettingsStreamDeck.swift:32-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Settings/SettingsKeyboard.swift:27\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Moblin/Various/Settings/SettingsScene.swift:2156\u0060 calls \u0060encode\u0060 and \u0060Moblin/Various/Settings/SettingsKeyboard.swift:24\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsKeyboard.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb169b8489aea1db59f68782775507ec6f377303fdff8ec350c96b73d947124a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Moblin/Integrations/Emotes/Bttv.swift:14-21 | Moblin/Integrations/Emotes/Ffz.swift:19-26 | Moblin/Integrations/Emotes/Seventv.swift:32-39 \u2014 before extracting anything, compare \u0060Moblin/Integrations/Emotes/Bttv.swift\u0060 and \u0060Moblin/Integrations/Emotes/Seventv.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Integrations/Emotes/Bttv.swift:14\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":"Moblin/Integrations/Emotes/Bttv.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9495882c18e7b3d28267bffe186e7dfd90db3ea221ae15ff2366f5a8159f2469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/Various/Model/ModelRtmpServer.swift:60-67 | Moblin/Various/Model/ModelWhipServer.swift:50-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Model/ModelRtmpServer.swift:60\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060stream\u0060 to \u0060SettingsRtmpServerStream\u0060 in one and \u0060SettingsWhipServerStream\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRtmpServer.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6919b4744461c4f4af849e68f85b1823b94f8d711d9b1905130d6f8e7f2a8846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/VideoEffects/MaskEffect.swift:30-37 | Moblin/View/Settings/Scenes/Widgets/Widget/Effects/MaskEffectView.swift:97-104 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Effects/MaskEffectView.swift:96\u0060 calls \u0060CGFloat\u0060 and \u0060Moblin/VideoEffects/MaskEffect.swift:29\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/MaskEffect.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"878dda5031ebbf2282e461bea7b2de369045de0c85878293701788e0ba6cc822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/View/Settings/RemoteControl/RemoteControlSettingsView.swift:554-561 | Moblin/View/Settings/Streams/Stream/Snapshot/StreamSnapshotSettingsView.swift:7-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/View/Settings/RemoteControl/RemoteControlSettingsView.swift:554\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/RemoteControl/RemoteControlSettingsView.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fae0f1881813d8236c76efba6da0ed4e76ac5ce01aed4942e5dd83c20c1054d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Media/Webrtc/WebrtcIngestClient.swift:233-239 | Moblin/Media/Webrtc/WebrtcIngestClient.swift:246-252 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Media/Webrtc/WebrtcIngestClient.swift:233\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/Webrtc/WebrtcIngestClient.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf9c000cd66b073a1af714c851297dd6616fb245a500e1e7a9700438a3b82ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Moblink/MoblinkStreamer.swift:313-319 | Moblin/RemoteControl/RemoteControlAssistant.swift:442-448 \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 \u0060Moblin/Moblink/MoblinkStreamer.swift:313\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkStreamer.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7032075daf6ae607b2664f4a529705af214fae91995788ff7d9f3b3cb4ee9279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Various/Model/ModelRemoteControlSettingsUpdate.swift:432-438 | Moblin/Various/Model/ModelRemoteControlSettingsUpdate.swift:590-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControlSettingsUpdate.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4302b1f0ed400949d7321bc86266b510ebefb82c47f2980e18373aabc3bddf2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Various/Settings/SettingsChat.swift:891-897 | Moblin/Various/Settings/SettingsScene.swift:2014-2020 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Moblin/Various/Settings/SettingsChat.swift:889\u0060 calls \u0060encode\u0060 and \u0060Moblin/Various/Settings/SettingsScene.swift:2012\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a510dc341bf22f52e3910c019b443af42273eef0b080888642e386202bda8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/VideoEffects/FourThreeEffect.swift:17-23 | Moblin/VideoEffects/MovieEffect.swift:17-23 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/VideoEffects/FourThreeEffect.swift:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/FourThreeEffect.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3b37484919923e6ae071793955ec8b16769cbc5d0e66e9f9be52f4bf3e9997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1340-1346 | Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1473-1479 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1340\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee3d35742590c942b3b7ab7bd38a5bf50332038a97948ca21e3971a12ae6c58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1370-1376 | Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1522-1528 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1370\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc578758353eb61afffbb5b3d158b162094b39e4f1e6fdf815c3c36ae990f764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1380-1386 | Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1538-1544 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift:1380\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Text/WidgetTextSettingsView.swift"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"65930fe28fbc4c55c6a140facf50cc3058a3fba53498f8aceb58136ed66d1bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Moblin/Various/Settings/Settings.swift:646-651 | Moblin/Various/Settings/Settings.swift:707-712 | Moblin/Various/Settings/Settings.swift:777-782 | Moblin/Various/Settings/SettingsCatPrinter.swift:32-37 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Various/Settings/Settings.swift:713\u0060 calls \u0060encode\u0060 and \u0060Moblin/Various/Settings/Settings.swift:652\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e138f546e353d810223407b630fa7439ac637e00af1ff74490cd86e52210eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Various/Model/ModelRtmpServer.swift:39-45 | Moblin/Various/Model/ModelWhipServer.swift:62-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Model/ModelRtmpServer.swift: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":"Moblin/Various/Model/ModelRtmpServer.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"88367f0326d84b0a6ae527e3711ed0e0d65eec257cfbf30c74195f60dd6ec603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Various/Settings/SettingsIngests.swift:19-24 | Moblin/Various/Settings/SettingsIngests.swift:424-429 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Various/Settings/SettingsIngests.swift:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Various/Settings/SettingsIngests.swift:430\u0060 calls \u0060encode\u0060 and \u0060Moblin/Various/Settings/SettingsIngests.swift:25\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsIngests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7113db71dfe9e165456061ed6f266193f117c01bb9a2d4086baf0d1e5ff37a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Various/Settings/SettingsIngests.swift:362-367 | Moblin/Various/Settings/SettingsIngests.swift:524-529 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsIngests.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2104459efcc8b2d9170760528b0547383cbbc504054f2ff89c6015aac6fa6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Various/Settings/SettingsScene.swift:3631-3636 | Moblin/Various/Settings/SettingsScene.swift:3819-3824 \u2014 both copies are in the same file, so extract the block 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 \u0060Moblin/Various/Settings/SettingsScene.swift:3631\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":3631}}}],"partialFingerprints":{"codehealthFindingId/v1":"67513e50d9f1a46c675148dcc52e0e9cd6b8fdae2d3b2d5503d5a83f83e01d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Moblin/VideoEffects/VTuber/Live2DRenderer.swift:325-333 | Moblin/VideoEffects/VTuber/Live2DRenderer.swift:377-385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/VideoEffects/VTuber/Live2DRenderer.swift:386\u0060 calls \u0060setRenderPipelineState\u0060 and \u0060Moblin/VideoEffects/VTuber/Live2DRenderer.swift:334\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/VTuber/Live2DRenderer.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"552a4dd15324332cbe1d86aaca816aa4968def1226e66acb5357fdeb89e4051a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): Moblin/Various/Settings/Settings.swift:645-649 | Moblin/Various/Settings/Settings.swift:706-710 | Moblin/Various/Settings/Settings.swift:776-780 | Moblin/Various/Settings/SettingsCatPrinter.swift:31-35 | Moblin/Various/Settings/SettingsRemoteControl.swift:24-28 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Settings/Settings.swift:645\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Various/Settings/Settings.swift:713\u0060 calls \u0060encode\u0060 and \u0060Moblin/Various/Settings/Settings.swift:652\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"91efae09ef60cfaee8a967a6839ac739b0f6712d7716191e767276e9da3a7b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Moblin/Various/Settings/SettingsDeepLinkCreator.swift:191-195 | Moblin/Various/Settings/SettingsIngests.swift:195-199 | Moblin/Various/Settings/SettingsIngests.swift:361-365 | Moblin/Various/Settings/SettingsIngests.swift:523-527 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Settings/SettingsDeepLinkCreator.swift:191\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Various/Settings/SettingsIngests.swift:367\u0060 calls \u0060encode\u0060 and \u0060Moblin/Various/Settings/SettingsIngests.swift:201\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsDeepLinkCreator.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f035e0ceda6ac60275fa6736d3d2ee51951da74210b9d82becf644dbeccb381"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift:9-14 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSei.swift:9-14 \u2014 before extracting anything, compare \u0060Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift\u0060 and \u0060Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSei.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de1d1234fe87e9b424e8bc8455ac73a93f23296174a2ccb5cea633fc355df19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/Various/Settings/SettingsMoblink.swift:40-44 | Moblin/Various/Settings/SettingsRemoteControl.swift:90-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Settings/SettingsMoblink.swift:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Various/Settings/SettingsRemoteControl.swift:96\u0060 calls \u0060encode\u0060 and \u0060Moblin/Various/Settings/SettingsMoblink.swift:46\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsMoblink.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9e6ba7539557f3d7265571856223e3919e0fb21d8dc7fd17690d23821843c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/Various/Settings/SettingsScene.swift:2938-2942 | Moblin/Various/Settings/SettingsStream.swift:892-896 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Various/Settings/SettingsStream.swift:897\u0060 calls \u0060encode\u0060 and \u0060Moblin/Various/Settings/SettingsScene.swift:2943\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":2938}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f62d209343c86cb7efa72852041141792fd4393ccdfb3387129b5089b702b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/Various/Settings/SettingsScene.swift:2949-2956 | Moblin/Various/Settings/SettingsStream.swift:915-922 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82b7096f95a4663fe13344b970d411fb4cfe5f71a2620d9903ee1e81cb85fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Moblin/VideoEffects/Alerts/AlertsEffect.swift:629-643 | Moblin/VideoEffects/FaceEffect.swift:212-226 \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 \u0060Moblin/VideoEffects/Alerts/AlertsEffect.swift:629\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Alerts/AlertsEffect.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b74cc7806410c692fa71447109cc9e2274d8743f5eb84701adae99edd333c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/VideoEffects/ShapeEffect.swift:159-164 | Moblin/VideoEffects/ShapeEffect.swift:175-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/VideoEffects/ShapeEffect.swift:159\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":"Moblin/VideoEffects/ShapeEffect.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc8b52110a614c911d082470645b1864aeedb28594b95d20e42263acdcfd7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift:308-339 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift:268-299 \u2014 before extracting anything, compare \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsTwitchSettingsView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsKickSettingsView.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd503f431e43b3f19b4c83f1e6a01cf48527da7b27b88fd61d69c63acdad9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitPps.swift:6-12 | Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSps.swift:6-12 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitPps.swift:7-13 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSps.swift:7-13 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitVps.swift:7-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":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitPps.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2842aa363bb039bfa623d310507d374b88fca23540ee2d062dc70a0cacf600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Moblin Watch/View/Scoreboard/GenericScoreboardView.swift:46-54 | Moblin Watch/View/Scoreboard/PadelScoreboardView.swift:72-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/View/Scoreboard/GenericScoreboardView.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d098caf34f1b45cac199ee683bceb6f921d4ffe28dff786383268ac62e0a3131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift:90-100 | Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift:107-117 \u2014 before extracting anything, compare \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift\u0060 and \u0060Moblin/Media/AdaptiveBitrate/AdaptiveBitrateSrtFight.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrateRistExperiment.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ac433ae66ddba98df77780564cc223309d35f2f90a84313a13254feff29013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift:63-68 | Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnit.swift:59-64 \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":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7846e7d2bad6126ef908f884cf5ca3aaebf6a3e09cead572d287a1eb683b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Moblink/MoblinkProtocol.swift:40-46 | Moblin/RemoteControl/RemoteControl.swift:1466-1472 \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":"Moblin/Moblink/MoblinkProtocol.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4e36a247e3c6cc6f08c265f389caba09871819b52e43783426f67cc4c9d214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Moblink/MoblinkProtocol.swift:60-65 | Moblin/RemoteControl/RemoteControl.swift:1490-1495 \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":"Moblin/Moblink/MoblinkProtocol.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d14fc836c9a9d979b352d8e6088aa27c9613190c538b2eaefeefdff093f4d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Moblin/Various/Settings/Settings.swift:493-497 | Moblin/Various/Settings/Settings.swift:918-922 | Moblin/Various/Settings/SettingsScene.swift:3396-3400 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Various/Settings/Settings.swift:924\u0060 calls \u0060init\u0060 and \u0060Moblin/Various/Settings/Settings.swift:499\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"26132cd859b1660a217308b0252f1ce368a9e3f671e2b836d5731f68129db222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Various/Storages/ReplaysStorage.swift:103-109 | Moblin/Various/Storages/StreamingHistory.swift:159-165 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Storages/ReplaysStorage.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2d80463476e302f3a443d629b68b8f083373b4e5f60444f48eab5b00dffa04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Moblin/VideoEffects/BingoCardEffect.swift:69-74 | Moblin/VideoEffects/PomodoroTimerEffect.swift:111-116 | Moblin/VideoEffects/Scoreboard/ScoreboardEffect.swift:58-63 \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":"Moblin/VideoEffects/BingoCardEffect.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bc0159d0079c52a6909e5af4d1809b9b16aea22fffcd64eadfc1e86b043446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/VideoEffects/PollEffect.swift:71-76 | Moblin/VideoEffects/Text/TextEffect.swift:392-397 \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":"Moblin/VideoEffects/PollEffect.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"666457320df154a52e7a2723484d74ab0d78b4dee679a337b94877fa86ab8f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceSettingsView.swift:39-47 | Moblin/View/Settings/CatPrinters/CatPrinterSettingsView.swift:32-40 | Moblin/View/Settings/WorkoutDevices/WorkoutDeviceSettingsView.swift:53-61 \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":"Moblin/View/Settings/BlackSharkCoolers/BlackSharkCoolerDeviceSettingsView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52f377dd62a2f56988709c936bccbf19b17744b942e28f69523c366bed7898d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/View/Settings/Gimbal/GimbalSettingsView.swift:142-146 | Moblin/View/Settings/SelfieStick/SelfieStickSettingsView.swift:18-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/View/Settings/Gimbal/GimbalSettingsView.swift:148\u0060 calls \u0060deletePreset\u0060, \u0060remove\u0060 and \u0060Moblin/View/Settings/SelfieStick/SelfieStickSettingsView.swift:24\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Gimbal/GimbalSettingsView.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c041f28428c61f7974c08fa22307c53129a676868846053d4cb66ffe2bdf2d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSettingsView.swift:101-108 | Moblin/View/Settings/Streams/Stream/Replay/StreamReplaySettingsView.swift:8-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":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSettingsView.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e95a89dd5ff5a5e8f370bffdf1e2857e67b3f574359c855d3fa2711c3969ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/BingoCard/WidgetBingoCardSettingsView.swift:7-16 | Moblin/View/Settings/Scenes/Widgets/Widget/WheelOfLuck/WidgetWheelOfLuckSettingsView.swift:137-146 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/BingoCard/WidgetBingoCardSettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8abd7dfd2a3e7cb145e7ff146e7b6ec4c1445b05726487d45508b36477ad0ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/PngTuber/WidgetPngTuberSettingsView.swift:6-13 | Moblin/View/Settings/Scenes/Widgets/Widget/VTuber/WidgetVTuberSettingsView.swift:7-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":"Moblin/View/Settings/Scenes/Widgets/Widget/PngTuber/WidgetPngTuberSettingsView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53dce5749013e90db48541a6b73d136035a6d8a89c9c8d86b30665050821348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGenericSettingsView.swift:203-208 | Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardModularSettingsView.swift:63-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGenericSettingsView.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39dad4f36a25e785f108f2c195338a1960540d1fcfe95a34f55347daa102ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/View/Utils/ContextMenuDeleteButtonView.swift:6-13 | Moblin/View/Utils/SwipeLeftToDeleteButtonView.swift:6-13 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/ContextMenuDeleteButtonView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad00ed6ffd0f0b1951772e4afd5a2f44822cb957d398771a9db62145cfe64af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin Watch/Various/ModelScoreboard.swift:133-138 | Moblin/Various/Model/ModelScoreboard.swift:808-813 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060scoreboard\u0060 to \u0060WatchProtocolPadelScoreboard\u0060 in one and \u0060SettingsWidgetPadelScoreboard\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/ModelScoreboard.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c2bfcffdd4050eafa51d0e03e96a52442c37c2243354c79c998a942eb88dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Moblin/Integrations/BlackSharkCooler/BlackSharkCoolerDevice.swift:82-89 | Moblin/Integrations/CatPrinter/CatPrinter.swift:382-389 | Moblin/Integrations/Dji/DjiDevice/DjiDevice.swift:156-163 | Moblin/Integrations/Tesla/TeslaVehicle.swift:355-362 | Moblin/Integrations/WorkoutDevice/WorkoutDevice.swift:99-106 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060BlackSharkCoolerDeviceState\u0060 in one and \u0060CatPrinterState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/BlackSharkCooler/BlackSharkCoolerDevice.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dec467f85ed85688ec1c8cc615e6f3ed2a3d163b79e1243473fc3f23a058113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/Media/HaishinKit/Media/Audio/AudioUnit.swift:367-371 | Moblin/Media/HaishinKit/Media/Video/VideoUnit.swift:390-394 \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":"Moblin/Media/HaishinKit/Media/Audio/AudioUnit.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc541b15a7700eb40d8346b3ef18aa525ed70817c21736660bbc8ec910083c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift:7-12 | Moblin/Media/HaishinKit/Mpeg/Hevc/MpegTsVideoConfigHevc.swift:5-10 \u2014 before extracting anything, compare \u0060Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift\u0060 and \u0060Moblin/Media/HaishinKit/Mpeg/Hevc/MpegTsVideoConfigHevc.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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":"Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d252837e7956a1c2adf1846283dc22690e5cb17220e2f4e54f97a89b92c263b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift:39-44 | Moblin/Media/HaishinKit/Mpeg/Hevc/MpegTsVideoConfigHevc.swift:45-50 \u2014 before extracting anything, compare \u0060Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift\u0060 and \u0060Moblin/Media/HaishinKit/Mpeg/Hevc/MpegTsVideoConfigHevc.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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":"Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"069bb43208bdf70afe1804922d8c1f16a38be4edde787f552ef571dceca58502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Media/HaishinKit/Rtmp/Message/RtmpAudioMessage.swift:8-13 | Moblin/Media/HaishinKit/Rtmp/Message/RtmpVideoMessage.swift:8-13 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Rtmp/Message/RtmpAudioMessage.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"57437774bd3f58611db58d86527c4ed71c607668129fef36fe79cda273310156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Moblin/RemoteControl/RemoteControlWeb.swift:318-330 | Moblin/Various/Network/HttpServer.swift:417-429 \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":"Moblin/RemoteControl/RemoteControlWeb.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb97a43b1059b1721fd5b76190894e4ab6948c86dff3eef4088e16d995e2cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/Various/Model/ModelDjiDevice.swift:17-21 | Moblin/Various/Model/ModelGoProDevice.swift:17-21 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060device\u0060 to \u0060SettingsDjiDevice\u0060 in one and \u0060SettingsGoProDevice\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelDjiDevice.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"febfcc2b2cc36e777e9d6cfa123ecac0efeab10daba39a8c86f6ca423d91b0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/Various/Model/ModelDjiDevice.swift:27-34 | Moblin/Various/Model/ModelGoProDevice.swift:57-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelDjiDevice.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e293d4d110713cdbaaf8927e503b6381f3154273d0352f41722622bc9c56cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Various/Model/ModelKick.swift:5-11 | Moblin/Various/Model/ModelSoop.swift:21-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelKick.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0de24ac8df370833c643fc4edc61d6af934bf35024b25eef584b421325184e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Various/Model/ModelKick.swift:336-342 | Moblin/Various/Model/ModelTwitch.swift:613-619 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelKick.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3680386b568b59f62475da2929caabe8c673557e3ecef566c3938ffb93c1d8f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/Various/Model/ModelRtspClient.swift:5-9 | Moblin/Various/Model/ModelWhepClient.swift:5-9 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRtspClient.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7cd3a9924dd8912e42fa1f1ac746829cc214b56603cf592cbd810405edfff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Moblin/Various/Model/ModelRtspClient.swift:17-21 | Moblin/Various/Model/ModelWhepClient.swift:22-26 | Moblin/Various/Model/ModelWhipServer.swift:26-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRtspClient.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"996dd6f26b230df5382f6e4838848bf08291cb665e1eb37143bd3b2ca9e4bf15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/Various/Settings/Settings.swift:398-402 | Moblin/Various/Settings/SettingsStream.swift:358-362 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fb918c67afdee4d959f86863897dfed0ac3bd766aee314fafe423a9268dc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/Various/Settings/SettingsScene.swift:1293-1298 | Moblin/Various/Settings/SettingsStream.swift:851-856 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5c5ebadf57d1eec414de7dca1ac339b7bd1254f24842e066a2642943503d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/Various/Storages/MediaPlayerStorage.swift:26-32 | Moblin/Various/Storages/ReplayTransitionsStorage.swift:22-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Storages/MediaPlayerStorage.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7c0c57fbeb923b1fb25dfb0014886e4eba8eb00734a5fdbe1057e0aed663a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Moblin/VideoEffects/BingoCardEffect.swift:85-91 | Moblin/VideoEffects/PomodoroTimerEffect.swift:127-132 | Moblin/VideoEffects/Scoreboard/ScoreboardEffect.swift:102-107 \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":"Moblin/VideoEffects/BingoCardEffect.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"565f26f30649ea952115fc0a3fa6f6c16dcffe46a2a634ba33943145206cd663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Moblin/VideoEffects/BingoCardEffect.swift:112-117 | Moblin/VideoEffects/ChatEffect.swift:264-269 | Moblin/VideoEffects/ChatEmoteComboEffect.swift:121-126 | Moblin/VideoEffects/PomodoroTimerEffect.swift:153-158 | Moblin/VideoEffects/Scoreboard/ScoreboardEffect.swift:114-119 \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":"Moblin/VideoEffects/BingoCardEffect.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"43abdf5644fcc2bb12d9a8367f5ee6efc201d42fd390534551245ec7ba247ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Moblin/View/Settings/Display/DisplaySettingsView.swift:13-24 | Moblin/View/Settings/Scenes/Widgets/Widget/Effects/ShapeEffectView.swift:63-74 \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":"Moblin/View/Settings/Display/DisplaySettingsView.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ea0df3f24fbc71962798e6ba55649e91bac8b692cff5772e6cb0689c7e6356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/View/Settings/HttpProxy/HttpProxySettingsView.swift:8-15 | Moblin/View/Settings/Moblink/MoblinkSettingsView.swift:202-209 \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":"Moblin/View/Settings/HttpProxy/HttpProxySettingsView.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9610436568f6e4da1ba079ec8a95721020bdc2aed56039cb51087d1df49f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/View/Settings/ImportExport/ImportSettingsView.swift:7-14 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSettingsView.swift:13-20 \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":"Moblin/View/Settings/ImportExport/ImportSettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"408a6d38d87e499054a53043e607f1fe1abb67513d999f8c76abdee7f930ee74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift:7-13 | Moblin/View/Settings/Ingests/RtmpServer/RtmpServerSettingsView.swift:7-13 | Moblin/View/Settings/Ingests/WhipServer/WhipServerSettingsView.swift:7-13 \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":"Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"521eeccda064859a295af75bacc6e85b3b0aea6f4d12b8970b03aa6736bdc991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift:23-27 | Moblin/View/Settings/Ingests/RtmpServer/RtmpServerSettingsView.swift:23-27 | Moblin/View/Settings/Ingests/RtspClient/RtspClientSettingsView.swift:12-16 | Moblin/View/Settings/Ingests/SrtClient/SrtClientSettingsView.swift:11-15 | Moblin/View/Settings/Ingests/SrtlaServer/SrtlaServerSettingsView.swift:31-35 | Moblin/View/Settings/Ingests/WhepClient/WhepClientSettingsView.swift:12-16 | Moblin/View/Settings/Ingests/WhipServer/WhipServerSettingsView.swift:23-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc2c90917295235f394b2150b59de7acb5aa9535d499b4303feda4979f20a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Moblin/View/Settings/Ingests/RtmpServer/RtmpServerStreamSettingsView.swift:27-32 | Moblin/View/Settings/Ingests/WhipServer/WhipServerStreamSettingsView.swift:10-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":"Moblin/View/Settings/Ingests/RtmpServer/RtmpServerStreamSettingsView.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc182aeab49e6a3d6facdc36e82d50c30febf348bb02204b0acb14479e92cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Moblin/View/Settings/Ingests/RtmpServer/RtmpServerStreamSettingsView.swift:34-40 | Moblin/View/Settings/Ingests/WhipServer/WhipServerStreamSettingsView.swift:17-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":"Moblin/View/Settings/Ingests/RtmpServer/RtmpServerStreamSettingsView.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23508c4173f5eb79e2dec52e77ec4ba542558073a694f9d8d051d7d70bc09e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Moblin/View/Settings/Scenes/Scene/SceneSettingsView.swift:102-110 | Moblin/View/Settings/Scenes/Widgets/Widget/VideoSource/WidgetVideoSourceSettingsView.swift:141-150 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/View/Settings/Scenes/Widgets/Widget/VideoSource/WidgetVideoSourceSettingsView.swift:152\u0060 calls \u0060setEffectSettings\u0060, \u0060videoSourceWidgetSettingsChanged\u0060 and \u0060Moblin/View/Settings/Scenes/Scene/SceneSettingsView.swift:112\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Scene/SceneSettingsView.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab443e58cff4bf8a59ed210e417e224e64c9223866e51b1c2dc42b271d5b0fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsImageSettingsView.swift:104-108 | Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSoundSettingsView.swift:87-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsImageSettingsView.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc21a826b500175c9314d98dc68db07d34b564f20e2e3f070817904d91d69b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomSrtSettingsView.swift:7-14 | Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomWhipSettingsView.swift:12-19 | Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupBelaboxSettingsView.swift:12-19 \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":"Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomSrtSettingsView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"111bff8c746c38fd7d91eafd8309d2e0ceb70766b5650d49eba09ba11c1db57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Moblin/View/Utils/PositionEditView.swift:13-20 | Moblin/View/Utils/SizeEditView.swift:9-16 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/PositionEditView.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"115252a4c4860caad96b64c9d0e01a714f42a040cba2bec2195e76582bb2beb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/Media/RtspClient/RtspClient.swift:169-173 | Moblin/Media/RtspClient/RtspClient.swift:202-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Media/RtspClient/RtspClient.swift: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":"Moblin/Media/RtspClient/RtspClient.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe789bed73dfe26ad2a64581767b6c950de32a2f7155e959ada67a714521b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Moblin/Various/Settings/Settings.swift:658-662 | Moblin/Various/Settings/Settings.swift:720-724 | Moblin/Various/Settings/Settings.swift:792-796 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Moblin/Various/Settings/Settings.swift:725\u0060 calls \u0060decode\u0060 and \u0060Moblin/Various/Settings/Settings.swift:663\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"9847804fffce4fc17d4b8115a99847d3fabbe41d579c687d5c681f65a612ddc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/Various/Settings/SettingsChat.swift:953-957 | Moblin/Various/Settings/SettingsScene.swift:2031-2035 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"15532a554e34ebd58049a12769fd521e5cdba185ca578f9b41743fca99f3c216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Moblin/Various/Settings/SettingsChat.swift:959-968 | Moblin/Various/Settings/SettingsScene.swift:2036-2045 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Moblin/Various/Settings/SettingsChat.swift:958\u0060 calls \u0060decode\u0060 and \u0060Moblin/Various/Settings/SettingsScene.swift:2035\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsChat.swift"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70a5998ec7f77a743aa9551496f6b2db2345797a5d16751e94e03ac8da1b0fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Moblin/Various/Settings/SettingsDjiDevice.swift:267-277 | Moblin/Various/Settings/SettingsGoPro.swift:172-182 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsDjiDevice.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0516c5ec408a4ecbb07d1e327fadc5680fc10f8b589e5f9b36a2d8a2551d6ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): Moblin/Various/Settings/SettingsGameController.swift:341-347 | Moblin/Various/Settings/SettingsKeyboard.swift:41-47 | Moblin/Various/Settings/SettingsScene.swift:2174-2180 | Moblin/Various/Settings/SettingsSelfieStick.swift:37-43 | Moblin/Various/Settings/SettingsStreamDeck.swift:48-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Moblin/Various/Settings/SettingsGameController.swift:341\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Moblin/Various/Settings/SettingsScene.swift:2172\u0060 calls \u0060decode\u0060 and \u0060Moblin/Various/Settings/SettingsKeyboard.swift:39\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/SettingsGameController.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb8badb63f7569e7e0337c1353b01c28d2c4079268b1be84f4e9f5f1013f9d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Moblin/Various/Settings/SettingsScene.swift:149-153 | Moblin/Various/Settings/SettingsScene.swift:3293-3297 \u2014 both copies are in the same file, so extract the block 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":"Moblin/Various/Settings/SettingsScene.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f18cdc7a7ade770e69e26b3c8aa4af1eb30cb95caf2c4a4ae8c061a366dc6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): utils/export_localizations.py:23-28 | utils/publish.py:25-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/export_localizations.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d280543c11dff5b03076268ccade176d59ad5d313d55694ded0eaec8a43e6cb0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Model (LCOM4 31): Model\u0027s methods fall into 31 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 31 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c29212b03382cf5b6653d5020bd4e45b2808666691438fcd2c90221510b707"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WatchModel (LCOM4 14): WatchModel\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/WatchModel.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d44ad31b1974661ed6e7dc09db846508a1d643915e12e083b4e8e775b8ed69"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VideoEffect (LCOM4 9): VideoEffect\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffect.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f99ff22da24cb998bba322eed657ab06ca437118e8d60268a593d4842fb5a4e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MoblinCloud (LCOM4 7): MoblinCloud\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58157771287dc963e273c03959259cf2a4bc89f3735db6c9f6a15a543e0bb75"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: URL (LCOM4 7): URL\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/RtspClient/RtspClient.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1522d4c4db1ac217ae474a66c89a9dd04ccbad7d585926608144af9a665e3dc4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 6): String\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/CommonUtils.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b9ed9ea262e02375a55841d295b3a8550783a03f3dce44742c25d076e8cbf6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RemoteControlAssistant (LCOM4 5): RemoteControlAssistant\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef18f452e8c78e599a0084cd94b597a61fcf46bc5bc49717df3cc808f4ced233"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RemoteControlWeb (LCOM4 5): RemoteControlWeb\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlWeb.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"79115cceec8fbfc7983cd09a562ef29e55f5c1fae7c5196a2285be830fadea54"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BlackSharkCoolerDevice (LCOM4 5): BlackSharkCoolerDevice\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/BlackSharkCooler/BlackSharkCoolerDevice.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1e0fa6cea9b423cd66f4675ac2cf8bcfba10e8b5a230de0cf5e998c6211e34"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AdaptiveBitrate (LCOM4 5): AdaptiveBitrate\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/AdaptiveBitrate/AdaptiveBitrate.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"432646bf3fba0c3400b9358961dba39de53116833ba3210b20c411cad5cdc8da"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AVCaptureDevice (LCOM4 5): AVCaptureDevice\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Utils/CameraUtils.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c920fdd37b27a49c9d391bff823b8214782b8ecd44cd785f3f45e7385123a9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Media (LCOM4 4): Media\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Media.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8119f140c03f5a01ac72a633f43257e0900a60fb383dc68242ada36e6d65e2d2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ImageEffect (LCOM4 4): ImageEffect\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/ImageEffect.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77ee69563f8e05c4b1163d98e2e987b0d5026a154759ba1e5713f9aca7ef875"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Location (LCOM4 4): Location\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Managers/Location.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23c459a8decf371c1c0bb2de1efc70673e165647557a4e15f7a66396f532cc3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StreamingHistoryStream (LCOM4 4): StreamingHistoryStream\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Storages/StreamingHistory.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca2311dcf36924fcdad194e69a7aea7e15a3317012a357e7727f1ac80a16a77"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Processor (LCOM4 4): Processor\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Processor.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af7de4703705646335788c01a81bcae40d8f084d5904f0b84fd75de43c954d8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SrtlaServer (LCOM4 4): SrtlaServer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/Srtla/Server/SrtlaServer.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a59f6a3d83dcf9fa6b693530caaf022f88a792337f3baafb7b12e62a6bff38"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: setCurrentProgramScene: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Obs/ObsWebSocketSuite.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9592581ea16bd820adb1edee69fdd3ecb961160ec903727587fb3bd83cca0e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: setMediaSourceSettings: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Obs/ObsWebSocketSuite.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde3eebe151f663e31f04303a42850b932525066f2e0c2694b78734f89d7ba7c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: setInputSettings: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Obs/ObsWebSocketSuite.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49fae049fd6d66c48395d6d627fc45fb5688cc2f9b9b51cc198722b43cc985d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: startStream: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Obs/ObsWebSocketSuite.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c3122224b0ae65f7d6a78ddfaa7c0516dfc2c48656e5c25c1ffe46864a48db"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: stopStream: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Obs/ObsWebSocketSuite.swift"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0903721a162e433ef36e46036be3ceb388174ad168d3b195f582184eb04786e6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: startRecord: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Obs/ObsWebSocketSuite.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a67e2e3009cd1715eaac4c570dfd3921e092a88f3aa6719c1b442d95f77021"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: stopRecord: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Obs/ObsWebSocketSuite.swift"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"800bf55f3f493772b02264e2b159abdde317586503342d19ea2d19f9dbae9218"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: setInputAudioSyncOffset: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Obs/ObsWebSocketSuite.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8b5a9423b5027e9eb749aa56c989e57bc40167766cc7f6c4a60e0d422d0f64"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: setInputMute: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Obs/ObsWebSocketSuite.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94a9160dbaeaf738e956d1f749fc9c3c070aabbe4b86c42f91fe3f837c381d1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: tcpTransportAcceptsValidInterleavedChannels: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Media/RtspClient/RtspClientSuite.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"754a7129187b813703f2217e279910e083e9005c381572ca3d7d3e8ea89ca423"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: udpTransportAcceptsValidServerPorts: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Media/RtspClient/RtspClientSuite.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db596a0adbcc48b545440353150296c1f835b62cd4ea5132b7bf788a436f61"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: closeWithDefaultCloseCode: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Various/Network/WebSocketClientSuite.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00e7e5d20441ecd281fe64101f6f8aa1ed47cb0935527fc68eae7bfac47814f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: sendIsIgnoredWhileClosing: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Various/Network/WebSocketClientSuite.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fba28db83868c14424295b903d063d038883f62d9219f94f097922ffad3397"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: connectDisconnect: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Media/HaishinKit/Srt/SrtSenderSuite.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f889e9e58b56b99c5165122a50661f4d61cca9b3c69b06540576a9ea6aaa8626"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: Srt: No conventional assertion call was detected in 1 of 1 tests in \u0060Srt\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MoblinTests/Moblin/Media/HaishinKit/Srt/SrtSenderSuite.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7e46f81531e25415ad640c05f0d3742df9e9a9e2ca433102c258c0b185e724"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: alerttoast: Dependency \u0060alerttoast\u0060 is resolved in Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060master\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44273290c7c5feab8addb80eefd66e360a26cf4eee19718eaab5feef599b8cd8"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: ayagamiswift: Dependency \u0060ayagamiswift\u0060 is resolved in Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060main\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"66ed8c1b44b2f6cd5b00ba63ff4cb0989d04241e6e3284264ad03b2eb8362534"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: crcswift: Dependency \u0060crcswift\u0060 is resolved in Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060master\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7346de5eb451347b12f5a2f999a209dac4c9c4608c76388e7622fef244c54377"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: datachannel: Dependency \u0060datachannel\u0060 is resolved in Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060main\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc05984b0bb9f9ff2d7cc4017af4bdb219a6850ea851d469210a0e19014172f7"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: metalpetal: Dependency \u0060metalpetal\u0060 is resolved in Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060main\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9a383551083936d102a7beaa183623b8f6b2159207331ae1fa5c4039af82e78a"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: rist: Dependency \u0060rist\u0060 is resolved in Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060main\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"050354179dd083f9cd7239ab6fd7fbaf9e7ef7b8872889548183a0763160faff"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: srtswift: Dependency \u0060srtswift\u0060 is resolved in Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060main\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cedd3fc0279b0119f0a2acb61598dc242971a8ed8281339011efd914767de5df"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: swiftcube: Dependency \u0060swiftcube\u0060 is resolved in Moblin.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060main\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc5af492d11b2337cfb557d34ba26247c52e67619cc7fa49c4240535811c5b5b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: pylint: \u0060pylint\u0060 4.1.4 is published on PyPI under \u0060GPL-2.0-or-later\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d7a16fa1781137345f806d201554614eed0085e361bfc1795c0394f4d2ecc962"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/Various/Model/ModelRemoteControl.swift: Moblin/Various/Model/ModelRemoteControl.swift changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Model.remoteControlAssistantStateChanged at line 1420. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/Various/Model/ModelRemoteControl.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControl.swift"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cb2906df070b09b2abe53627846d063c96027125c58c5fa30caf3b8dd89a51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/View/ControlBar/QuickButtonsView.swift: Moblin/View/ControlBar/QuickButtonsView.swift changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in QuickButtonsInnerView.body at line 452. 1 of those changes was a fix/bug commit, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/View/ControlBar/QuickButtonsView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButtonsView.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"5199f33ec22c98809f0d81160bedcf14e5acf368f7186c2e046733e452b27163"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/View/Settings/Macros/MacrosSettingsView.swift: Moblin/View/Settings/Macros/MacrosSettingsView.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in ActionView.body at line 132. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/View/Settings/Macros/MacrosSettingsView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Macros/MacrosSettingsView.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6b820df99a042fdf663c16cef3db9062cfded7ac309f892ecd167d84dbb2c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/Various/Model/ModelChat.swift: Moblin/Various/Model/ModelChat.swift changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Model.appendChatMessage at line 195. 1 of those changes was a fix/bug commit, and the other 27 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/Various/Model/ModelChat.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelChat.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5383edc4899c3a443bdd2a01db87f408ad04ba50e456156d8b61b47595deffc0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/StreamingPlatforms/Twitch/TwitchChat.swift: Moblin/StreamingPlatforms/Twitch/TwitchChat.swift changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in TwitchChatMessage.init at line 238. 1 of those changes was a fix/bug commit, and the other 24 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/StreamingPlatforms/Twitch/TwitchChat.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchChat.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f4f0d115929abd9377e89ebab05565ecccbede11dde65e0eb81728f26d470f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/Various/Model/ModelGameController.swift: Moblin/Various/Model/ModelGameController.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in Model.handleControllerFunction at line 6. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/Various/Model/ModelGameController.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelGameController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2bb87b6c1ff3436b4fdb358d041680c4a899ebd366afa735d4ddfa159995e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/View/Settings/Streams/Stream/StreamSettingsView.swift: Moblin/View/Settings/Streams/Stream/StreamSettingsView.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in StreamSettingsView.body at line 224. 1 of those changes was a fix/bug commit, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/View/Settings/Streams/Stream/StreamSettingsView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/StreamSettingsView.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dda702e76870a7f52f0699aefa99f78af68f850d4eaa5fd00200faae884101"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/VideoEffects/Text/TextFormatStringLoader.swift: Moblin/VideoEffects/Text/TextFormatStringLoader.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in TextFormatLoader.load at line 295. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/VideoEffects/Text/TextFormatStringLoader.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextFormatStringLoader.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee243c3bc439ec882ae1c3936484d5a9d2f1b58b386672aab6ad7f4f436b47be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/Various/Model/ModelSettingsUrl.swift: Moblin/Various/Model/ModelSettingsUrl.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Model.handleSettingsUrlsDefaultStreams at line 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/Various/Model/ModelSettingsUrl.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelSettingsUrl.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd72495403ca078e8ef5c191f2141f78f858cf9d566d9b14c1468a49fd0733d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/Various/Model/ModelStreamWizard.swift: Moblin/Various/Model/ModelStreamWizard.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Model.createStreamFromWizard at line 130. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/Various/Model/ModelStreamWizard.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelStreamWizard.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"645851d55bb8ed62fdb5ef24811cb1e8d91d43e07383a41144aa106dff2428be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: WebRemoteControlFrontend/src/index.tsx: WebRemoteControlFrontend/src/index.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in index.App at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- WebRemoteControlFrontend/src/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f466c23b2759815d4f327a3f3b352ac81461fa77e3a5fca70232439cbdad693e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/Various/Model/ModelMusic.swift: Moblin/Various/Model/ModelMusic.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Model.tryRunNextAction at line 250. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/Various/Model/ModelMusic.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMusic.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed4839c8408a0c905e47f4ab9d7db882e382cb48b21de652d5e80f628d4e791"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/View/Settings/SettingsView.swift: Moblin/View/Settings/SettingsView.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SettingsView.body at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/View/Settings/SettingsView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/SettingsView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"04744ebf05d2686a766c1273391e56dd74ff1ff51379b505f14d1300531dee58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Common/Various/Validate.swift: Common/Various/Validate.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in Validate.swift.isValidUrl at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Common/Various/Validate.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/Validate.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6f5f4e29b88457c1470f53009476789a4bd2d2d85c2108c1b9b28eb895afcf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin/View/Utils/ChatLineView.swift: Moblin/View/Utils/ChatLineView.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ChatLineView.swift.makeLayout at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin/View/Utils/ChatLineView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Utils/ChatLineView.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1583d6d6f09db76fcd5a4b82d2188b279cf4040393bea45ff230ac462d7d9ec8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Moblin Watch/Shared/WatchProtocol.swift: Moblin Watch/Shared/WatchProtocol.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in WatchProtocolWorkoutStats.update at line 139. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 09:46:51 -08:00\u0027 --until=\u00272026-11-15 09:46:51 -08:00\u0027 --full-history --no-merges -- Moblin Watch/Shared/WatchProtocol.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Shared/WatchProtocol.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5085ed9b81b3e69066490c4c18b258994e89c6a1fc049ce0aaa6e32c3bf509d"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to make it shorter and easier to read. When does this fail? \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DeepLinkCreator/DeepLinkCreatorSettingsView.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b3ef760f04a51a0b4ee62f181632f670f65f8ff08db992e4e907be2e27b248"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // xxx audio \\ \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/AudioUnit.swift"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c074e7491b5e564a46c032b6ac15bbc19304ebd2a3f6b126c76268f6c95e42b"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: //     xxx audio abnormal \\ \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/AudioUnit.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"918930a6e0a202c20bf42afbf16e8a8ff1f7c86323cdfde81ab080f701ac06b3"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Moblin.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef571d4de083b2cb063bd379be5659beecc2c0d08463535bdf7486d66e79beea"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060EnhancedRTMP\u0060 spells \u0060RTMP\u0060 where 63 names in the project spell it \u0060Rtmp\u0060: 63 of 64 names in project repository spell the token \u0060Rtmp\u0060 (63 of 64; unit: names in project repository containing \u0060Rtmp\u0060). Peers: CommonUtils.swift.makeRtmpUri (Common/Various/CommonUtils.swift:59); CommonUtils.swift.makeRtmpStreamKey (Common/Various/CommonUtils.swift:67); CommonUtils.swift.isRtmpCameraOrMic (Common/Various/CommonUtils.swift:540); Validate.swift.isValidRtmpUrl (Common/Various/Validate.swift:39); DjiStartStreamingMessagePayload2.enhancedRtmp (Moblin/Integrations/Dji/DjiDevice/DjiDeviceMessage.swift:91). Rename to \u0060EnhancedRtmp\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Dji/DjiDevice/DjiDeviceMessage.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f0b343db24460d79c82aaf28969f00682c75b008e78b37b87f650b161abcfe"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060objectID\u0060 spells \u0060ID\u0060 where 820 names in the project spell it \u0060Id\u0060: 820 of 821 names in project repository spell the token \u0060Id\u0060 (820 of 821; unit: names in project repository containing \u0060Id\u0060). Peers: WatchModel.scoreboardId (Moblin Watch/Various/WatchModel.swift:94); WatchModel.nextExpectedWatchChatPostId (Moblin Watch/Various/WatchModel.swift:103); WatchModel.nextNonNormalChatLineId (Moblin Watch/Various/WatchModel.swift:104); Preview.zoomPresetIdPicker (Moblin Watch/View/Preview/PreviewView.swift:80); Preview.zoomPresetId (Moblin Watch/View/Preview/PreviewView.swift:81). Rename to \u0060objectId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/MpegTsAudioConfig.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddccd26e97de6706d8da482279083dc2a9abdf9b6a824c3a7fdbba3cccfa5f60"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060openURLContexts\u0060 spells \u0060URL\u0060 where 227 names in the project spell it \u0060Url\u0060: 227 of 228 names in project repository spell the token \u0060Url\u0060 (227 of 228; unit: names in project repository containing \u0060Url\u0060). Peers: CommonUtils.swift.cleanUrl (Common/Various/CommonUtils.swift:75); Validate.swift.isValidRtmpUrl (Common/Various/Validate.swift:39); Validate.swift.isValidSrtUrl (Common/Various/Validate.swift:52); Validate.swift.isValidRistUrl (Common/Various/Validate.swift:62); Validate.swift.isValidWhipUrl (Common/Various/Validate.swift:72). Rename to \u0060openUrlContexts\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/MoblinApp.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa035be4b99d6272d3dceb97d8d273d83cce1f0a62545ec220b714d26e93378b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (145267 LoC, 2220 module-visible types across 218 directories) overshoots its size bounds. 1 of 2 build unit(s) (Python, npm) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"requirements.txt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b5e6c5b01689366dfd955e9a5982baa6d1574c50f60c029ab1c2f9e36ca22e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bad0e8c3cd939a56d11ab639729427fc57820f65537a2596d398b2a426c3050b"},"properties":{"commitSha":"29c31100bef372fb09736d0aa76afcce0a7f797f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3778d3594c75384dc3331036a05f2f1ca2f8adcfe71a7c5cde1b6b99c3059396"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad44dfbdf70ddd762443efcee14e79ea88cd488cb398345df717c8fee11ba79c"},"properties":{"commitSha":"c9839c17b71b2cce276fe9f544c61a69ae2ead9f"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"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":"29a32ac7e839bff66dbad46787e7a8748ebcc9a347da67241a1ea74a2c79e0db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c822e1c2d0ea87cc136aa0dbccbe68277d693744df23dfc41c412f97ecb57c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f9d5e2ceaffc7a51f92cf25be066931276117ae3a23901e680c43b0f8d5c29f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6dbefe8e1bf7985b85a5d129d536bde6ccfc6af4571baa3f50badbef7a126aae"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17d11382357e7d5c048c166316b449a7b76ad69824ea5a842157a5f5b3e4f216"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a0566cc71b0ad7b3372b96afcf9e6f5b5c33ceaa8b7c88661caa6bb558489a3f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d0ab9c1589fed25fa083fd6dc87bddf664fc8afc3642231e6ffb538d9876eb6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 464 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 464 of the 791 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGolfSettingsView.swift. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Scoreboard/WidgetScoreboardGolfSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9507dcd207343721769f2590cacb5c7c2a63f2b7238ddbdabb48987f6a51d3b6"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WatchModel.swift \u2194 ModelWorkout.swift: \u0060Moblin Watch/Various/WatchModel.swift\u0060 (context Moblin Watch) and \u0060Moblin/Various/Model/ModelWorkout.swift\u0060 (context Moblin) sit in DIFFERENT parts of the tree yet change together 82% of the time (9 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006071a9785a\u0060 Refactoring.; \u0060435bfc3b\u0060 Cycling cadence from Apple Watch workouts (#436); \u0060c2b2af96\u0060 Refactoring. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/WatchModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f525dd8344dcf4b9c42b418bee8b529d90d1ad3b8de917c9042b82881e21d2c6"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WatchModel.swift \u2194 Model.swift: \u0060Moblin Watch/Various/WatchModel.swift\u0060 (context Moblin Watch) and \u0060Moblin/Various/Model/Model.swift\u0060 (context Moblin) sit in DIFFERENT parts of the tree yet change together 56% of the time (55 of the 99 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 55 shared commits counted here, the most recent 3 are \u0060435bfc3b\u0060 Cycling cadence from Apple Watch workouts (#436); \u00603aac25ae\u0060 Start workout from iphone or watch.; \u0060bd810581\u0060 Generic scoreboard continued. (at that commit the file was still \u0060Moblin Watch/Various/Model.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/WatchModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b0f8f183a011e3dbc823de35aca837c4eba8d334d1fe125dc06ff2f4e2bf69"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Bttv.swift \u2194 Seventv.swift: \u0060Moblin/Integrations/Emotes/Bttv.swift\u0060 and \u0060Moblin/Integrations/Emotes/Seventv.swift\u0060 change together 92% of the time (11 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060482d5c4d\u0060 Smaller and some static emotes from 7TV, BTTV and FFZ.; \u00602cbf1500\u0060 Toggles to enable/disable BTTV, FFZ and 7TV emotes. (at that commit the files were still \u0060Moblin/Emotes/Bttv.swift\u0060 and \u0060Moblin/Emotes/Seventv.swift\u0060); \u0060faa46e40\u0060 Swedish localization continued. (at that commit the files were still \u0060Moblin/Emotes/Bttv.swift\u0060 and \u0060Moblin/Emotes/Seventv.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Emotes/Bttv.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb874541b35b0cc80004aa1287d7fed48d9204233a1a435485abe37b551d3dbd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Bttv.swift \u2194 Ffz.swift: \u0060Moblin/Integrations/Emotes/Bttv.swift\u0060 and \u0060Moblin/Integrations/Emotes/Ffz.swift\u0060 change together 92% of the time (11 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060482d5c4d\u0060 Smaller and some static emotes from 7TV, BTTV and FFZ.; \u00602cbf1500\u0060 Toggles to enable/disable BTTV, FFZ and 7TV emotes. (at that commit the files were still \u0060Moblin/Emotes/Bttv.swift\u0060 and \u0060Moblin/Emotes/Ffz.swift\u0060); \u0060faa46e40\u0060 Swedish localization continued. (at that commit the files were still \u0060Moblin/Emotes/Bttv.swift\u0060 and \u0060Moblin/Emotes/Ffz.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Emotes/Bttv.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efca0d7487241b8b0ac295fbc4af4b2301a00566ba7c16c82344a749b9214df"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Ffz.swift \u2194 Seventv.swift: \u0060Moblin/Integrations/Emotes/Ffz.swift\u0060 and \u0060Moblin/Integrations/Emotes/Seventv.swift\u0060 change together 92% of the time (11 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060482d5c4d\u0060 Smaller and some static emotes from 7TV, BTTV and FFZ.; \u00602cbf1500\u0060 Toggles to enable/disable BTTV, FFZ and 7TV emotes. (at that commit the files were still \u0060Moblin/Emotes/Ffz.swift\u0060 and \u0060Moblin/Emotes/Seventv.swift\u0060); \u0060faa46e40\u0060 Swedish localization continued. (at that commit the files were still \u0060Moblin/Emotes/Ffz.swift\u0060 and \u0060Moblin/Emotes/Seventv.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Emotes/Ffz.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0abed12bcfabb6d0ec3f6ced415a8603071cd944500ea8e769d5a7d15d82165"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: StreamWizardNetworkSetupBelaboxSettingsView.swift \u2192 StreamWizardCustomSrtSettingsView.swift, StreamWizardNetworkSetupDirectSettingsView.swift, StreamWizardNetworkSetupObsSettingsView.swift, StreamWizardKickSettingsView.swift, StreamWizardTwitchSettingsView.swift: \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupBelaboxSettingsView.swift\u0060 changes together with 5 other files \u2014 \u0060Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomSrtSettingsView.swift\u0060, \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift\u0060, \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupObsSettingsView.swift\u0060, \u0060Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardKickSettingsView.swift\u0060, \u0060Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardTwitchSettingsView.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupBelaboxSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2ca014aa12ec72a9c1b82e52704f1c0884acda7937beacae864a8dfd32d7ed"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MpegTsVideoConfigAvc.swift \u2194 MpegTsVideoConfigHevc.swift: \u0060Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift\u0060 and \u0060Moblin/Media/HaishinKit/Mpeg/Hevc/MpegTsVideoConfigHevc.swift\u0060 change together 87% of the time (13 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u006020d40f36\u0060 Video config refactoring.; \u00607fbc620a\u0060 Video config refactoring.; \u006041f4785c\u0060 Video config refactoring. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/MpegTsVideoConfigAvc.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a978af258505a95d7384f658217ff68066ca6b812e00eee5ba1d71197727738"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: SceneWidgetSettingsView.swift, PositionEditView.swift, SizeEditView.swift: 3 files \u2014 \u0060Moblin/View/Settings/Scenes/Scene/SceneWidgetSettingsView.swift\u0060, \u0060Moblin/View/Utils/PositionEditView.swift\u0060, \u0060Moblin/View/Utils/SizeEditView.swift\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":"Moblin/View/Settings/Scenes/Scene/SceneWidgetSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac39eaf8536f7ff607b68013099fa59a34e998564a63ae0f266455437890b0b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WidgetAlertsImageSettingsView.swift \u2194 WidgetAlertsSoundSettingsView.swift: \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsImageSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsSoundSettingsView.swift\u0060 change together 71% of the time (12 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u00604fc8fe89\u0060 Match the Moblin UI when configuring scenes and widgets via remote co\u2026; \u0060f60f6e89\u0060 Alert GIF settings refactoring.; \u0060b50dcd34\u0060 Observe alerts media gallery in sound and image settings views. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Scenes/Widgets/Widget/Alerts/WidgetAlertsImageSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedb081c7d2a580e0780b1fc473686ccd37e69424740b576c24ac221ee52875d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: Model.swift \u2192 TeslaVehicle.swift, LocalListener.swift, MoblinkRelay.swift, FileStorage.swift, TextFormatStringLoader.swift: \u0060Moblin/Various/Model/Model.swift\u0060 changes together with 5 other files \u2014 \u0060Moblin/Integrations/Tesla/TeslaVehicle.swift\u0060, \u0060Moblin/Media/Srtla/Client/LocalListener.swift\u0060, \u0060Moblin/Moblink/MoblinkRelay.swift\u0060, \u0060Moblin/Various/Storages/FileStorage.swift\u0060, \u0060Moblin/VideoEffects/Text/TextFormatStringLoader.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5496a75706ce093049f882712ae3f220b740170db4a49e275e437cb375aa41f5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DjiDevice.swift \u2194 DjiDeviceModel.swift: \u0060Moblin/Integrations/Dji/DjiDevice/DjiDevice.swift\u0060 and \u0060Moblin/Integrations/Dji/DjiDevice/DjiDeviceModel.swift\u0060 change together 69% of the time (11 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u006000344020\u0060 Add DJI Osmo Pocket 4 Pro support (#536); \u00601bb49028\u0060 Support for DJI Pocket 4 in DJI devices.; \u00601c6ddea2\u0060 Attempt to add support for Dji Osmo Action 2. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Dji/DjiDevice/DjiDevice.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"326e228b0d71f2234703ecfd2c1c7046d4f0a1aa8dc16bcd92150e5e6152ab22"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StreamWizardKickSettingsView.swift \u2194 StreamWizardTwitchSettingsView.swift: \u0060Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardKickSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardTwitchSettingsView.swift\u0060 change together 69% of the time (11 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u006021417bbc\u0060 Global Twitch ingest URL by default.; \u0060b1845e72\u0060 Upper case first letter in channel name and use URL keyboard for URL:s.; \u00601fa3fbac\u0060 Disable auto capitalization in many input fields. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardKickSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd3196ccafade42b79982aa37a196067729b81c5726a04d0c9d2adcdda512d7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RtmpServerSettingsView.swift \u2194 SrtlaServerSettingsView.swift: \u0060Moblin/View/Settings/Ingests/RtmpServer/RtmpServerSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Ingests/SrtlaServer/SrtlaServerSettingsView.swift\u0060 change together 67% of the time (16 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u00603f63c753\u0060 List mics refactoring.; \u0060998252a1\u0060 Refactoring.; \u0060512a183e\u0060 WHIP server continued. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Ingests/RtmpServer/RtmpServerSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7e1a70ac9725b262bcf78a7cda61ff1f282ca199fbf58f319069643544cb80"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SceneSelectorView.swift \u2194 ZoomPresetSelctorView.swift: \u0060Moblin/View/Stream/Overlay/Right/SceneSelectorView.swift\u0060 and \u0060Moblin/View/Stream/Overlay/Right/ZoomPresetSelctorView.swift\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006006597f6f\u0060 Draw the segmented picker background, rounded corners and border in t\u2026; \u0060701444de\u0060 Configurable scene and zoom preset buttons colors.; \u0060aa202ac6\u0060 Revert \u0022Scene switch buttons in control bar and vertical zoom buttons.\u0022 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Stream/Overlay/Right/SceneSelectorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf53412ed0f1ee7372122056da63ba1917fbbf5b751463292f1abad384c9e1f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: Settings.swift \u2192 FileStorage.swift, QuickButtonDjiDevicesView.swift, QuickButtonGoProView.swift, CatPrintersSettingsView.swift, DebugSettingsView.swift, DeepLinkCreatorQuickButtonsSettingsView.swift, DeepLinkCreatorSettingsView.swift, RistServerSettingsView.swift, SrtlaServerSettingsView.swift, WidgetMapSettingsView.swift, StreamSrtAdaptiveBitrateSettingsView.swift, StreamSrtConnectionPriority2View.swift, WatchChatSettingsView.swift: \u0060Moblin/Various/Settings/Settings.swift\u0060 changes together with 13 other files \u2014 \u0060Moblin/Various/Storages/FileStorage.swift\u0060, \u0060Moblin/View/ControlBar/QuickButton/QuickButtonDjiDevicesView.swift\u0060, \u0060Moblin/View/ControlBar/QuickButton/QuickButtonGoProView.swift\u0060, \u0060Moblin/View/Settings/CatPrinters/CatPrintersSettingsView.swift\u0060, \u0060Moblin/View/Settings/Debug/DebugSettingsView.swift\u0060, \u0060Moblin/View/Settings/DeepLinkCreator/DeepLinkCreatorQuickButtonsSettingsView.swift\u0060, \u0060Moblin/View/Settings/DeepLinkCreator/DeepLinkCreatorSettingsView.swift\u0060, \u0060Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift\u0060, \u0060Moblin/View/Settings/Ingests/SrtlaServer/SrtlaServerSettingsView.swift\u0060, \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Map/WidgetMapSettingsView.swift\u0060, \u0060Moblin/View/Settings/Streams/Stream/Srt/StreamSrtAdaptiveBitrateSettingsView.swift\u0060, \u0060Moblin/View/Settings/Streams/Stream/Srt/StreamSrtConnectionPriority2View.swift\u0060, \u0060Moblin/View/Settings/Watch/Chat/WatchChatSettingsView.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 13 separate couplings, not 13 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 13."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Settings/Settings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"132c13d8bca0f9a6b96a8a3ff0feb698e85735e4692b12de329b40a987f2170d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ChatEffect.swift \u2194 WidgetChatSettingsView.swift: \u0060Moblin/VideoEffects/ChatEffect.swift\u0060 and \u0060Moblin/View/Settings/Scenes/Widgets/Widget/Chat/WidgetChatSettingsView.swift\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060c6573000\u0060 Refactoring.; \u00602b624f1d\u0060 Chat widget text font picker.; \u0060eef42da0\u0060 Number of chat messages to show setting in chat widget. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/ChatEffect.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d993d3641bf016db65584b06c923a3bef9d3a7add69b89d4fb72f2461d04ff2a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ModelAudio.swift \u2194 SelfieStickSettingsView.swift: \u0060Moblin/Various/Model/ModelAudio.swift\u0060 and \u0060Moblin/View/Settings/SelfieStick/SelfieStickSettingsView.swift\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006031e2e135\u0060 Refactoring and fix motion and macro gimbal buttons.; \u00608c985384\u0060 Gimbal animate.; \u0060e708fadf\u0060 Gimbal preset continued. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAudio.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f7a0e4f1494f1e0c4a6a0453f80ce9d3faf21371a3ebc6f1fabf5e28de04a4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TextEffect.swift \u2194 TextFormatStringLoader.swift: \u0060Moblin/VideoEffects/Text/TextEffect.swift\u0060 and \u0060Moblin/VideoEffects/Text/TextFormatStringLoader.swift\u0060 change together 65% of the time (34 of the 52 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 34 shared commits counted here, the most recent 3 are \u00605b26b4a3\u0060 Custom chat bot commands.; \u006024a4eb0f\u0060 Altitude ascent and descent in text widget.; \u0060b6d31273\u0060 Add area and neighborhood text widget variables. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Text/TextEffect.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7f44a4aa4b11731eec4da1d5c6cd6993fcf47172942171eb01cc01b00ae136"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: StreamWizardNetworkSetupDirectSettingsView.swift \u2192 StreamWizardCustomSrtSettingsView.swift, StreamWizardNetworkSetupObsSettingsView.swift, StreamWizardKickSettingsView.swift: \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift\u0060 changes together with 3 other files \u2014 \u0060Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomSrtSettingsView.swift\u0060, \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupObsSettingsView.swift\u0060, \u0060Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardKickSettingsView.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ff2c3c3c356cdbd73d92770e8b7669628c1de64f55ab2ee984b75f99ded59e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RemoteControl.swift \u2194 TextEffectFormatter.swift: \u0060Moblin/RemoteControl/RemoteControl.swift\u0060 and \u0060Moblin/VideoEffects/Text/TextEffectFormatter.swift\u0060 change together 62% of the time (15 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u0060b6808698\u0060 Add BLE cycling speed and cadence (CSC) workout device support (#435); \u0060159d3db1\u0060 System monitor variable, {systemMonitor}.; \u0060e443f265\u0060 {bonding} variable. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"627895e0fd966a88b64e0a031631e4cbca64ebb1ee773355d143b623bfcb53bd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ModelStream.swift \u2194 GoLiveNotificationSettingsView.swift: \u0060Moblin/Various/Model/ModelStream.swift\u0060 and \u0060Moblin/View/Settings/Streams/Stream/GoLiveNotification/GoLiveNotificationSettingsView.swift\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00606828867c\u0060 Do not allow uploading snapshot as part of go live notification to mo\u2026; \u0060d567aef3\u0060 Optional snapshot in go live notification to moblin website.; \u0060d28e1476\u0060 Website go live notification toggle in wizrad. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelStream.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"753d64785b3c7141ebad2a232b8ab357151fe092d0e3a74cb80a5acbb436baff"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SampleBufferReceiver.swift \u2194 SampleBufferSender.swift: \u0060Moblin Screen Recording/Shared/SampleBufferReceiver.swift\u0060 and \u0060Moblin Screen Recording/Shared/SampleBufferSender.swift\u0060 change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006091948cac\u0060 Make it possible to use screen capture app audio as mic.; \u00602a908f10\u0060 Use FileDescriptor for screen recording socket I/O and close sender s\u2026; \u006031786e25\u0060 Screen recorder refactoring. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Screen Recording/Shared/SampleBufferReceiver.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"039f8a8dc81c8c07dc980f69f1ab88959a092555e157621a0aad9ad2fe0905d7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: TwitchChat.swift \u2192 Bttv.swift, Ffz.swift, Seventv.swift, SoopChat.swift: \u0060Moblin/StreamingPlatforms/Twitch/TwitchChat.swift\u0060 changes together with 4 other files \u2014 \u0060Moblin/Integrations/Emotes/Bttv.swift\u0060, \u0060Moblin/Integrations/Emotes/Ffz.swift\u0060, \u0060Moblin/Integrations/Emotes/Seventv.swift\u0060, \u0060Moblin/StreamingPlatforms/Soop/SoopChat.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchChat.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e69651db47f0cdc481bb7084332b68afea653e26d254f66c9d2d578c99d44ba"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ReplayFrameExtractor.swift \u2194 ReplayView.swift: \u0060Moblin/Various/ReplayFrameExtractor.swift\u0060 and \u0060Moblin/View/Stream/Overlay/Right/ReplayView.swift\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00604e72c2bf\u0060 Replay toggle in settings.; \u0060c1e13c1e\u0060 Replay history.; \u006033cbf6f9\u0060 Replay. (at that commit the file was still \u0060Moblin/Various/Replay.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/ReplayFrameExtractor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9ef2a4be5642dfcca9fcba433537b87f8ea2bf2a23707bbe00279b7cef0afe"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ModelMoblinCloud.swift \u2194 MoblinCloudSettingsView.swift: \u0060Moblin/Various/Model/ModelMoblinCloud.swift\u0060 and \u0060Moblin/View/Settings/MoblinCloud/MoblinCloudSettingsView.swift\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00608224e384\u0060 Moblin Cloud URL setting.; \u0060ba990130\u0060 New Moblin Cloud URL.; \u0060edcdbd8a\u0060 Remove Moblin Cloud song requests toggle. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd979918393811bc9e403ddeb71b0450f9d4eb122ea1b4e29bb81ecee97078c7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RemoteControlAssistant.swift \u2194 RemoteControlStreamer.swift: \u0060Moblin/RemoteControl/RemoteControlAssistant.swift\u0060 and \u0060Moblin/RemoteControl/RemoteControlStreamer.swift\u0060 change together 55% of the time (53 of the 96 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 53 shared commits counted here, the most recent 3 are \u006033acad8e\u0060 Read and edit streams via remote control, leaving out secrets when th\u2026; \u0060ed85102f\u0060 Add the widget to the given scenes when creating a widget via remote \u2026; \u006070190a17\u0060 Configure scenes, widgets and media via remote control. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlAssistant.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"349235b96eb91b65936ed5f80e510033296da82e663327d2d7f9c9b72dd7d6b9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Media.swift \u2194 ModelPhotoShoot.swift: \u0060Moblin/Various/Media.swift\u0060 and \u0060Moblin/Various/Model/ModelPhotoShoot.swift\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060f00f3cce\u0060 Start photo shoot timer when camera attach has completed.; \u00603ffa7e0c\u0060 Flash photo shoot overlay when a photo is taken.; \u0060c165f626\u0060 Optionally use flash when taking photos during photo shoot \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Media.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc99446b3e3f48f0a8b3116a760185abacce097e9d9bc3185a1b0774798f60a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ModelPhotoShoot.swift \u2194 MainView.swift: \u0060Moblin/Various/Model/ModelPhotoShoot.swift\u0060 and \u0060Moblin/View/MainView.swift\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060f00f3cce\u0060 Start photo shoot timer when camera attach has completed.; \u0060b72b71ab\u0060 Photo shoot visual feedback.; \u00603ffa7e0c\u0060 Flash photo shoot overlay when a photo is taken. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelPhotoShoot.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8517b15b4c1bd92b09905383ce4b61f107e77adc7689132aa6eaa09068797a5e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DjiDevicesSettingsView.swift \u2194 WorkoutDevicesSettingsView.swift: \u0060Moblin/View/Settings/DjiDevices/DjiDevicesSettingsView.swift\u0060 and \u0060Moblin/View/Settings/WorkoutDevices/WorkoutDevicesSettingsView.swift\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00600292c5e7\u0060 Let the device images on the Tesla, GoPro, DJI, cat printer, workout \u2026; \u006049880492\u0060 Localized names. (at that commit the file was still \u0060Moblin/View/Settings/HeartRateDevices/HeartRateDevicesSettingsView.swift\u0060); \u00608a5f7a70\u0060 No duplicated names when creating scenes/streams/widgets/... (at that commit the file was still \u0060Moblin/View/Settings/HeartRateDevices/HeartRateDevicesSettingsView.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/DjiDevices/DjiDevicesSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a14bff0dac9ff02c3e3044d525b10c6069f1612171f93fef249a0dfc4a9259f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CatPrintersSettingsView.swift \u2194 WorkoutDevicesSettingsView.swift: \u0060Moblin/View/Settings/CatPrinters/CatPrintersSettingsView.swift\u0060 and \u0060Moblin/View/Settings/WorkoutDevices/WorkoutDevicesSettingsView.swift\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00600292c5e7\u0060 Let the device images on the Tesla, GoPro, DJI, cat printer, workout \u2026; \u006025f7f44c\u0060 Make cycling power device part of workout device.; \u006049880492\u0060 Localized names. (at that commit the file was still \u0060Moblin/View/Settings/HeartRateDevices/HeartRateDevicesSettingsView.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/CatPrinters/CatPrintersSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e99d7bef9ce5763883a018eb49c695708395cb5bf8acf8eea841e9da2e4f901"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WatchProtocol.swift \u2194 ChatView.swift: \u0060Moblin Watch/Shared/WatchProtocol.swift\u0060 and \u0060Moblin Watch/View/Chat/ChatView.swift\u0060 change together 52% of the time (13 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u00607a735183\u0060 Single line moderator chat messages and less noticable replies.; \u0060c1735b9a\u0060 Make chat messages from moderators easier to see.; \u0060324bb159\u0060 Show login name next to chatter name if not same. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Shared/WatchProtocol.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d556de218bc21de22727a8ee15672e33ebec3fd4950122a072b2f273393ed57"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ModelMoblinCloud.swift \u2194 ModelRemoteControl.swift: \u0060Moblin/Various/Model/ModelMoblinCloud.swift\u0060 and \u0060Moblin/Various/Model/ModelRemoteControl.swift\u0060 change together 52% of the time (15 of the 29 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u006033acad8e\u0060 Read and edit streams via remote control, leaving out secrets when th\u2026; \u0060cbe4b01a\u0060 Add remote control tally around the camera preview.; \u00602590dfe5\u0060 Remote control settings carry the Moblin Cloud alerts and wheel of lu\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelMoblinCloud.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c088d9cd62de33d037365c3747bb4843eaabb6516fe7606f8be58f34c8a80a7d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ModelScene.swift \u2194 TextEffectFormatter.swift: \u0060Moblin/Various/Model/ModelScene.swift\u0060 and \u0060Moblin/VideoEffects/Text/TextEffectFormatter.swift\u0060 change together 50% of the time (12 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060ea7b5853\u0060 Variables.; \u00605b26b4a3\u0060 Custom chat bot commands.; \u006024a4eb0f\u0060 Altitude ascent and descent in text widget. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelScene.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00a5a52713bb63709045535ad3940d27bb4aebbadd506facef4349a7e81a56b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RistServerSettingsView.swift \u2194 RtmpServerSettingsView.swift: \u0060Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Ingests/RtmpServer/RtmpServerSettingsView.swift\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00603f63c753\u0060 List mics refactoring.; \u0060998252a1\u0060 Refactoring.; \u0060512a183e\u0060 WHIP server continued. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9496079b21979adf167957459f09c3c9107786a78553f45afd9309fe17c84599"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RistServerSettingsView.swift \u2194 SrtlaServerSettingsView.swift: \u0060Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Ingests/SrtlaServer/SrtlaServerSettingsView.swift\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00603f63c753\u0060 List mics refactoring.; \u0060998252a1\u0060 Refactoring.; \u0060512a183e\u0060 WHIP server continued. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Ingests/RistServer/RistServerSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"799bbd0a0ea011549e449f05f31e771b311b51494893724f338716da291cae18"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ZoomPresetSettingsView.swift \u2194 ZoomSwitchToSettingsView.swift: \u0060Moblin/View/Settings/Camera/Zoom/ZoomPresetSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Camera/Zoom/ZoomSwitchToSettingsView.swift\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060fbda5fe0\u0060 Snappier UI.; \u0060b6ac5efe\u0060 Refactoring.; \u0060cf4003cc\u0060 Refactoring. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Camera/Zoom/ZoomPresetSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3e1d4e88d7be865ffe519bbec0fd5b1a67ea13b6855585e71abda69d1516bc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StreamWizardNetworkSetupObsSettingsView.swift \u2194 StreamWizardKickSettingsView.swift: \u0060Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupObsSettingsView.swift\u0060 and \u0060Moblin/View/Settings/Streams/Stream/Wizard/Platform/StreamWizardKickSettingsView.swift\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00601fa3fbac\u0060 Disable auto capitalization in many input fields.; \u0060c9183b7b\u0060 Wizard continued.; \u00605a9b4240\u0060 Create stream wizard continued. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupObsSettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fcba8d8951bd4428022d10e78d4f16ea48c208e7d46d3d5aa85ce793c91430"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ModelStream.swift \u2194 SettingsAudio.swift: \u0060Moblin/Various/Model/ModelStream.swift\u0060 and \u0060Moblin/Various/Settings/SettingsAudio.swift\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060cfc78e41\u0060 Per mic gain added to the output gain.; \u006091948cac\u0060 Make it possible to use screen capture app audio as mic.; \u006065bb9e80\u0060 Mic delay. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelStream.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c48a6645f9e4a845d12f466263da2fbad2a3297644476931480faca780479fb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RemoteControl.swift \u2194 AppleMusicSettingsView.swift: \u0060Moblin/RemoteControl/RemoteControl.swift\u0060 and \u0060Moblin/View/Settings/AppleMusic/AppleMusicSettingsView.swift\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060edcdbd8a\u0060 Remove Moblin Cloud song requests toggle.; \u00605f7d6d88\u0060 Revert \u0022Song request time limit.\u0022; \u00603e94a05f\u0060 Song request time limit. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9a823b9ed4d61153a031d0a0c394c65850958820240d42882840c3fbf36ab9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ModelGameController.swift \u2194 SettingsGimbal.swift: \u0060Moblin/Various/Model/ModelGameController.swift\u0060 and \u0060Moblin/Various/Settings/SettingsGimbal.swift\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006098715e2d\u0060 Set stream deck layout controller function.; \u006031e2e135\u0060 Refactoring and fix motion and macro gimbal buttons.; \u006002b090de\u0060 Gimbal tracking setting. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelGameController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad79287bc3c777ec704f8f33c90a9912ef0f8c04f5d37787baf26eb81403793"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1068cb69796d6d43a85c9238581887c39da37439f48e4c6010653ac796c9ecf1"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/scoreboard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e9ea123006a5194f84b999aef70e179742d241296a5d077cc9023fe9da78c6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/components.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d120fa5bfb61c95a4c27b5ec5ed77880910160798a3d7f41f9f48412cc337ff8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/components.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7d01deb9de714b11be11821c95b1c851a574ac9dbda70b5d5535760dbd9ed9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6babe777fc374f4ae11f8faa4c1bdd9628b044e9f9fb2c2371ca426afbef9b9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"92390e960858626a9dd38cdbe9eb0a8327fe55e8a599933c2dfe516d365fc2cb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"730ba21c17914fcf1b7d9011e155cd859dc235710a20002ca11f635925b968c4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6424cc1817d2d6c365fdb1da6b2fb7db5c2ccf582be2dd584de734bd35395f76"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"35feaf38c2db645354a0c54072e3650c394ae757d6c300dd96c35474c01ce0de"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c19dcd08dadd4fe47314bf5a4a9f7fa7c5ed42b12ea809e5ddbf7bbd6fb2c0f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"174dca1a6cda55d8f8e8abccba4f839212421f0b31a1ba60d257e03ddd3d0907"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"57123c5ded518415aa969007cae376d6bc89f9009402e861acd2c0f0e451470c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb98430ecee4f7cbea948486f152295654c18bbd4c4ff735e134d71a5bcfc7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f636c354944498e6b81429d238c6f1d3987aa47d316748594a0a0d5b8e9599a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"20574473c135d32edc87857591ff765060c1a9702edbc295b858ba58f26e5415"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cimg\u003E: This \u003Cimg\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/recordings.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"50389a02a27c8094aa11106fbaa03177009cd4e1ac6624d3ddde5d68d68b7c33"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"87191a5e3fed77894fb6a18281c5e6e89c59b930f5532ddb27a4c5a656a67b67"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbc47f0e61f881c914b080982da8d85f1bbdd9939b554af17e0171d8e17ac3c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6f5200857b8094e5882cf6ba282d0c3bc69a27a75f8548f59b2462df62860b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f665b6ff479901bccff8d47c47cc8eab459ddcc8c61e0bc72bf2f13eea653da"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e76c0338b979c220a35d5d9ab767876a292f6d063418148e379fa748fd14dfa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"facc12bb2f8a454f5eae6566c0ba10ad8453bccfb8a5364c31de006bb519afff"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fd4183da62afe42c977428130f5c55987dbfdbed30b4b6cc6defcaa3592c10"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1e95853967aa2f45d090b12bd222f5e2f7443bc0fcf1ad0f4b80b1b5be4acc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77569c268d71244cb314c2cb3989c7a973b7c00c8665b11ae80c0f62231dd00"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da520629ccc589f4f8193b81715d6d0f4121123288dd10b7af8d31901a43532"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"de23a2cd89beda0b17302351d09ef09e282f50ff242df008f04ee9c5ba601c52"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56457037050645adcf7c12579dc5c4afd1a028e50d4fa8836425148afc3ec64"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2301b5237b2de71b2b4a1e08ae8cf4b2a593d44c9f75bee1e69b6a77c52caf"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/golf.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f10bc3d028964900017f1b855e54b2387d2bcc7fb4657e9ef742da3553f365f"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/golf.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6947293541ed7b1a07a19daed1fb5e2181b4119df53f1bd3b818711cad739178"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c2989a47b7d15c5d3d7146dd2b3ec32a0d76065f645ad56d234d72ee8618c6"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f7e2dd88b2c531f29d4beac58edf24624117a33891d2764b740a323a64aac4"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/recordings.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"753d251f4c7df2d13ff7377b3edb19e449879c52cdc97636b2d782b4e63f6f75"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/recordings.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7139ea9999bbf59fd3a53f67abf31c5ba93be0951f792ee8a47ac97e18c33a"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/remote.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fe5f4554e75907b6447a11f6e88116e504427247e04a01b81e53670ea75d19"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/remote.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda9af883df7e4fdd5fb10d23e1c3e6ecb56c2a2a00d854edc5dd0874dc9cc19"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/remote.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4328a2a45e2ab626d17d0690a08464971699425445656548a3f9250221df81ae"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/scoreboard.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3c280a4c71970a47e870db0c8e97665ab32bf0e9f448808208926e68468469"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/scoreboard.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e84be14dfd535f0e163525df6a8584c1e3a763498d6cf995d157a71ea086bb"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/golf.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9de92104baba36d2daa4eb29781ab7479b4a8f2bf61383ed3a59fb2d590c20"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/golf.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d667ef75501a48e46612bc07cc14f8022500f02be7c7ea473d74ab1411b33b4"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e226ddd481a9c8a0dc57511c9810f9629dd7d149fefe64c07ae9a2b761ae58"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccd73e6fc55f648c156962c1b09b9cf7116da25e62eb306d5fee91934fd2e07"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/recordings.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"565845be2efca9aa40e58ac3a40a66f2dac94026fb2abbba0fba740d08affba0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/recordings.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a59679fc7cf72a7b6a15cd9cc40a2516cdc0de1e69cef5f1bee763dd5c7a547"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/remote.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf5da39968322d00d52ecdd10c07f316afd30ca556dd2ee7de98e5025bac854"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/remote.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f518b5fec7a59d74b6000485380f23e5e9a17542bcc9716efac796d1a51f6aa"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/remote.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadba08f9a06ac035467614944695a46d58d2fa476c056ebdd6fb33c37e7e4b3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/scoreboard.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb72b4ab39bca32e09b707dde2c6ce53d7e96586e38cd4624c68718fad1f6141"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/scoreboard.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7508ab5b6e2f6916c4443df717976978ca6e1cf1abb5f0539c159a3560e77140"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39e0e44a4dca5f7ae8dea3aacd1422ca2de4d6a0176fbdd8f85095fdbbf4b58"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cimg\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/recordings.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63ad73f8f64bf1553d954a4f1edd9eb5d87135137d2f75393cb28dfde6a8529"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/recordings.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfe2d08d79e1769b280d880edf07ce3c0fd0232a75a42d792bb13725da87d21"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a49a448b2c1898ef65698699010b8725baf6f398696ca8b27637c5fdf5891e1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/components.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae56267d8278bb7be7c1297ff375fd27480d0168c71dfb9ed85881c5a499ef"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060.scorecard-table .birdie\u0060 sets color: #d4d4d8 on background-color: #1d7942 \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/css/golf.css"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a5d1695ef9d9c102b75eb23f68ff818ebe400e64ce3f3156a45e8a0eeec8ba"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060.scorecard-table .birdie\u0060 sets color: #d4d4d8 on background-color: #1d7942 \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/css/golf.css"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bc3acd0c810981145d632d118c837b2887f86b900cf11e7a2fdef3ddb54222"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060input[type=\u0022text\u0022]\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/css/remote.css"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"48db4691bc720f8f1a826b1ec8bd27c889074bb29e0f27bb7a837d3a337a657c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060input[type=text]\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/css/remote.css"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1314b5c1a1a609f20a846070a140790f2cd53714299b58eb1d417051126dfb4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.btn\u0060 moves (\u0060transition: filter 0.1s,\n    transform 0.1s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/css/remote.css"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98338d3891468072f3269dfc1734363db018de6c67b443e9670e3eb9ee32965"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.btn\u0060 moves (\u0060transition: filter .1s,transform .1s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/Web/css/remote.css"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2431f61cf156377927b64aedb29147e7465e4986fb73f754b8e44b4b70cf6a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RemoteControlStreamerDelegate (77 requirements): \u0060RemoteControlStreamerDelegate\u0060 declares 77 requirements: \u0060remoteControlStreamerConnected\u0060, \u0060remoteControlStreamerDisconnected\u0060, \u0060remoteControlStreamerWrongPassword\u0060, \u0060remoteControlStreamerGetStatus\u0060, \u0060remoteControlStreamerGetSettings\u0060, \u0060remoteControlStreamerSetStream\u0060, \u0060remoteControlStreamerSetScene\u0060, \u0060remoteControlStreamerSetAutoSceneSwitcher\u0060, \u0060remoteControlStreamerSetMic\u0060, \u0060remoteControlStreamerSetTalkbackMic\u0060, \u0060remoteControlStreamerSetBitratePreset\u0060, \u0060remoteControlStreamerSetRecord\u0060, \u0060remoteControlStreamerSetLive\u0060, \u0060remoteControlStreamerShowTally\u0060, \u0060remoteControlStreamerHideTally\u0060, \u0060remoteControlStreamerSetPreviewStream\u0060, \u0060remoteControlStreamerSetDebugLogging\u0060, \u0060remoteControlStreamerSetZoom\u0060, \u0060remoteControlStreamerSetZoomPreset\u0060, \u0060remoteControlStreamerSetMute\u0060, \u0060remoteControlStreamerSetStealthMode\u0060, \u0060remoteControlStreamerSetTorch\u0060, \u0060remoteControlStreamerReloadBrowserWidgets\u0060, \u0060remoteControlStreamerSetSrtConnectionPriority\u0060, \u0060remoteControlStreamerSetSrtConnectionPrioritiesEnabled\u0060, \u0060remoteControlStreamerTwitchEventSubNotification\u0060, \u0060remoteControlStreamerChatMessages\u0060, \u0060remoteControlStreamerStartPreview\u0060, \u0060remoteControlStreamerStopPreview\u0060, \u0060remoteControlStreamerSetRemoteSceneSettings\u0060, \u0060remoteControlStreamerSetRemoteSceneData\u0060, \u0060remoteControlStreamerInstantReplay\u0060, \u0060remoteControlStreamerSaveReplay\u0060, \u0060remoteControlStreamerStartStatus\u0060, \u0060remoteControlStreamerStopStatus\u0060, \u0060remoteControlStreamerGetScoreboardSports\u0060, \u0060remoteControlStreamerSetScoreboardSport\u0060, \u0060remoteControlStreamerUpdateScoreboard\u0060, \u0060remoteControlStreamerToggleScoreboardClock\u0060, \u0060remoteControlStreamerSetScoreboardDuration\u0060, and 37 more. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlStreamer.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff35e4ea89a060de2f34a52302965559fc4a43a2200f7ce01b58c1ce8c8140a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RemoteControlWebDelegate (44 requirements): \u0060RemoteControlWebDelegate\u0060 declares 44 requirements: \u0060remoteControlWebConnected\u0060, \u0060remoteControlWebDisconnected\u0060, \u0060remoteControlWebGetStatus\u0060, \u0060remoteControlWebGetSettings\u0060, \u0060remoteControlWebSetScene\u0060, \u0060remoteControlWebSetAutoSceneSwitcher\u0060, \u0060remoteControlWebSetMic\u0060, \u0060remoteControlWebSetBitratePreset\u0060, \u0060remoteControlWebSetRecord\u0060, \u0060remoteControlWebSetLive\u0060, \u0060remoteControlWebShowTally\u0060, \u0060remoteControlWebHideTally\u0060, \u0060remoteControlWebSetPreviewStream\u0060, \u0060remoteControlWebSetZoom\u0060, \u0060remoteControlWebSetZoomPreset\u0060, \u0060remoteControlWebSetDebugLogging\u0060, \u0060remoteControlWebSetMute\u0060, \u0060remoteControlWebSetStealthMode\u0060, \u0060remoteControlWebSetTorch\u0060, \u0060remoteControlWebReloadBrowserWidgets\u0060, \u0060remoteControlWebSetSrtConnectionPrioritiesEnabled\u0060, \u0060remoteControlWebSetSrtConnectionPriority\u0060, \u0060remoteControlWebMoveToGimbalPreset\u0060, \u0060remoteControlWebSetGimbalTracking\u0060, \u0060remoteControlWebSetGimbalMovement\u0060, \u0060remoteControlWebAnimateGimbal\u0060, \u0060remoteControlWebSaveGimbalPreset\u0060, \u0060remoteControlWebGetScoreboardSports\u0060, \u0060remoteControlWebSetScoreboardSport\u0060, \u0060remoteControlWebUpdateScoreboard\u0060, \u0060remoteControlWebToggleScoreboardClock\u0060, \u0060remoteControlWebSetScoreboardDuration\u0060, \u0060remoteControlWebSetScoreboardClock\u0060, \u0060remoteControlWebGetGolfScoreboard\u0060, \u0060remoteControlWebUpdateGolfScoreboard\u0060, \u0060remoteControlWebSetFilter\u0060, \u0060remoteControlWebTriggerReaction\u0060, \u0060remoteControlWebGetRecordings\u0060, \u0060remoteControlWebGetRecordingUrl\u0060, \u0060remoteControlWebGetRecordingThumbnail\u0060, and 4 more. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControlWeb.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5602c0b0cbc70d47aa5feda800b0af2728a1dbb210d2f476121d05e6916af52"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MediaDelegate (32 requirements): \u0060MediaDelegate\u0060 declares 32 requirements: \u0060mediaOnSrtConnected\u0060, \u0060mediaOnSrtDisconnected\u0060, \u0060mediaOnRtmpConnected\u0060, \u0060mediaOnRtmpDisconnected\u0060, \u0060mediaOnRtmpDestinationConnected\u0060, \u0060mediaOnRtmpDestinationDisconnected\u0060, \u0060mediaOnRistConnected\u0060, \u0060mediaOnRistDisconnected\u0060, \u0060mediaOnWhipConnected\u0060, \u0060mediaOnWhipDisconnected\u0060, \u0060mediaOnMobcamConnected\u0060, \u0060mediaOnMobcamDisconnected\u0060, \u0060mediaOnWhipPerform\u0060, \u0060mediaOnAudioBuffer\u0060, \u0060mediaOnLowFpsImage\u0060, \u0060mediaOnAttachCameraError\u0060, \u0060mediaOnCaptureSessionError\u0060, \u0060mediaOnBufferedVideoReady\u0060, \u0060mediaOnBufferedVideoRemoved\u0060, \u0060mediaOnEncoderResolutionChanged\u0060, \u0060mediaOnRecorderInitSegment\u0060, \u0060mediaOnRecorderDataSegment\u0060, \u0060mediaOnRecorderFinished\u0060, \u0060mediaOnNoTorch\u0060, \u0060mediaOnPhotoTaken\u0060, \u0060mediaOnFps\u0060, \u0060mediaMoblinkStreamerDestinationAddress\u0060, \u0060mediaMoblinkStreamerRestartTunnel\u0060, \u0060mediaSetZoomX\u0060, \u0060mediaSetExposureBias\u0060, \u0060mediaSelectedFps\u0060, \u0060mediaError\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Media.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"be773472d1fc264c20ee244026678457d658c2fef597523f3141051f558793bf"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: TwitchEventSubDelegate (24 requirements): \u0060TwitchEventSubDelegate\u0060 declares 24 requirements: \u0060twitchEventSubChannelFollow\u0060, \u0060twitchEventSubChannelSubscribe\u0060, \u0060twitchEventSubChannelSubscriptionGift\u0060, \u0060twitchEventSubChannelSubscriptionMessage\u0060, \u0060twitchEventSubChannelSubscriptionUpgrade\u0060, \u0060twitchEventSubChannelWatchStreak\u0060, \u0060twitchEventSubChannelPointsCustomRewardRedemptionAdd\u0060, \u0060twitchEventSubChannelRaid\u0060, \u0060twitchEventSubChannelCheer\u0060, \u0060twitchEventSubChannelHypeTrainBegin\u0060, \u0060twitchEventSubChannelHypeTrainProgress\u0060, \u0060twitchEventSubChannelHypeTrainEnd\u0060, \u0060twitchEventSubChannelAdBreakBegin\u0060, \u0060twitchEventSubChannelPollBegin\u0060, \u0060twitchEventSubChannelPollProgress\u0060, \u0060twitchEventSubChannelPollEnd\u0060, \u0060twitchEventSubChannelPredictionBegin\u0060, \u0060twitchEventSubChannelPredictionProgress\u0060, \u0060twitchEventSubChannelPredictionLock\u0060, \u0060twitchEventSubChannelPredictionEnd\u0060, \u0060twitchEventSubChannelModerate\u0060, \u0060twitchEventSubChannelShoutoutCreate\u0060, \u0060twitchEventSubUnauthorized\u0060, \u0060twitchEventSubNotification\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Twitch/TwitchEventSub.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1582720734b8d4f6b01c9e138d22330a5d8fe04681ab9695c93d3ab5d1fcaa3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ProcessorDelegate (17 requirements): \u0060ProcessorDelegate\u0060 declares 17 requirements: \u0060streamAudioLevel\u0060, \u0060streamLowFpsImage\u0060, \u0060streamVideoAttachCameraError\u0060, \u0060streamVideoCaptureSessionError\u0060, \u0060streamVideoBufferedVideoReady\u0060, \u0060streamVideoBufferedVideoRemoved\u0060, \u0060streamVideoFps\u0060, \u0060streamVideoEncoderResolution\u0060, \u0060streamRecorderInitSegment\u0060, \u0060streamRecorderDataSegment\u0060, \u0060streamRecorderFinished\u0060, \u0060streamAudio\u0060, \u0060streamNoTorch\u0060, \u0060streamPhotoTaken\u0060, \u0060streamSetZoomX\u0060, \u0060streamSetExposureBias\u0060, \u0060streamSelectedFps\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Processor.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"558f18324065e7df7eea2ea45eef0b3d73832d0180f3b09cb4c617c4c34c5e82"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P1","level":"note","message":{"text":"CI test execution not evidenced: A CI pipeline exists but no test-runner invocation (your stack\u0027s test command, or a test job) was found \u2014 changes may merge without the suite running."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"860902100b1c048f49c648730bdf23459de2d8ca6af82ef0ec593ecb3995a80c"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/all.yml"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060WebRemoteControlFrontend/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00998480b5a9b0ec3e01ec5d1de2baa6299a46073c7ab5610d42f7fcd337dbb"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/CommonUtils.swift"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0344f83a912dfd5c22868bc435f3d445244b43b9f89be7fcfb3308acec79097"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/CommonUtils.swift"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"6930a911fe0725fd45f26e532adceacaae53601a8a368e3acc9175b0c350c8b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): WebRemoteControlFrontend/src/remote.tsx:853 \u00B7 WebRemoteControlFrontend/src/remote.tsx:867 \u2014 all 2 copies are in the same file, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"84993b4ecf8b2a888328696bccbcae29c649dee74cd6d2b28d6ba7d98855340f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): WebRemoteControlFrontend/src/golf.tsx:57 \u00B7 WebRemoteControlFrontend/src/golf.tsx:74 \u2014 both copies are in the same file, so extract the block 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":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb90e3eb478a9b9daea88b4664b6334a1fe365c8bdd1a3a98d53e881444ce206"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): WebRemoteControlFrontend/src/remote.tsx:841 \u00B7 WebRemoteControlFrontend/src/remote.tsx:864 \u2014 all 2 copies are in the same file, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d180d3d057ac5484702a77a2713e337f8c1055fda0bb0fa2ade4bee640e7d0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): WebRemoteControlFrontend/src/golf.tsx:27 \u00B7 WebRemoteControlFrontend/src/golf.tsx:40 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b354db2703add70ee6b2ca28a5edaa8622cec476f5cf5e82e2bc4304070ae6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): WebRemoteControlFrontend/src/remote.tsx:362 \u00B7 WebRemoteControlFrontend/src/remote.tsx:396 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce3ffef3bd89dceb987c0c04736e800b212a54c835c163616f1fe5ba2f5e5bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleStateEvent (cyclomatic 19, cognitive 19): handleStateEvent has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3381b24c0d2bb2339647d66902083a1e906d657fde1d4856d2a8383920f166a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adjTennis (cyclomatic 18, cognitive 20): adjTennis has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0747033b5b1a04864de2789a5b8410b09b44ba6677ccc89531bbc1bc7da12850"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateStatusTopRight (cyclomatic 16, cognitive 15): updateStatusTopRight has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7139e8b8013c0ad0c286f51aa10681b1557878975483fa2ec062ece10004a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 23): (anonymous) has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc55aebef5dff777d3e8b9ffdf49db2d128ff42e53cb13fcabdf70f13c830a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextSet (cyclomatic 15, cognitive 18): nextSet has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9313ec2fb09bdb7ef8690567ba9dd2ee7b2b55cebefeb2591d36bf6942eb21f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adjust (cyclomatic 15, cognitive 16): adjust has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a59e60f7005628dc28db162c196dd24517613c5738d3aaf689177b9c211db72"}},{"ruleId":"R3","level":"warning","message":{"text":"WebRemoteControlFrontend/src/remote.tsx: 920 lines of code: WebRemoteControlFrontend/src/remote.tsx has 920 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/remote.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc6fc2cfcbd9c091b6fc77442b53f4762a0b6fdb2a42429071a9daa92028518"}},{"ruleId":"R3","level":"warning","message":{"text":"WebRemoteControlFrontend/src/index.tsx: 848 lines of code: WebRemoteControlFrontend/src/index.tsx has 848 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2073378735bbef14fb4a277d4971b3a3b8641d68c226a2e90774ea820c955da"}},{"ruleId":"R3","level":"warning","message":{"text":"WebRemoteControlFrontend/src/golf.tsx: 473 lines of code: WebRemoteControlFrontend/src/golf.tsx has 473 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/golf.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86137baf16653d465f6e013c7becae8869b4a04a12fcc6871418bd35f2c35c6f"}},{"ruleId":"R3","level":"warning","message":{"text":"WebRemoteControlFrontend/src/utils.ts: 470 lines of code: WebRemoteControlFrontend/src/utils.ts has 470 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2e776d79b962b62b06616c2fe092730db466683a4976cb07d7856c39c34d7c"}},{"ruleId":"R6","level":"warning","message":{"text":"No test script: test \u2717 \u00B7 lint \u2713 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7e5e0cc374484b1c72227eba121f79e7e90e5907d71a39d0ffec753e709f7fa6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~148 LoC): no import path from any entry point (7 application, 2 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Browser/video.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9093347566e407609ef5ed37778ea68b284ba835bc2563d3664ec76535276801"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~34 LoC): no import path from any entry point (7 application, 2 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/VideoEffects/Browser/moblin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6775c910cf5a19e675e9078a3f97d7fea253bf4bcb5b75bba3f40d26413e7d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.deleted || chatSettings.showDeletedMessages\u0060 appears character-identically in 3 files \u2014 Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift, Moblin/View/ExternalDisplay/ExternalDisplayView.swift, Moblin/View/Stream/Overlay/StreamOverlayChatView.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/ControlBar/QuickButton/Chat/QuickButtonChatView.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd62c7b5642bda5952ce08e992e5db31878f1ec34ab590b5eae6ac1786a9a47f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.interfaceType == .wifi \u0026\u0026 $0.ipType == .ipv4\u0060 appears character-identically in 3 files \u2014 Moblin/Various/Model/Model.swift, Moblin/Various/Model/ModelDjiDevice.swift, Moblin/Various/Model/ModelGoProDevice.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9702d3d5669f1df4f07edec3a18b6c79e8fa4c9b0a9d2abe77d4b9b47bae0f87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060createStreamWizard.customRtmpUrl.isEmpty || createStreamWizard.customRtmpStreamKey .isEmpty || !urlError .isEmpty\u0060 appears character-identically in 2 files \u2014 Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift, Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersRtmpSettingsView.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84ecb0c3a9b201a1f57c2509342d83289c19e4608aedfe1a16619b0cb1a2cd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060createStreamWizard.customSrtUrl.isEmpty || createStreamWizard.customSrtStreamId.isEmpty || !urlError.isEmpty\u0060 appears character-identically in 2 files \u2014 Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomSrtSettingsView.swift, Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersSrtSettingsView.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomSrtSettingsView.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"20baeb368c9334b009c028af5a78a3960440d8eec14aa9e4db6f671e734d5ffc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stream.enabled \u0026\u0026 (model.isLive || model.isRecording)\u0060 appears character-identically in 4 files \u2014 Moblin/View/Settings/Streams/Stream/MultiStreaming/StreamMultiStreamingSettingsView.swift, Moblin/View/Settings/Streams/Stream/Recording/StreamRecordingSettingsView.swift, Moblin/View/Settings/Streams/Stream/StreamSettingsView.swift, Moblin/View/Settings/Streams/Stream/Video/StreamVideoSettingsView.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Streams/Stream/MultiStreaming/StreamMultiStreamingSettingsView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dca7a94453c2c4a54f1cbfb87ddfaf5de2fb8201c52914a3f45520a981a2fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060streamOverlay.isFrontCameraSelected \u0026\u0026 !database.mirrorFrontCameraOnStream\u0060 appears character-identically in 2 files \u2014 Moblin/Various/Model/Model.swift, Moblin/Various/Model/ModelScene.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/Model.swift"},"region":{"startLine":3478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbbd143e9e002afffabe39237fcd7a1d9ff0282243fd8013613a597949eef86"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/components.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"be354e86e9f27a36ae9a57633d2c3f929d6694c82c7f45176f0869da39606451"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"WebRemoteControlFrontend/src/recordings.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb354f62e658179b79616d960a075b47606146914d21913c393eb2aee16a86a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Watch/Various/WatchModel.swift"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc7b96d67068954431b5c0e68c0b9bae7b160083b2148971dbacdffe7bafbf4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Screen Recording/Shared/SampleBufferReceiver.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a16e775a25652e36c089fc8c12abe53c695d18ebb3959a24650b85f0ef41b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Screen Recording/Shared/SampleBufferReceiver.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea856fc698d4391e739b24012e4ff06b8fbbd51de1d1677b919f52f392978175"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Screen Recording/Shared/SampleBufferSender.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5008d7d72fa39c0fb24d4f203ec72ddac3db4f6a804bc5d76816b13c503033c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin Screen Recording/Shared/SampleBufferSender.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca0df16b2f3257f9449a01a47801029c61216d9eeac32f51443b768f1fe550a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/WiFiAware/WiFiAwareSettingsView.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"db89d85ce102a522ceddada0718216e04d9ac9c26e7be0b045181e648d403917"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/View/Settings/Store/StoreSettingsView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a835b6165cdf547c07f4bbe463d3882479eb09a045cee75fd00323b8d085b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"522276d3fb6503699c5d3442ae9ec2c624230a1e890504db5c98f25f22425808"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"643e7b8f403e2a2e70f250895fafd78a8aa44886ba807267dd5b864ad356efcb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7db9636339fe808b0f32bcb1e96c39fd365c48349ed690bbfcf46c32dc6604"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4c46da13295a9503b3361b5b92a2a65f9bd6cbf688b24eeeef0291e9d42655"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"21029028d69153c5136c467878e6eb6af9d13fda27a0997c01fb28d88d61efdd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelAppleWatch.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb1f382cab975663b251943473ec70e38157ca56fbe13d32a6611605890f464"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelCamera.swift"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce71dd7dd5073b31fc1a3925d6b47cfea624385aef2e8ce5c06375e18c4beee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Managers/GeographyManager.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c86dfe41c320f982f2876ca39615459ba8df38eda62542fa73792c787c53d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Managers/WeatherManager.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a6416a3abf0889e59ade80f45787224b59e97721c9e8f07cd52f420771c10"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a345ee20013a9cf5af4f9388a5d98bbb7d80ba137fcfd23c5b67fb00d102951c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/Soop/SoopPlatformStatus.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4510275369587515590a99a35e4baa326ac42ce37120d82a74a6c32986edbcac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/OpenStreamingPlatform/OpenStreamingPlatformChat.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e6bfc14ce9d6f15b6476b6aba4201d5b3ab30c67a64c87d3bddc64e5352f1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/OpenStreamingPlatform/OpenStreamingPlatformChat.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"815c446013d3c6f9740d6376da48c6a478e45a0cf2ecefe95acf44d3fa422faa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/OpenStreamingPlatform/OpenStreamingPlatformChat.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ac0169770cc6b06f58fe8ef7b72c6c0acc2e2257bafcce9d05d0ab56f85681"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/OpenStreamingPlatform/OpenStreamingPlatformChat.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d83df67bb6b27833b0a9576ebf60ebba279d762917f29a8be00ee97353ddbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/OpenStreamingPlatform/OpenStreamingPlatformChat.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb0c7ad1ed369c476f64acab81a51d715af4cacbdc39c7b699f5116e0882530"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/RemoteControl/RemoteControl.swift"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d288fa08d84990afe7a4a720f903f2e2b8894c7f2b7f175e3ce8adde060a4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d993b105c139c78042445c77429e9cba33ec75052b2452ce5f30e6a0f4f4a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac5bae2f3fa9cd0289ba7875120bc22c64378bbd19241bbf67dce15ced6e4aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fa893634febf9ec5d431f546049fc9c07fe8c064a7b3c6f09796d6e8bbe404"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"f487bc9f7cc7e8fb8c60a427834b24c971a6d1440db85141579591ca12fee244"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef22c5ec167eeabcfc7122ea2c10562ac638886a081d86d1aaecf9b551ec3675"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"4866bfbe0709102d027ddabcc4286ecf21f723dd79da541853cd3f95557debe0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Obs/ObsWebSocket.swift"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6971fad85c0a3859ee3c083eab269f38e1f1e1dade8d7bf32e3bffa2ee76c8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Moblink/MoblinkProtocol.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8645ac07037289151ba934d6d679e827b9d6bbaac49ca44cd519c1ecc0f06284"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/ElementaryStreamSpecificData.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"af989ee146147b713272566805efd3e9d1d5c4acdf28f8a56f8166d6ce0e4001"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Opus.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f28fe68987f9a6cade4b013a2502ab6de43c04f00397be2dc976cecb55636d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnit.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fa40c6aac32cc4960ad22ccced38ec5680df61416b140a4cccceb436658d04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Hevc/HevcNalUnitSei.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd17dc2dba82e0d32f39dc1a5e098eea397722f8a3d142bfd462b05b5e9a3e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnit.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a62b027134ce8fe23b27c50b6401a28f4386fcea9b52c3500237afb99f78bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Mpeg/Avc/AvcNalUnitSei.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f924062b3e0954c698031e8c89cc86f2e80514b2cc3698bf39a010cb20197e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Video/VideoEffectsProcessor.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc51289a453ece5675792afa8d613b9631872619f887a53ee989350a9eb2b87c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Media/HaishinKit/Media/Audio/AudioUnit.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ee2a971ac743cc33a8c3a0194af04484431cb44f9e0d9d3a95241453fccb0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/Emotes/Emotes.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e20aa090b07fe5ded058f1e3435c775c090da776a6cbcb003920c7300d03e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/CatPrinterCommands.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b379bb26fa531606a61d13afe4fdacf86a26fdc3f057dcc3aa7165185c328b70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Integrations/CatPrinter/CatPrinterCommandsMxw01.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b249a42fc3efa39e9833939100b8addf58e0cb26d8dbcaa878fb52177b161e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Common/Various/CMSampleBuffer\u002BExtension.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3398fcff895502baa88682725d1da0f5429ed3be41e91b824f6b810a54df4af3"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~3.3 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 12 assertion(s) across the 3602 source line(s) of the 7 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: WebRemoteControlFrontend/src/index.tsx (5), WebRemoteControlFrontend/src/recordings.tsx (3), WebRemoteControlFrontend/src/golf.tsx (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Swift code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/StreamingPlatforms/YouTube/YouTubeLiveChat.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f213bd663b0d55e585c4bb82c4bd23b3959a443002c7926691473d6b4444bf9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060remoteControlWebGetRecordings\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Moblin/Various/Model/ModelRemoteControl.swift"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b35d114bfcc9f377cb9abf4ddea59a0815348771b9e6bc13de8830c22f55c91"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":13,"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."]}]}