{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"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":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Room._setUpEngineListeners (cyclomatic 44): Room._setUpEngineListeners has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/room.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d701f9a35324ee607d7c2d1c3e7c9d82698e014445a03ed7aca9bb82607747"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalParticipant._publishVideoTrack (cyclomatic 41): LocalParticipant._publishVideoTrack has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb5804025c56a06c7dc40895f111c12068a653c320d4ab13a5a1a6583d4db05"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine._setUpSignalListeners (cyclomatic 24): Engine._setUpSignalListeners 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":"lib/src/core/engine.dart"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40d21b3bff123602fc4105ec94f6bc3d2b3e2f1878d5bbc210bffc30c94e3b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine.sendDataPacket (cyclomatic 23): Engine.sendDataPacket has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/engine.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b829a22db427b17a148ee641b1619cd86f1e6e25ec8300c1fd84d2b619922cc"}},{"ruleId":"D1","level":"warning","message":{"text":"Room.connect (cyclomatic 23): Room.connect has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/room.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2464e49590e1193d9015e141333d3700faeb06c0bee11a64533dd05af5f9ee0"}},{"ruleId":"D1","level":"warning","message":{"text":"Transport.createAndSendOffer (cyclomatic 22): Transport.createAndSendOffer has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/transport.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7babe64b0ff45ac6194e5affd0066ecce215813cf9dfaf14bc47731bea5749"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.buildUri (cyclomatic 21): Utils.buildUri has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef16916cca5d7fbd04cc2449c3de11789b04f9295033475e8e13f6aef384cae"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalParticipant.setSourceEnabled (cyclomatic 20): LocalParticipant.setSourceEnabled has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ed71bf201e2c0556fea5a2202f6f6f6965fa9c4a2eab7163c4f4e69a53ad71"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine._createPeerConnections (cyclomatic 19): Engine._createPeerConnections has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/engine.dart"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"597edc2e70972a99ab385e86ec8b14674f68ccd1ccd2ea63a2d464bf5bc5b302"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine.attemptReconnect (cyclomatic 18): Engine.attemptReconnect 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":"lib/src/core/engine.dart"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2b61166abe1b8e8966f6b5a0a07059a3c22617ad288f79b03563aa2b5052b4"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeDataStreams._controllerFor (cyclomatic 17): NativeDataStreams._controllerFor has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/data_stream/data_streams_native.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6975148a12ec56b23b5693af0478eefbdd153180e96973214216342d3ff46f"}},{"ruleId":"D1","level":"warning","message":{"text":"E2EEManager.setup (cyclomatic 17): E2EEManager.setup has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/e2ee/e2ee_manager.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc5e12575de3d5c5e95aa432a254bca1930df7a1e29e977ef7208b1ea1270cd"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalTrack.createStream (cyclomatic 17): LocalTrack.createStream has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/track/local/local.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa9e51b469ccbcbd4411b5c401e5558d5a10ce5c047f5482a6d76a2fb0a9270"}},{"ruleId":"D1","level":"warning","message":{"text":"SignalClient.connect (cyclomatic 16): SignalClient.connect has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: SignalClient._onSocketData (cyclomatic 27) 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":"lib/src/core/signal_client.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e427d200bc052b93d54cc05e9d4caaa923ee686cc41d02fb477eb24a047b75"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.computeVideoEncodings (cyclomatic 16): Utils.computeVideoEncodings 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":"lib/src/utils.dart"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"105e2d8e28f003945ff177234afe644646459e0563a7e6711ce075f0a1a69b0c"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioRenderer.convertAudioData (cyclomatic 16): AudioRenderer.convertAudioData has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/livekit/plugin/AudioRenderer.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d21465509ab4a60e59a19522d2232f47dbb7aa70f68369795150fb540b4b50"}},{"ruleId":"D2","level":"warning","message":{"text":"Room._setUpEngineListeners (cognitive 60): Room._setUpEngineListeners has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 15, loops 7 (8 pts), error handling 2 (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":"lib/src/core/room.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6ab416ff28e3de643b2567ba996d4ab3d8e264ed77dd264f5c6944c988eab3"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalParticipant._publishVideoTrack (cognitive 57): LocalParticipant._publishVideoTrack has cognitive complexity 57 (threshold 15). Drivers by points: if/else 26 (40 pts), boolean chains 12, error handling 1 (2 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f1020975e152708badb89b6c99a792707fb4cd671b366f447be2295aaaebcd"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.sendDataPacket (cognitive 44): Engine.sendDataPacket has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (35 pts), error handling 2 (3 pts), ternaries 3, boolean chains 2, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent 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":"lib/src/core/engine.dart"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3abdad89458fe95f886a2aa0acc229e7536d22e522293cee4f16b194e61f2e"}},{"ruleId":"D2","level":"warning","message":{"text":"Room.connect (cognitive 42): Room.connect has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (27 pts), error handling 3 (8 pts), boolean chains 7 (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":"lib/src/core/room.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2826f010d46ecdf4bd72a980b193f525da5d2dcf72dbd3027fa32dcb3fbbc8"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalParticipant.setSourceEnabled (cognitive 38): LocalParticipant.setSourceEnabled has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 1 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent 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":"lib/src/participant/local.dart"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f20c988725ebd50ff3144eaa1be9c54a5cd96217e01bdc1c3ac8ccf0e41d3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"SignalClient.connect (cognitive 34): SignalClient.connect has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 2 (5 pts), error handling 2 (3 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":"lib/src/core/signal_client.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"35425dadebd0f0b5a0a049ad99924bbfb7bcdb74d404d6a62a60d9c173387b24"}},{"ruleId":"D2","level":"warning","message":{"text":"Transport.createAndSendOffer (cognitive 31): Transport.createAndSendOffer has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (2 pts), error handling 1 (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":"lib/src/core/transport.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"76303a11074eab4d11f4563fd4619172d23ed3fde38673c49220a3506d476c45"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRenderer.convertAudioData (cognitive 30): AudioRenderer.convertAudioData has cognitive complexity 30 (threshold 15). Drivers by points: loops 6 (16 pts), if/else 11 (13 pts), match/switch 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/src/main/kotlin/io/livekit/plugin/AudioRenderer.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"64821afbe529a2b7c4627b810e4ebd0e1343788d25948d648d42adb327bb4e9d"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine._onDCMessage (cognitive 28): Engine._onDCMessage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 2 (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":"lib/src/core/engine.dart"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f9950f48da751beaf1ede2b0af8f4c24c64406af68a4792e2d53e98db09387"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.attemptReconnect (cognitive 28): Engine.attemptReconnect has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, ternaries 2 (5 pts), error handling 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":"lib/src/core/engine.dart"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1888b6373403882694f41152166322388b57536b5c00cd8e77c1fce330babf67"}},{"ruleId":"D2","level":"warning","message":{"text":"E2EEManager.setup (cognitive 28): E2EEManager.setup has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 5, loops 2 (4 pts) (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":"lib/src/e2ee/e2ee_manager.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8eb3b00220610fb5bfc9050b65bc1775aa4cbd28ba888ea03caec981dbdabd"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalParticipant.removePublishedTrack (cognitive 28): LocalParticipant.removePublishedTrack has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 2 (7 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"8634612d0bfeee4fa4589a7821d489d23c421a88ce4d7973d93bff175ee2db6f"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalTrack.createStream (cognitive 25): LocalTrack.createStream has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, ternaries 3, error handling 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":"lib/src/track/local/local.dart"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a7e5bafcd0322a5fbd2a8de36738c29305bd9a379ec61e1d8b3f751b219a1b"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.buildUri (cognitive 25): Utils.buildUri has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 6, boolean chains 3 (nesting depth added 5). 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":"lib/src/utils.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5958033bbe21adc7241a43b34c42d6805d567f433b404664fab4fd6a50f93300"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine._setUpSignalListeners (cognitive 24): Engine._setUpSignalListeners has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17, boolean chains 6, error handling 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":"lib/src/core/engine.dart"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f950dcd682b00470751a101f53b836e603b7f11c05b6abfa8def695abd41c5"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeDataStreams._controllerFor (cognitive 23): NativeDataStreams._controllerFor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, error handling 2, loops 1 (2 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":"lib/src/data_stream/data_streams_native.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bb81e14679407d682b9eb17f6a197b03865ab6b6877ef72ba5b4529d89fec6"}},{"ruleId":"D2","level":"warning","message":{"text":"AVAudioPCMBuffer.serializeAsBytes (cognitive 23): AVAudioPCMBuffer.serializeAsBytes has cognitive complexity 23 (threshold 15). Drivers by points: loops 4 (14 pts), if/else 7 (9 pts) (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared_swift/AudioRenderer.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a599a57a94f0df1d433048cb5d64a7848c3e3e0b01d7020f427e19e141c6fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine._createPeerConnections (cognitive 22): Engine._createPeerConnections has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2 (4 pts), boolean chains 3, error handling 2 (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":"lib/src/core/engine.dart"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d944155f68502fcbb672837ea345ee043eba9a24dfd4253f6b30a32aeb583ad"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDataStreams._handleStreamHeader (cognitive 22): WebDataStreams._handleStreamHeader has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 4 (8 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":"lib/src/data_stream/data_streams_web.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16e3d2daa7892a31c7bd119c914b0aa330635ba2ce880eb587addeef5557c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Room._applyParticipantUpdates (cognitive 19): Room._applyParticipantUpdates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (5 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":"lib/src/core/room.dart"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2f4e69987ead78097be08b2245d9221680fa903562407235f100732c001fe7"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.computeVideoEncodings (cognitive 19): Utils.computeVideoEncodings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, loops 1 (3 pts), ternaries 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":"lib/src/utils.dart"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8a8a9b6201aefa5ff316e4ccac06caec0e7ca9ff3a1f36c793a80a28d64c59"}},{"ruleId":"D2","level":"warning","message":{"text":"TURNCheck.perform (cognitive 17): TURNCheck.perform has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (3 pts), boolean chains 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":"lib/src/connection_check/checks/turn.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea049d1e8e078fc823eda7d09a0ee6e3318c5fdd3cde86ae884aacfbd6488550"}},{"ruleId":"D2","level":"warning","message":{"text":"Room._setUpSignalListeners (cognitive 17): Room._setUpSignalListeners has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 1 (2 pts), boolean chains 1, match/switch 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":"lib/src/core/room.dart"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"492b5bc1eab104b247cc1b3a0814ea8cef8cbadf01ac7a689d34500d1372b30a"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveKitPlugin.applyAudioSessionConfiguration (cognitive 17): LiveKitPlugin.applyAudioSessionConfiguration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (4 pts), ternaries 1 (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":"shared_swift/LiveKitPlugin.swift"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a43a21ddbe6e3ff5d9ca3074a90582d535a2091439d3f1113b4caa8e74b215"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSocketCheck.perform (cognitive 16): WebSocketCheck.perform has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, ternaries 1 (2 pts), error handling 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":"lib/src/connection_check/checks/websocket.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7c0971a8d55ca21d19eb5cb556b2975d3b4de3b6388a8a5d866bb7c6ff5056"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Engine: ClassTooLong \u2014 1037 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 637 over it, 2.59\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":"lib/src/core/engine.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"965c9455e8d5018895a7006cfa262b31d4ced9e2b01a9479ab434802b0ad45dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/engine.dart: FileTooLong \u2014 1211 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: Engine (92-1786). The bar is 500 significant lines; this is 711 over it, 2.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":"lib/src/core/engine.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"871215136d88278449908b1af36489033228cf74d445a332499d83bf2c328cfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/room.dart: FileTooLong \u2014 937 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: Room (70-1165). The bar is 500 significant lines; this is 437 over it, 1.87\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":"lib/src/core/room.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4350fd92b53151677bc90fd9639f40d9913a2ceaba058e0c3cd5855c8e3c44cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Engine: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"lib/src/core/engine.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5900c6b20f1428e7e96508c7c8e535b7aa8cd57fb8ceed101489ed0b9a4ccd60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalParticipant._publishVideoTrack: MethodTooLong \u2014 _publishVideoTrack runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"lib/src/participant/local.dart"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a35efb7a83bc47000173f13e9d547950bf909c6f2c7b7e6ed3df424332adab9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Classes/LiveKitPlugin.swift: FileTooLong \u2014 833 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: LiveKitPlugin (50-979). The bar is 500 significant lines; this is 333 over it, 1.67\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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a486fee2f1b03992d50946a228a7c557cc4693528dffe367cf356c5b21c1ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: livekit_client/LiveKitPlugin.swift: FileTooLong \u2014 833 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: LiveKitPlugin (50-979). The bar is 500 significant lines; this is 333 over it, 1.67\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":"ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"865a436ff605846af1a8ea322753e5103df918d0886b10dbdc78c12982b4942b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Classes/LiveKitPlugin.swift: FileTooLong \u2014 833 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: LiveKitPlugin (50-979). The bar is 500 significant lines; this is 333 over it, 1.67\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":"macos/Classes/LiveKitPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d21c4b4a428060dd355d97af77b300eec38301564f978ad4239076fe447a18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: livekit_client/LiveKitPlugin.swift: FileTooLong \u2014 833 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: LiveKitPlugin (50-979). The bar is 500 significant lines; this is 333 over it, 1.67\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":"macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b3484a8f559473772ace5e373415c5ab155822ca626ae5e0fd4c7a8546fa4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shared_swift/LiveKitPlugin.swift: FileTooLong \u2014 833 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: LiveKitPlugin (50-979). The bar is 500 significant lines; this is 333 over it, 1.67\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":"shared_swift/LiveKitPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"accd8c65350d7eb11aed60a747df939ea6e2fa604314481ba7ecf1bbb08c5ea3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Room: ClassTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 264 over it, 1.66\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":"lib/src/core/room.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b600ebfbbcab02758d7fce99ce52b29ad07df7bd4da5ba8889487ca0348f19"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalParticipant: ClassTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 194 over it, 1.49\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":"lib/src/participant/local.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"880e29e907f471b0921a698752b9ea08456ee39d73a532eb227e3391807f1012"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveKitPlugin: ClassTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 154 over it, 1.39\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":"shared_swift/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a761508a48ff782b380fdca6ace0079425088d2fda9ec2b0c50377fe51b101"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveKitPlugin: ClassTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 154 over it, 1.39\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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1296b6bca72e6579b95cd0f45e7641c10b0b6651faaba33b19219600d6eea27"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveKitPlugin: ClassTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 154 over it, 1.39\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":"ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85dac4483526b1c48580e27acb33daca4a740050f28ef39cba1057abe93274a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveKitPlugin: ClassTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 154 over it, 1.39\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":"macos/Classes/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1bd99272dad549a9b746137af09d5415084b908f6a179c36ebb1c49096d7f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveKitPlugin: ClassTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 154 over it, 1.39\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":"macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16b7279f7806c335223b20933d9fcfeab8a862ae9ad5f97e6ad6ad6ade4697c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveKitPlugin: 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":"shared_swift/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"491288022ad72fdeeae3767039625842e719653ad939fa375eb594922f6554a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Participant: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/participant.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c528ee9e056fef471ad0943d2d230d9c1a1fa6b9c24bfe282e62da4e245202"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Engine._createPeerConnections: MethodTooLong \u2014 _createPeerConnections 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":"lib/src/core/engine.dart"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc42806ff59070be2a193d7c52ea3bdb26d42445fbf70cb48f9a6719a3c588fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: participant/local.dart: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: LocalParticipant (58-1035). The bar is 500 significant lines; this is 136 over it, 1.27\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":"lib/src/participant/local.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94096bccbb3e2c7f338ecebd2e18096cb8ffbeec04c261277b83978c846e22d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveKitPlugin: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"953369ea4585d3e0c9544290ddb6b138845fa4e63bb60a71f1efe5166cac700c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveKitPlugin: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c3a221f54115f4a9adef47dec5bcd62fdd07810d9d9d56dde1550761c76791"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveKitPlugin: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Classes/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2384e930427e826173e2da356f78cca70129b2936c3bd00d72ed4462759692f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveKitPlugin: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d555f927896d17ac2dc86c72f3afbf8ba4af7674acf59a0b73e9603837927554"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Room: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/room.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"370b077c89452f619de234e6a501b7af4bb6d60492a59f33f3c40e78715921e8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SignalClient._onSocketData: MethodTooLong \u2014 _onSocketData 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":"lib/src/core/signal_client.dart"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8b222bea654e0515877fe5dee4e9fb92673a510fde9de0425091d3927d4f62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/utils.dart: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: Utils (79-661). The bar is 500 significant lines; this is 47 over it, 1.09\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":"lib/src/utils.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e0818d828bcb728ab9f5e4050533b221baf1e2d716a44c21776d54f53bd5ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AudioManager: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/audio/audio_manager.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb182ae21a08b61eff8892e9d3438aa4a4b650af2720159c242ef58e2b837173"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalParticipant: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"72825338b06d5fb65f0e61401e34321872ed44f719f09094d722699d01b6caaf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScreenSelectDialog._buildContent: MethodTooLong \u2014 _buildContent runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"lib/src/widgets/screen_select_dialog.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdd0c3d544ba5538193a02cc554e802c9d636715c012f6c94f88b067da839ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/events.dart: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9 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":"lib/src/internal/events.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a22ae9f6eddd7275967fddcabc44aec6a50bbf12a26499d9f76acd45f503333"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/AudioConverter.swift:34-45 | ios/livekit_client/Sources/livekit_client/AudioConverter.swift:34-45 | macos/Classes/AudioConverter.swift:34-45 | macos/livekit_client/Sources/livekit_client/AudioConverter.swift:34-45 | shared_swift/AudioConverter.swift:34-45 \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":"ios/Classes/AudioConverter.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"710f5a497f209f41e06d6610235e9e1254648f73588403d4c7fba49089cee646"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/AudioConverter.swift:47-67 | ios/livekit_client/Sources/livekit_client/AudioConverter.swift:47-67 | macos/Classes/AudioConverter.swift:47-67 | macos/livekit_client/Sources/livekit_client/AudioConverter.swift:47-67 | shared_swift/AudioConverter.swift:47-67 \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":"ios/Classes/AudioConverter.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2977aa2d77a9b503ecc41f24a1e067f8b7c3c11bbc481b1c9a0651bc3d26b62f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/AudioProcessing.swift:119-133 | ios/livekit_client/Sources/livekit_client/AudioProcessing.swift:119-133 | macos/Classes/AudioProcessing.swift:119-133 | macos/livekit_client/Sources/livekit_client/AudioProcessing.swift:119-133 | shared_swift/AudioProcessing.swift:119-133 \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":"ios/Classes/AudioProcessing.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b1195bd00f9ce01e9287b2bf3954e0de2e293cf37f78feb75b58e8abd1d45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/AudioProcessing.swift:135-162 | ios/livekit_client/Sources/livekit_client/AudioProcessing.swift:135-162 | macos/Classes/AudioProcessing.swift:135-162 | macos/livekit_client/Sources/livekit_client/AudioProcessing.swift:135-162 | shared_swift/AudioProcessing.swift:135-162 \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":"ios/Classes/AudioProcessing.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e641f700237c45adb3d8727f54dbb3c0df662cec182781cb165f4ce107e212b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/AudioRenderer.swift:40-55 | ios/livekit_client/Sources/livekit_client/AudioRenderer.swift:40-55 | macos/Classes/AudioRenderer.swift:40-55 | macos/livekit_client/Sources/livekit_client/AudioRenderer.swift:40-55 | shared_swift/AudioRenderer.swift:40-55 \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":"ios/Classes/AudioRenderer.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a246d931f42c3cbad9f9261683270b8a2cf51f9a5e0acb7fa9ff4689538202"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/FFTProcessor.swift:37-67 | ios/livekit_client/Sources/livekit_client/FFTProcessor.swift:37-67 | macos/Classes/FFTProcessor.swift:37-67 | macos/livekit_client/Sources/livekit_client/FFTProcessor.swift:37-67 | shared_swift/FFTProcessor.swift:37-67 \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":"ios/Classes/FFTProcessor.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f0aa3dc78689c6c2a8d03cd2594bd4c63b19d4f377bc5257fff11e2cf39c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/FFTProcessor.swift:92-113 | ios/livekit_client/Sources/livekit_client/FFTProcessor.swift:92-113 | macos/Classes/FFTProcessor.swift:92-113 | macos/livekit_client/Sources/livekit_client/FFTProcessor.swift:92-113 | shared_swift/FFTProcessor.swift:92-113 \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":"ios/Classes/FFTProcessor.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"341f02adb2860eb8ece4d5e03bcd9ad22c7869cf3eb8c9ad4da7dab62fd29314"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/FFTProcessor.swift:119-146 | ios/livekit_client/Sources/livekit_client/FFTProcessor.swift:119-146 | macos/Classes/FFTProcessor.swift:119-146 | macos/livekit_client/Sources/livekit_client/FFTProcessor.swift:119-146 | shared_swift/FFTProcessor.swift:119-146 \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":"ios/Classes/FFTProcessor.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8ce15e9e6f345994b1b9753cd8e4ff5be251df8c2249f1e6a75457346a7b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:82-129 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:82-129 | macos/Classes/LiveKitPlugin.swift:82-129 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:82-129 | shared_swift/LiveKitPlugin.swift:82-129 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"825e72165f0b274062d264faf1a332aad02e53239e14dce39850f0ff7baaae2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:179-200 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:179-200 | macos/Classes/LiveKitPlugin.swift:179-200 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:179-200 | shared_swift/LiveKitPlugin.swift:179-200 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbadd3aa935edd51b35144ce1f7b3515b5f781b42428e9ce6d1d66d1e97dc5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:202-243 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:202-243 | macos/Classes/LiveKitPlugin.swift:202-243 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:202-243 | shared_swift/LiveKitPlugin.swift:202-243 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0f8ed640060cca18b8c53b7c085d33f18311b736c30b99c737948282fe02c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:245-260 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:245-260 | macos/Classes/LiveKitPlugin.swift:245-260 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:245-260 | shared_swift/LiveKitPlugin.swift:245-260 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f3173e5344cf441470acb74de12a66f43ba57990ca84d52f978999c9725a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:262-284 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:262-284 | macos/Classes/LiveKitPlugin.swift:262-284 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:262-284 | shared_swift/LiveKitPlugin.swift:262-284 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96a9567e158e543eb5703b51e6e591cd06e041a4d8d0c81fa3c0233a52e42a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:286-332 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:286-332 | macos/Classes/LiveKitPlugin.swift:286-332 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:286-332 | shared_swift/LiveKitPlugin.swift:286-332 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9b7c804b4877a8e0f54a27112e549888dac77843656e33eb5c5f8aeeaea956"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:334-350 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:334-350 | macos/Classes/LiveKitPlugin.swift:334-350 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:334-350 | shared_swift/LiveKitPlugin.swift:334-350 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f013544fd3dc0cc3cf6897b86e08ecbe8c13472a419032c6fad679d8faf11d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:352-407 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:352-407 | macos/Classes/LiveKitPlugin.swift:352-407 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:352-407 | shared_swift/LiveKitPlugin.swift:352-407 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f9e90c1848ee2b849c6d65131c2a2f3cf8cb923f3024cc89692d19bab74bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:409-418 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:409-418 | macos/Classes/LiveKitPlugin.swift:409-418 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:409-418 | shared_swift/LiveKitPlugin.swift:409-418 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be711387c2767493b0fe46683be5af604bfeb090b0a62138c76143902441210"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:420-431 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:420-431 | macos/Classes/LiveKitPlugin.swift:420-431 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:420-431 | shared_swift/LiveKitPlugin.swift:420-431 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1726edeb3916a7cf5e2767aeaadeb88ebf7fbb6c18ac01160df13859d3b8a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:437-447 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:437-447 | macos/Classes/LiveKitPlugin.swift:437-447 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:437-447 | shared_swift/LiveKitPlugin.swift:437-447 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"627538ababae19294f4f12aa8cffe10766ab3f5fafca68cb75cf59c083a45e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:449-484 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:449-484 | macos/Classes/LiveKitPlugin.swift:449-484 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:449-484 | shared_swift/LiveKitPlugin.swift:449-484 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31530a66785f8346654b3eb1c5274a047455518febff04bf6d3da1ec4d4d187"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:502-514 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:502-514 | macos/Classes/LiveKitPlugin.swift:502-514 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:502-514 | shared_swift/LiveKitPlugin.swift:502-514 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a838aa514f4ecdf07ace428773b3e2ff292003719d932089961ce76a1649142"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:516-531 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:516-531 | macos/Classes/LiveKitPlugin.swift:516-531 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:516-531 | shared_swift/LiveKitPlugin.swift:516-531 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"5608803b049bb9b0ac4ea73ab912063e432f38e09b5c55ab43233f0707e86204"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:533-567 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:533-567 | macos/Classes/LiveKitPlugin.swift:533-567 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:533-567 | shared_swift/LiveKitPlugin.swift:533-567 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"a162a8b4365b66010a7f31661c65eae07b2fb16a31ffb46a54f4bb00aa0c1382"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:582-624 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:582-624 | macos/Classes/LiveKitPlugin.swift:582-624 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:582-624 | shared_swift/LiveKitPlugin.swift:582-624 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"a031c89714949468a02fd689947cab5d22382468a944ced4996de01395e6385d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:646-674 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:646-674 | macos/Classes/LiveKitPlugin.swift:646-674 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:646-674 | shared_swift/LiveKitPlugin.swift:646-674 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"87effc4db9049a771ee24522bb5da0ee6e89bff8b994a7828e73b516e7ded078"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:684-710 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:684-710 | macos/Classes/LiveKitPlugin.swift:684-710 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:684-710 | shared_swift/LiveKitPlugin.swift:684-710 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc456a29719860c576b08cd21357f209227d231bf5fcc7e62fe52fa48f2864a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:712-729 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:712-729 | macos/Classes/LiveKitPlugin.swift:712-729 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:712-729 | shared_swift/LiveKitPlugin.swift:712-729 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c85b14d4736cfd854f5f73fdb5d265315c971e28c0d77ed7aba67939e32994"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:731-750 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:731-750 | macos/Classes/LiveKitPlugin.swift:731-750 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:731-750 | shared_swift/LiveKitPlugin.swift:731-750 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"011c7a322ab83f35c89e76847ca777d078ae0d4954c8c927ba7740df20a92973"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:764-771 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:764-771 | macos/Classes/LiveKitPlugin.swift:764-771 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:764-771 | shared_swift/LiveKitPlugin.swift:764-771 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5288a7b74f33633194cd21924f4fec19450a8752b3fc4cabb37598378b1ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:779-793 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:779-793 | macos/Classes/LiveKitPlugin.swift:779-793 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:779-793 | shared_swift/LiveKitPlugin.swift:779-793 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0afcd967fbf859e018c9bd5821f3abbce46cad715e44fb8eebdc7466e99b8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:807-817 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:807-817 | macos/Classes/LiveKitPlugin.swift:807-817 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:807-817 | shared_swift/LiveKitPlugin.swift:807-817 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4887424acc3cceca7251ad7024de7e1a112caadd7f67eb90646b5c2bed0a494"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:829-866 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:829-866 | macos/Classes/LiveKitPlugin.swift:829-866 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:829-866 | shared_swift/LiveKitPlugin.swift:829-866 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f939ac633bcd8edd5b9a21b5090ee770f22d23abd29897d566ab8f6faa959d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:894-910 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:894-910 | macos/Classes/LiveKitPlugin.swift:894-910 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:894-910 | shared_swift/LiveKitPlugin.swift:894-910 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d44a63cb8f0b66787e5fe0e05eb0b188e09825b0339fc9722f33eb0a3ec2fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:912-920 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:912-920 | macos/Classes/LiveKitPlugin.swift:912-920 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:912-920 | shared_swift/LiveKitPlugin.swift:912-920 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66d9e3b5871e2b2e1a6904e0bdd67ef205a722eb39430934ed8784dd6cb607b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:922-978 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:922-978 | macos/Classes/LiveKitPlugin.swift:922-978 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:922-978 | shared_swift/LiveKitPlugin.swift:922-978 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b979f051af0ea2d89f9f9149745bf63cea344a0d6f7af03d37b5c3a21f16081"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:1191-1201 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1191-1201 | macos/Classes/LiveKitPlugin.swift:1191-1201 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1191-1201 | shared_swift/LiveKitPlugin.swift:1191-1201 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aabe3cffed66ed14a7a04a17c4130efe35579685d96550e3a979ee212c97f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:1203-1232 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1203-1232 | macos/Classes/LiveKitPlugin.swift:1203-1232 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1203-1232 | shared_swift/LiveKitPlugin.swift:1203-1232 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87c8a2c57a1addda3633d73fbd364ab81c865d371bf6497bb34528c0883c53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:1255-1272 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1255-1272 | macos/Classes/LiveKitPlugin.swift:1255-1272 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1255-1272 | shared_swift/LiveKitPlugin.swift:1255-1272 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcada704590409cf5733fdb2ad90fe05a8cd49e60ceb95225d9cc1ce4091da0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:1306-1342 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1306-1342 | macos/Classes/LiveKitPlugin.swift:1306-1342 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1306-1342 | shared_swift/LiveKitPlugin.swift:1306-1342 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a91df6188f8f269f772c5a5a3670ddf5fe6153a90684d544ab2dfa3c560148"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:1351-1367 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1351-1367 | macos/Classes/LiveKitPlugin.swift:1351-1367 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1351-1367 | shared_swift/LiveKitPlugin.swift:1351-1367 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f446d3663758ee32bea39f10a0f243caec64ca542a3d53d3e830fb52e0f686"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:1369-1379 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1369-1379 | macos/Classes/LiveKitPlugin.swift:1369-1379 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1369-1379 | shared_swift/LiveKitPlugin.swift:1369-1379 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5395792d673425b0f4d198de3235e7fe81c92f839f0a77c5fefa4c9a1e487476"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:1384-1404 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1384-1404 | macos/Classes/LiveKitPlugin.swift:1384-1404 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1384-1404 | shared_swift/LiveKitPlugin.swift:1384-1404 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f27a6ecfc97e8709effee4dc9bf67347949fc12608756d4c080513cac2eb52"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:1406-1442 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1406-1442 | macos/Classes/LiveKitPlugin.swift:1406-1442 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1406-1442 | shared_swift/LiveKitPlugin.swift:1406-1442 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"81462d974fdf432b4bb3ee6434132b11a96b70a3e6b0a9308567f759580a0a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/LiveKitPlugin.swift:1456-1467 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1456-1467 | macos/Classes/LiveKitPlugin.swift:1456-1467 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1456-1467 | shared_swift/LiveKitPlugin.swift:1456-1467 \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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9733700b79be4cde113e3f5ef3bc8c02d7903092b4817f4ae3250fd9869d0c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/Visualizer.swift:51-70 | ios/livekit_client/Sources/livekit_client/Visualizer.swift:51-70 | macos/Classes/Visualizer.swift:51-70 | macos/livekit_client/Sources/livekit_client/Visualizer.swift:51-70 | shared_swift/Visualizer.swift:51-70 \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":"ios/Classes/Visualizer.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f151d9d7ac471491c1a9a46f19f76ae29b9035079a449e3000e24fcb5dff958"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/Visualizer.swift:81-102 | ios/livekit_client/Sources/livekit_client/Visualizer.swift:81-102 | macos/Classes/Visualizer.swift:81-102 | macos/livekit_client/Sources/livekit_client/Visualizer.swift:81-102 | shared_swift/Visualizer.swift:81-102 \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":"ios/Classes/Visualizer.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f75122aa246332e219143d6ca6be2230ef99ce005f0216f11bbe609e3c2e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ios/Classes/Visualizer.swift:107-125 | ios/livekit_client/Sources/livekit_client/Visualizer.swift:107-125 | macos/Classes/Visualizer.swift:107-125 | macos/livekit_client/Sources/livekit_client/Visualizer.swift:107-125 | shared_swift/Visualizer.swift:107-125 \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":"ios/Classes/Visualizer.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e73c57284ca1c43c10d6b03285662177dad0ab48a26456803d2529a1f2ac88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/src/track/local/audio.dart:149-184 | lib/src/track/local/video.dart:125-181 | lib/src/track/remote/audio.dart:106-148 | lib/src/track/remote/video.dart:73-120 \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":"lib/src/track/local/audio.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc092305d6a109f87ca6b7844f827e6fe0b90c073aea1ac5698cecc22a4da1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): lib/src/data_stream/data_streams_web.dart:396-451 | lib/src/data_stream/data_streams_web.dart:453-499 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/data_stream/data_streams_web.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"6570fa1ec069eda2bb854c299dee1d629437a903f649d8b60f00368b72c4f476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): lib/src/connection_check/checks/publish_audio.dart:26-70 | lib/src/connection_check/checks/publish_video.dart:26-74 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/connection_check/checks/publish_audio.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d40fdd34569df865c7c531c3d7d7bf28bca1b2f08040c07d61440423e9df6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/src/data_stream/data_streams_native.dart:196-223 | lib/src/data_stream/data_streams_native.dart:225-249 \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":"lib/src/data_stream/data_streams_native.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0a8c1a4559918e813adf857cf3fabe84e6bfb4f535da095ccce6bab7d3e6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): lib/src/track/local/audio.dart:126-147 | lib/src/track/remote/audio.dart:83-104 | lib/src/track/remote/video.dart:49-71 \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":"lib/src/track/local/audio.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c5159c2f5b24cc1f8284364d81f4e5e6e351eb9f8b73cb3fd19cc843e07e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/src/e2ee/e2ee_manager.dart:154-170 | lib/src/e2ee/e2ee_manager.dart:172-188 \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":"lib/src/e2ee/e2ee_manager.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8b542c40d8110386d6b0d13bda3c9a100e9ad13d910976b3c0d54df11b4c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): android/src/main/kotlin/io/livekit/plugin/LiveKitPlugin.kt:260-298 | android/src/main/kotlin/io/livekit/plugin/LiveKitPlugin.kt:300-324 \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":"android/src/main/kotlin/io/livekit/plugin/LiveKitPlugin.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ae380f512d6303f5cb8edd0ff0847c5cfd3845bd80782794f8224f45881c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/src/audio/audio_session.dart:181-189 | lib/src/support/native_audio.dart:75-83 \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":"lib/src/audio/audio_session.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf07620b0543e2b7a8d55d613b73ddae6e1991527e344719035936c152dd5d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/src/support/native.dart:338-362 | lib/src/support/native.dart:379-399 \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":"lib/src/support/native.dart"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"3791209b6cf78868b9f73f4c2710fac9391a57b5381a652af540cb0b01b7c4b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/src/rpc/rpc_server_manager.dart:219-230 | lib/src/rpc/rpc_server_manager.dart:232-249 \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":"lib/src/rpc/rpc_server_manager.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"420dd2d23b6acf2b6ea8fd0ab6403bc4ca819187621228363b5dc0c113c55bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/src/utils.dart:241-255 | lib/src/utils.dart:282-295 \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":"lib/src/utils.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ee2f5713e61b1270c410bb642deda91730aff1208ae72e701fdcfa2ba28b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/src/hardware/hardware.dart:53-62 | lib/src/hardware/hardware.dart:192-198 \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":"lib/src/hardware/hardware.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"16889ea379e5afd0857e1a54fa104fd0b1957c58240fcbeb6a2b314be707ac93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/src/support/native.dart:364-377 | lib/src/support/native.dart:401-415 \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":"lib/src/support/native.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8915936fab702627f1025e709d5079d7f826ce4e27b9a7e102db3db6175a9af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/src/track/track.dart:148-157 | lib/src/track/track.dart:159-168 \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":"lib/src/track/track.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c8e41a5a9989c7787ff1597afc4d2b0535291be6be04262747ac878108aca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/src/agent/chat/transcription_stream_receiver.dart:164-179 | lib/src/agent/chat/transcription_stream_receiver.dart:245-260 \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":"lib/src/agent/chat/transcription_stream_receiver.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62b3de01f8862aa2177ab55576b1cddc608e266a665a7f08b6537c754e04e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/src/types/audio_encoding.dart:38-46 | lib/src/types/video_encoding.dart:42-52 \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":"lib/src/types/audio_encoding.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b1f0d063fb11b8fbd454fb81defb444b259b9ccc64ab502882601b37bd9840"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): ios/Classes/Visualizer.swift:138-140 | ios/livekit_client/Sources/livekit_client/Visualizer.swift:138-140 | macos/Classes/Visualizer.swift:138-140 | macos/livekit_client/Sources/livekit_client/Visualizer.swift:138-140 | shared_swift/Visualizer.swift:138-140 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Classes/Visualizer.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f291c123d0819ba176d49e8390b70ebe9f5598402ce7bd235180636e8d99784"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 1\u002B corresponding lines): ios/Classes/LiveKitPlugin.swift:1449-1449 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1449-1449 | macos/Classes/LiveKitPlugin.swift:1449-1449 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1449-1449 | shared_swift/LiveKitPlugin.swift:1449-1449 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 1 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8883e6f7aadcf2bde8b83cc74c9377c659fcd509980e508253c75146d7d9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 1\u002B corresponding lines): ios/Classes/LiveKitPlugin.swift:1450-1450 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1450-1450 | macos/Classes/LiveKitPlugin.swift:1450-1450 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1450-1450 | shared_swift/LiveKitPlugin.swift:1450-1450 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 1 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bdbd54e45d46db5012e63f5613215c71d362eea145a21fc20da20b5bb25238"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): ios/Classes/FFTProcessor.swift:69-71 | ios/livekit_client/Sources/livekit_client/FFTProcessor.swift:69-71 | macos/Classes/FFTProcessor.swift:69-71 | macos/livekit_client/Sources/livekit_client/FFTProcessor.swift:69-71 | shared_swift/FFTProcessor.swift:69-71 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Classes/FFTProcessor.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c832d9ff919548525d7d55f34ca8ce1114f4fea473a7cf38c957ad05d5504bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): example/ios/LiveKit Broadcast Extension/DarwinNotificationCenter.swift:26-28 | ios/Classes/DarwinNotificationCenter.swift:31-37 | ios/livekit_client/Sources/livekit_client/DarwinNotificationCenter.swift:31-37 \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":"example/ios/LiveKit Broadcast Extension/DarwinNotificationCenter.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"98813b75be32e8e3967a109bbe4233b615bb76a5e40b6d7db86fe9e8e8a4aa31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/src/track/audio_visualizer_native.dart:21-25 | lib/src/track/audio_visualizer_web.dart:23-27 \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":"lib/src/track/audio_visualizer_native.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0a7065b92fed111fc86930dc800bd1aa4931ce7a96c579b40a434d3fb55481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 2): lib/src/participant/local.dart:383-414 | lib/src/participant/local.dart:487-520 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/participant/local.dart:487\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":"lib/src/participant/local.dart"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f145a6b6c0f1865b98f4071dfe73a0c1e787fbd3c9261fa8a9aa931f38f2ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/data_stream/stream_reader.dart:75-93 | lib/src/data_stream/stream_reader.dart:135-153 \u2014 both copies are in the same file, so extract the block 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":"lib/src/data_stream/stream_reader.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60961ff5f1bb533999f14513921a63afd9016cf4ca7fad71870aa4b75582cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lib/src/participant/local.dart:233-249 | lib/src/participant/local.dart:538-555 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/src/participant/local.dart:538\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note 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":"lib/src/participant/local.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f333244526ec5fd9ab6f3ae7c0da47d3322c59743597e98999021d6f2fa8d6f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/src/core/engine.dart:1063-1076 | lib/src/core/engine.dart:1090-1102 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/src/core/engine.dart:1063\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/src/core/engine.dart:1102\u0060 calls \u0060set\u0060, \u0060fine\u0060 and \u0060lib/src/core/engine.dart:1076\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":"lib/src/core/engine.dart"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ecc69eabe20c53e2278f67405cecf472bcef33b6ffeda17b58186d3e895193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/data_stream/data_streams_web.dart:208-221 | lib/src/data_stream/data_streams_web.dart:224-237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/src/data_stream/data_streams_web.dart:206\u0060 calls \u0060_handleStreamChunk\u0060 and \u0060lib/src/data_stream/data_streams_web.dart:221\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":"lib/src/data_stream/data_streams_web.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d315390044d15217191e937430b2590b9603d7aee7542cd52dbd56ce08e1b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/e2ee/e2ee_manager.dart:64-77 | lib/src/e2ee/e2ee_manager.dart:101-114 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/src/e2ee/e2ee_manager.dart:64\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":"lib/src/e2ee/e2ee_manager.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"37521c9fcc18f45c494db649189069c553bb0e9732654d13aad7733c14f878e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/src/widgets/screen_select_dialog.dart:322-335 | lib/src/widgets/screen_select_dialog.dart:343-356 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/src/widgets/screen_select_dialog.dart:322\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":"lib/src/widgets/screen_select_dialog.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"271c5d5dca7c9eb380b063299339c0e5e4cccf731891c2bf3ac73a9bfc8ff6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/track/remote/audio.dart:83-94 | lib/src/track/remote/video.dart:49-60 \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 \u0060lib/src/track/remote/audio.dart: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/track/remote/audio.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f351727d90f709234d0209d84aba13369e9ab7527b7399e63caae8d772f57545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/data_stream/data_streams_web.dart:141-151 | lib/src/data_stream/data_streams_web.dart:186-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/data_stream/data_streams_web.dart:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/data_stream/data_streams_web.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5874dcfcc0eae0434ea6c0d160fc70b70f33b86d25e5857260842ffca519a345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/e2ee/e2ee_manager.dart:160-170 | lib/src/e2ee/e2ee_manager.dart:178-188 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/src/e2ee/e2ee_manager.dart:160\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/e2ee/e2ee_manager.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf50d9e48a4432ace1ed6cae16fcf8715d59764041911b2eb653250d35cd4ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/data_stream/data_streams_web.dart:261-270 | lib/src/data_stream/data_streams_web.dart:273-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/data_stream/data_streams_web.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ac730bd74fd338c9207ad4566526ea2f4eaa1492f31f74610f3af8c0cf64f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/src/participant/local.dart:557-565 | lib/src/participant/remote.dart:295-304 \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 \u0060lib/src/participant/local.dart:557\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4db64022e38ade446d35ad8a1822c97732bd17f126a3d8c0dadfaf7ca0e027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/data_stream/data_streams_web.dart:414-422 | lib/src/data_stream/data_streams_web.dart:467-475 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/src/data_stream/data_streams_web.dart:414\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":"lib/src/data_stream/data_streams_web.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4adc6f83604e5d339c21d846f7dab680eea278f1d2cee6c44e8d0ac1d8c88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/src/data_stream/data_streams_web.dart:429-438 | lib/src/data_stream/data_streams_web.dart:478-486 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/src/data_stream/data_streams_web.dart:429\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":"lib/src/data_stream/data_streams_web.dart"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a4c10021b29806ecb0579c58c2c9236fc8a9f823d4f72657809e0ebdd994a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/src/e2ee/e2ee_manager.dart:79-86 | lib/src/e2ee/e2ee_manager.dart:116-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/src/e2ee/e2ee_manager.dart:79\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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":"lib/src/e2ee/e2ee_manager.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a093d51ee316c480429aab7dc6ba34b3f0266bee77367eb0d7cad457ed2d9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): lib/src/track/local/audio.dart:172-177 | lib/src/track/local/video.dart:171-176 | lib/src/track/remote/audio.dart:136-141 | lib/src/track/remote/video.dart:109-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/track/local/audio.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"70da266407de1f8eed12af81a9efbd0130edc9ed50c940ed34e2bf22732dcccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/participant/local.dart:200-205 | lib/src/participant/local.dart:445-450 \u2014 both copies are in the same file, so extract the block 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 \u0060lib/src/participant/local.dart: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ad5d33abb1d0392f7f03d64720b0c036b8bdd51ba758cf2571c9cf528ff3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/data_stream/data_streams_native.dart:169-174 | lib/src/data_stream/data_streams_web.dart:360-365 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/data_stream/data_streams_native.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b90eb5fa72a659217d5d7aca3137951c08ed845f48664a3c196628129f9256a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lib/src/participant/local.dart:752-759 | lib/src/participant/local.dart:761-768 | lib/src/participant/remote.dart:149-156 \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. The matched lines also transfer control out of the body holding them, 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, \u0060lib/src/participant/remote.dart:147\u0060 calls \u0060where\u0060, \u0060toList\u0060 and \u0060lib/src/participant/local.dart:750\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":"lib/src/participant/local.dart"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86ca9ef1a17bd966970d8fc713b875d219e1c33445dae65498a587f0f8f1873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/participant/local.dart:770-777 | lib/src/participant/remote.dart:167-174 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"386efe9fc02a2cc7f754758f1ec0d650934899902dc8fd68043be16b3da82542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:922-978 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:922-978 | macos/Classes/LiveKitPlugin.swift:922-978 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:922-978 | shared_swift/LiveKitPlugin.swift:922-978 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a104554da462c6a6d0f9c98842196c6978d84d6527c6a86aa2c541831bb18e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:352-407 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:352-407 | macos/Classes/LiveKitPlugin.swift:352-407 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:352-407 | shared_swift/LiveKitPlugin.swift:352-407 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b78bdafe28514bdd069fcf679edc7aedb811d7c27cfdc53790a9c16a72d9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:82-129 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:82-129 | macos/Classes/LiveKitPlugin.swift:82-129 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:82-129 | shared_swift/LiveKitPlugin.swift:82-129 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe9d5edf19c9a147f8b36af29b87af4ae32207eca7dfafa460082056a49283c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:286-332 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:286-332 | macos/Classes/LiveKitPlugin.swift:286-332 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:286-332 | shared_swift/LiveKitPlugin.swift:286-332 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4389caba6788f2ba35b1aebd6343a37c5fa2555f64a07e469d0b43afb16a1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:582-624 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:582-624 | macos/Classes/LiveKitPlugin.swift:582-624 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:582-624 | shared_swift/LiveKitPlugin.swift:582-624 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a55ab93eff3f29eab155e7baa32427ee4799c04468dd8cae9194b249c51081f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:202-243 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:202-243 | macos/Classes/LiveKitPlugin.swift:202-243 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:202-243 | shared_swift/LiveKitPlugin.swift:202-243 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ccd21e704ab6ffcd1bce6aac36f9942c4c20912f4af7270afbe54746fde16a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:829-866 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:829-866 | macos/Classes/LiveKitPlugin.swift:829-866 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:829-866 | shared_swift/LiveKitPlugin.swift:829-866 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3258e8fa4c4a76a79c6fa088a0875fd22e6109fd11c64153dabd05c90de284e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1306-1342 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1306-1342 | macos/Classes/LiveKitPlugin.swift:1306-1342 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1306-1342 | shared_swift/LiveKitPlugin.swift:1306-1342 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fad53631d39d52ef92656080d4151cb672f27d82cff339a194d0d58e41c0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1406-1442 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1406-1442 | macos/Classes/LiveKitPlugin.swift:1406-1442 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1406-1442 | shared_swift/LiveKitPlugin.swift:1406-1442 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"a299a14a886ae9bafa411da0ea0c8ae1d999fa2c1bec2411931494f221369cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:449-484 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:449-484 | macos/Classes/LiveKitPlugin.swift:449-484 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:449-484 | shared_swift/LiveKitPlugin.swift:449-484 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e8cc233f33791690e34e71dd18db58a57c24f490547ccbf8ec555e623dbd58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:533-567 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:533-567 | macos/Classes/LiveKitPlugin.swift:533-567 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:533-567 | shared_swift/LiveKitPlugin.swift:533-567 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"09021202e7560b5feec914925a6790f9ecd533e53124ba86fd4720b2ebbcdaae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 5): ios/Classes/FFTProcessor.swift:37-67 | ios/livekit_client/Sources/livekit_client/FFTProcessor.swift:37-67 | macos/Classes/FFTProcessor.swift:37-67 | macos/livekit_client/Sources/livekit_client/FFTProcessor.swift:37-67 | shared_swift/FFTProcessor.swift:37-67 \u2014 before extracting anything, compare \u0060ios/Classes/FFTProcessor.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/FFTProcessor.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"ios/Classes/FFTProcessor.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6ceb6e02daec3cdb0fc13f7844b54e6b79ba3715dbfd0800af089a15d4aa03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1203-1232 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1203-1232 | macos/Classes/LiveKitPlugin.swift:1203-1232 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1203-1232 | shared_swift/LiveKitPlugin.swift:1203-1232 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67130c98c201dce59010c8b50a1618f4234480f06aed088519fa2e317627f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:646-674 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:646-674 | macos/Classes/LiveKitPlugin.swift:646-674 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:646-674 | shared_swift/LiveKitPlugin.swift:646-674 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fbbb9cd924204261f62433e153a549422cfeb6bc087f5b84765cb20252bf6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 5): ios/Classes/AudioProcessing.swift:136-162 | ios/livekit_client/Sources/livekit_client/AudioProcessing.swift:136-162 | macos/Classes/AudioProcessing.swift:136-162 | macos/livekit_client/Sources/livekit_client/AudioProcessing.swift:136-162 | shared_swift/AudioProcessing.swift:136-162 \u2014 before extracting anything, compare \u0060ios/Classes/AudioProcessing.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/AudioProcessing.swift\u0060 as WHOLE FILES: 100% 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. 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":"ios/Classes/AudioProcessing.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed7eabafadbd8fadcc0831b6e6d7ef52e24654aa368d4238aeb4254a06e3287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 5): ios/Classes/FFTProcessor.swift:120-146 | ios/livekit_client/Sources/livekit_client/FFTProcessor.swift:120-146 | macos/Classes/FFTProcessor.swift:120-146 | macos/livekit_client/Sources/livekit_client/FFTProcessor.swift:120-146 | shared_swift/FFTProcessor.swift:120-146 \u2014 before extracting anything, compare \u0060ios/Classes/FFTProcessor.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/FFTProcessor.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Classes/FFTProcessor.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7c9d87867edcae84568e9c858cbebdc3f36d67fd218513cc42dbe21462dc94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:684-710 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:684-710 | macos/Classes/LiveKitPlugin.swift:684-710 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:684-710 | shared_swift/LiveKitPlugin.swift:684-710 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa8f3efece136a787cbdca08e47aa9d50ad249519ed108ddbdb47d7541c2fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:262-284 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:262-284 | macos/Classes/LiveKitPlugin.swift:262-284 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:262-284 | shared_swift/LiveKitPlugin.swift:262-284 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3ae9f97ff25e47af9b23949c0ec779c86b7728da76ff633a30c9e6dc741315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): ios/Classes/FFTProcessor.swift:92-113 | ios/livekit_client/Sources/livekit_client/FFTProcessor.swift:92-113 | macos/Classes/FFTProcessor.swift:92-113 | macos/livekit_client/Sources/livekit_client/FFTProcessor.swift:92-113 | shared_swift/FFTProcessor.swift:92-113 \u2014 before extracting anything, compare \u0060ios/Classes/FFTProcessor.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/FFTProcessor.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"ios/Classes/FFTProcessor.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f002ef0baa0483d03e484124a3bd6a9663ba93502027189f4b337d8c10105914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:179-200 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:179-200 | macos/Classes/LiveKitPlugin.swift:179-200 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:179-200 | shared_swift/LiveKitPlugin.swift:179-200 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe9caa85345af279a58065d038836ec38b4a3fd286c5b1ff09cd52f8e84249f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): ios/Classes/Visualizer.swift:81-102 | ios/livekit_client/Sources/livekit_client/Visualizer.swift:81-102 | macos/Classes/Visualizer.swift:81-102 | macos/livekit_client/Sources/livekit_client/Visualizer.swift:81-102 | shared_swift/Visualizer.swift:81-102 \u2014 before extracting anything, compare \u0060ios/Classes/Visualizer.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/Visualizer.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 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":"ios/Classes/Visualizer.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f7dd23b731f953d6b367a2656f5a4d889a9f35f77467c82426b75bc19af875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): ios/Classes/AudioConverter.swift:47-67 | ios/livekit_client/Sources/livekit_client/AudioConverter.swift:47-67 | macos/Classes/AudioConverter.swift:47-67 | macos/livekit_client/Sources/livekit_client/AudioConverter.swift:47-67 | shared_swift/AudioConverter.swift:47-67 \u2014 before extracting anything, compare \u0060ios/Classes/AudioConverter.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/AudioConverter.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. 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":"ios/Classes/AudioConverter.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f776606a74a0795f31becb54a02e3cd9de01bbfb197eac3eed8964a3b3d53d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1384-1404 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1384-1404 | macos/Classes/LiveKitPlugin.swift:1384-1404 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1384-1404 | shared_swift/LiveKitPlugin.swift:1384-1404 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9489357ea4798479bc5dcb27e996819cc597870caa05a9f463df63fc720e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:731-750 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:731-750 | macos/Classes/LiveKitPlugin.swift:731-750 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:731-750 | shared_swift/LiveKitPlugin.swift:731-750 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"9497c6b54a3cff263bf14ca0ff2460224466b57e6424316fb0d71c44411854a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): ios/Classes/Visualizer.swift:51-70 | ios/livekit_client/Sources/livekit_client/Visualizer.swift:51-70 | macos/Classes/Visualizer.swift:51-70 | macos/livekit_client/Sources/livekit_client/Visualizer.swift:51-70 | shared_swift/Visualizer.swift:51-70 \u2014 before extracting anything, compare \u0060ios/Classes/Visualizer.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/Visualizer.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 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":"ios/Classes/Visualizer.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"138ccdb9e6f9f7a22b2ddd5b467a2687be3bae89d543b1b0b3aa40534083c935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:712-729 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:712-729 | macos/Classes/LiveKitPlugin.swift:712-729 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:712-729 | shared_swift/LiveKitPlugin.swift:712-729 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f63fda0053498cc3bf4729f86107e37e8a5992bf8b051d35ffa9c730a1f96a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1255-1272 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1255-1272 | macos/Classes/LiveKitPlugin.swift:1255-1272 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1255-1272 | shared_swift/LiveKitPlugin.swift:1255-1272 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e27473d11bd55598a54dfbe131ea551dfe1ddd027ac28be4b1717c0afc7516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): ios/Classes/Visualizer.swift:108-125 | ios/livekit_client/Sources/livekit_client/Visualizer.swift:108-125 | macos/Classes/Visualizer.swift:108-125 | macos/livekit_client/Sources/livekit_client/Visualizer.swift:108-125 | shared_swift/Visualizer.swift:108-125 \u2014 before extracting anything, compare \u0060ios/Classes/Visualizer.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/Visualizer.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Classes/Visualizer.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff53d7894416ae83e698d5976b6ef23f0b937653c9c072be6f7d3aca0f9925a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:334-350 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:334-350 | macos/Classes/LiveKitPlugin.swift:334-350 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:334-350 | shared_swift/LiveKitPlugin.swift:334-350 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"69874b1f68dc75bee1fd54f64021b84d5c3d9e88236e586620b816cfacdd4a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:894-910 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:894-910 | macos/Classes/LiveKitPlugin.swift:894-910 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:894-910 | shared_swift/LiveKitPlugin.swift:894-910 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edc02353c4ae50dd25417f4dd03ec1dd142f9c3cd7ea18724a1d303f541fbf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1351-1367 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1351-1367 | macos/Classes/LiveKitPlugin.swift:1351-1367 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1351-1367 | shared_swift/LiveKitPlugin.swift:1351-1367 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba36125dce09ad7091045066417907f46380b19034928b7a63e6d1e34ebc31dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): ios/Classes/AudioRenderer.swift:40-55 | ios/livekit_client/Sources/livekit_client/AudioRenderer.swift:40-55 | macos/Classes/AudioRenderer.swift:40-55 | macos/livekit_client/Sources/livekit_client/AudioRenderer.swift:40-55 | shared_swift/AudioRenderer.swift:40-55 \u2014 before extracting anything, compare \u0060ios/Classes/AudioRenderer.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/AudioRenderer.swift\u0060 as WHOLE FILES: 100% 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. 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":"ios/Classes/AudioRenderer.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd462dfba0c83c31eb3edf3505ba4dbd801f9ae5bf1a20f1637d29f259c90033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:245-260 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:245-260 | macos/Classes/LiveKitPlugin.swift:245-260 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:245-260 | shared_swift/LiveKitPlugin.swift:245-260 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9df57a301cd127d9d74a3ab822ed34f148eba6ea50922bcc0e4ba55d8749aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:516-531 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:516-531 | macos/Classes/LiveKitPlugin.swift:516-531 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:516-531 | shared_swift/LiveKitPlugin.swift:516-531 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40f88a5f5b414a7552bfc9ef46a20af368a54d3c49378a51a11105bf824d925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): ios/Classes/AudioProcessing.swift:119-133 | ios/livekit_client/Sources/livekit_client/AudioProcessing.swift:119-133 | macos/Classes/AudioProcessing.swift:119-133 | macos/livekit_client/Sources/livekit_client/AudioProcessing.swift:119-133 | shared_swift/AudioProcessing.swift:119-133 \u2014 before extracting anything, compare \u0060ios/Classes/AudioProcessing.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/AudioProcessing.swift\u0060 as WHOLE FILES: 100% 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":"ios/Classes/AudioProcessing.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8192f9d528d8ae21ee8355c0cba2354552df98a5f3fef6689dc26d2a7eedd62d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:779-793 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:779-793 | macos/Classes/LiveKitPlugin.swift:779-793 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:779-793 | shared_swift/LiveKitPlugin.swift:779-793 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"8003942649b8654dae8846b92c4282fa3142b95e1d28ffc65d4040df4b0c42e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:502-514 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:502-514 | macos/Classes/LiveKitPlugin.swift:502-514 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:502-514 | shared_swift/LiveKitPlugin.swift:502-514 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3255d6fc005254acbe5353ff71b77fc87f020c2ce3bdc19c37d4b07a54ed58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): ios/Classes/AudioConverter.swift:34-45 | ios/livekit_client/Sources/livekit_client/AudioConverter.swift:34-45 | macos/Classes/AudioConverter.swift:34-45 | macos/livekit_client/Sources/livekit_client/AudioConverter.swift:34-45 | shared_swift/AudioConverter.swift:34-45 \u2014 before extracting anything, compare \u0060ios/Classes/AudioConverter.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/AudioConverter.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. 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":"ios/Classes/AudioConverter.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"932e70836c1536c3bcf906d83ecb6ae1807d12cbe9b6e3a0d5b3540722492008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:420-431 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:420-431 | macos/Classes/LiveKitPlugin.swift:420-431 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:420-431 | shared_swift/LiveKitPlugin.swift:420-431 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a224a08e05c14c0ca4aa9e630c20e6958b032ead48a0d1763762836cacc6a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1456-1467 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1456-1467 | macos/Classes/LiveKitPlugin.swift:1456-1467 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1456-1467 | shared_swift/LiveKitPlugin.swift:1456-1467 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f05cc28d935a35cc74a5093e4fe2cfb4acfb1c977e8d92adb9a7cb5c563611d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:437-447 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:437-447 | macos/Classes/LiveKitPlugin.swift:437-447 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:437-447 | shared_swift/LiveKitPlugin.swift:437-447 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a3ee421487c9caed87a1187da19736d24a0cdcbce4da8cf527620fd193169c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:807-817 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:807-817 | macos/Classes/LiveKitPlugin.swift:807-817 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:807-817 | shared_swift/LiveKitPlugin.swift:807-817 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e24b195c279eadb0620b4919343cf36c5c4f8a567d1c7ed81fb05acff26535b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1191-1201 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1191-1201 | macos/Classes/LiveKitPlugin.swift:1191-1201 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1191-1201 | shared_swift/LiveKitPlugin.swift:1191-1201 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d1fa963eedb18fb928f9ddfa5c4700a81d49701ad07a5bcec1098765c4ee8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1369-1379 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1369-1379 | macos/Classes/LiveKitPlugin.swift:1369-1379 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1369-1379 | shared_swift/LiveKitPlugin.swift:1369-1379 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f337b395ed669983d4fb5a12cf10164a835e03cf2434f3eb5dfe4e076e1cfe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): ios/Classes/BroadcastManager.swift:43-53 | ios/livekit_client/Sources/livekit_client/BroadcastManager.swift:43-53 \u2014 before extracting anything, compare \u0060ios/Classes/BroadcastManager.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/BroadcastManager.swift\u0060 as WHOLE FILES: 100% 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. 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":"ios/Classes/BroadcastManager.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa48403e88ebe1781dfe2b21380a062c4191f1269603064aea506c9efed39e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:409-418 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:409-418 | macos/Classes/LiveKitPlugin.swift:409-418 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:409-418 | shared_swift/LiveKitPlugin.swift:409-418 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd693e078ed94dad233809996a0b801ccf2649cc6b7648492f0397e7b74d1eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): shared_swift/AudioRenderer.swift:108-117 | shared_swift/AudioRenderer.swift:126-135 \u2014 both copies are in the same file, so extract the block 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 \u0060shared_swift/AudioRenderer.swift:108\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":"shared_swift/AudioRenderer.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed8d15f36dd97810d4518632eb6cd95a8c93b9c2de480f2e9826bbba65b1581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:912-920 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:912-920 | macos/Classes/LiveKitPlugin.swift:912-920 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:912-920 | shared_swift/LiveKitPlugin.swift:912-920 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"73023017336b4724d5253ce1158760e3bcc02067daa8c618598a8e081f6e8d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:764-771 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:764-771 | macos/Classes/LiveKitPlugin.swift:764-771 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:764-771 | shared_swift/LiveKitPlugin.swift:764-771 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea17a1d18424f9842525778e5da06e4ea49cfa8a239f20787b12d492b27b123b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 5): ios/Classes/AudioSessionPolicyResolver.swift:82-167 | ios/livekit_client/Sources/livekit_client/AudioSessionPolicyResolver.swift:82-167 | macos/Classes/AudioSessionPolicyResolver.swift:82-167 | macos/livekit_client/Sources/livekit_client/AudioSessionPolicyResolver.swift:82-167 | shared_swift/AudioSessionPolicyResolver.swift:82-167 \u2014 before extracting anything, compare \u0060ios/Classes/AudioSessionPolicyResolver.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/AudioSessionPolicyResolver.swift\u0060 as WHOLE FILES: 100% 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. 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":"ios/Classes/AudioSessionPolicyResolver.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bfdf331b4b6028256a6d3a738df0cfd5b9d42f216a21ba930635cdf1f32b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ios/Classes/BundleInfo.swift:25-33 | ios/livekit_client/Sources/livekit_client/BundleInfo.swift:25-33 \u2014 before extracting anything, compare \u0060ios/Classes/BundleInfo.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/BundleInfo.swift\u0060 as WHOLE FILES: 100% 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Classes/BundleInfo.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d28ce7e79ba5da98b0d3a9d97faf6dc0137a2bcf310a053730e5213d392eac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 5): ios/Classes/RingBuffer.swift:25-50 | ios/livekit_client/Sources/livekit_client/RingBuffer.swift:25-50 | macos/Classes/RingBuffer.swift:25-50 | macos/livekit_client/Sources/livekit_client/RingBuffer.swift:25-50 | shared_swift/RingBuffer.swift:25-50 \u2014 before extracting anything, compare \u0060ios/Classes/RingBuffer.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/RingBuffer.swift\u0060 as WHOLE FILES: 100% 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. 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":"ios/Classes/RingBuffer.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"875f8ee302b2dcd60c835b94b0df7961bc891564e8ea1ea12354667908e2d330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): ios/Classes/AudioConverter.swift:27-32 | ios/livekit_client/Sources/livekit_client/AudioConverter.swift:27-32 | macos/Classes/AudioConverter.swift:27-32 | macos/livekit_client/Sources/livekit_client/AudioConverter.swift:27-32 | shared_swift/AudioConverter.swift:27-32 \u2014 before extracting anything, compare \u0060ios/Classes/AudioConverter.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/AudioConverter.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. 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":"ios/Classes/AudioConverter.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7a590bb2dc56e690d168e7bd749bb43419acbfbd2f81b58585334bbd37dc43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:68-76 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:68-76 | macos/Classes/LiveKitPlugin.swift:68-76 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:68-76 | shared_swift/LiveKitPlugin.swift:68-76 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8130fae8fb01e00f69d3c181c9596f2a8b7b3729d41b7d7907046ef877ea35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:168-176 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:168-176 | macos/Classes/LiveKitPlugin.swift:168-176 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:168-176 | shared_swift/LiveKitPlugin.swift:168-176 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a888379d2262a63dfe811e34f2c3e6629ca5e8bcb7f8f5e9e14f77727e12e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:628-635 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:628-635 | macos/Classes/LiveKitPlugin.swift:628-635 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:628-635 | shared_swift/LiveKitPlugin.swift:628-635 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e43785e9a1becfe96a6e32ef411a062cf2bb773ca0de6be834b058e395084ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:637-644 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:637-644 | macos/Classes/LiveKitPlugin.swift:637-644 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:637-644 | shared_swift/LiveKitPlugin.swift:637-644 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcc21a1db6712d5dad0792c38cce81570374129831f0532c0aa7209821da088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:676-682 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:676-682 | macos/Classes/LiveKitPlugin.swift:676-682 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:676-682 | shared_swift/LiveKitPlugin.swift:676-682 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5d98ec54db008caed18fd291cae2d211dbc959cf01fd41a1e0845109a75aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:752-758 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:752-758 | macos/Classes/LiveKitPlugin.swift:752-758 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:752-758 | shared_swift/LiveKitPlugin.swift:752-758 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a428ce887e0d9d045bd309723a33588bce80f8ef8c81c7631440cec18cd21c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:799-805 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:799-805 | macos/Classes/LiveKitPlugin.swift:799-805 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:799-805 | shared_swift/LiveKitPlugin.swift:799-805 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"153f9d9cc99cd722f84f3500a0a775a6c6d9df571a3379e2eee4ecd6451147a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:819-827 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:819-827 | macos/Classes/LiveKitPlugin.swift:819-827 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:819-827 | shared_swift/LiveKitPlugin.swift:819-827 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"205cb514e43d236872d491fbc2de0f69dfc53c3d968836a280d934ebfdc7b96f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:868-874 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:868-874 | macos/Classes/LiveKitPlugin.swift:868-874 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:868-874 | shared_swift/LiveKitPlugin.swift:868-874 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ea35ab39a5130f2f637d9f5f7dce2e44f67a99dbb8158f6e6b391e0ad7b009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:876-882 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:876-882 | macos/Classes/LiveKitPlugin.swift:876-882 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:876-882 | shared_swift/LiveKitPlugin.swift:876-882 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b336f7466da4ce8e2d36ad07bec74f33986565fb3b66161660b09340c89f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:884-892 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:884-892 | macos/Classes/LiveKitPlugin.swift:884-892 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:884-892 | shared_swift/LiveKitPlugin.swift:884-892 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a69f928fccb27244d4622cef427df0ef08c595c8116ad4b80ddd988718aeb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1166-1171 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1166-1171 | macos/Classes/LiveKitPlugin.swift:1166-1171 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1166-1171 | shared_swift/LiveKitPlugin.swift:1166-1171 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4f63297394ec47727329845bed404ef5b7fffdb534f0f36f07cddb6433dd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1175-1186 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1175-1186 | macos/Classes/LiveKitPlugin.swift:1175-1186 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1175-1186 | shared_swift/LiveKitPlugin.swift:1175-1186 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e733302a99f9e4052149155ca4407e5d78d6dc3fd9f3df19495a61b1756a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1234-1244 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1234-1244 | macos/Classes/LiveKitPlugin.swift:1234-1244 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1234-1244 | shared_swift/LiveKitPlugin.swift:1234-1244 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5162e04b06a38b99a04f892aee3e96b0cb7baa4ce504cd6eb4882b2d73085b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): ios/Classes/LiveKitPlugin.swift:1277-1283 | ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1277-1283 | macos/Classes/LiveKitPlugin.swift:1277-1283 | macos/livekit_client/Sources/livekit_client/LiveKitPlugin.swift:1277-1283 | shared_swift/LiveKitPlugin.swift:1277-1283 \u2014 before extracting anything, compare \u0060ios/Classes/LiveKitPlugin.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 1013 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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c054272714443382c4b91bee007c5529e974d4485a85995258a5520c3201d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): ios/Classes/Visualizer.swift:128-135 | ios/livekit_client/Sources/livekit_client/Visualizer.swift:128-135 | macos/Classes/Visualizer.swift:128-135 | macos/livekit_client/Sources/livekit_client/Visualizer.swift:128-135 | shared_swift/Visualizer.swift:128-135 \u2014 before extracting anything, compare \u0060ios/Classes/Visualizer.swift\u0060 and \u0060ios/livekit_client/Sources/livekit_client/Visualizer.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 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":"ios/Classes/Visualizer.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0fc7212a2ff554e7d3694b5d990244879007db3aba6986a8d8bafb309c805b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): example/lib/widgets/participant.dart:304-326 | example/lib/widgets/participant.dart:338-360 \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":"example/lib/widgets/participant.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d061f4bbb64a391eba2f7fb2b5a23bf0f54640188c2893f6dc2cb2b8342a18a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): example/lib/pages/connect.dart:678-695 | example/lib/pages/room.dart:635-657 \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":"example/lib/pages/connect.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"09160b683a0f1829cc19f2f51d35c3c109ccfc022ed5b8faa8aa24fe13bc6a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): example/lib/pages/room.dart:299-316 | example/lib/pages/room.dart:339-356 \u2014 both copies are in the same file, so extract the block 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 \u0060example/lib/pages/room.dart:299\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":"example/lib/pages/room.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6ea54862e803f979a02a5424c8a63957a64dc1692ae494102a8560092557e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): example/lib/widgets/rpc_test_sheet.dart:387-401 | example/lib/widgets/rpc_test_sheet.dart:450-464 \u2014 both copies are in the same file, so extract the block 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 \u0060example/lib/widgets/rpc_test_sheet.dart:387\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/rpc_test_sheet.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a2843d42ebb52c01375a2a86af386823465109dd64ccbb2b81a64964bf18db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): example/lib/pages/prejoin.dart:399-411 | example/lib/pages/prejoin.dart:442-454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/lib/pages/prejoin.dart:399\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":"example/lib/pages/prejoin.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a7cede51f12193a8c41d3106283c2169b7a0c62fc5ab332fbcd7e7a2db4a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): example/lib/widgets/participant.dart:304-313 | example/lib/widgets/participant.dart:338-347 \u2014 both copies are in the same file, so extract the block 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 \u0060example/lib/widgets/participant.dart:304\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"example/lib/widgets/participant.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c4a3c8189a6bff283f9a1147fa0923ec60267a58bcfed2ec189844f3c1db09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): example/lib/widgets/participant_stats.dart:79-85 | example/lib/widgets/participant_stats.dart:92-98 \u2014 both copies are in the same file, so extract the block 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 \u0060example/lib/widgets/participant_stats.dart: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/lib/widgets/participant_stats.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafe15a6456cd08c203b259a7f776950259d9a71cfd61376373b94273ab4512e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ControlsWidgetState (LCOM4 11): _ControlsWidgetState\u0027s methods fall into 11 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 11 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":"example/lib/widgets/controls.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca08b518f13a76853d762c288eefa979cd8968df81798eaaaeddf4f8ec751a09"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LocalParticipant (LCOM4 10): LocalParticipant\u0027s methods fall into 10 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 10 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":"lib/src/participant/local.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"305cf216c1b0c9c6f9c1c38e8417013193ef6e06a3c5b47918c4fbfedf731db1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Hardware (LCOM4 9): Hardware\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":"lib/src/hardware/hardware.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"620cf94bb1769be7894aa502245a6724e216a9a074154f233947c338b3499a0d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AudioManager (LCOM4 7): AudioManager\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":"lib/src/audio/audio_manager.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c32789f99f82c088564115f7237f8a0d0703897f5c0c1c0ba5a0be48e83b32"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Participant (LCOM4 5): Participant\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":"lib/src/participant/participant.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d72b12f881fa492801e80e6505307be2f2a8f34c4bea627f2daba0b0ce859f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Track (LCOM4 4): Track\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":"lib/src/track/track.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81b94b2fe8323074ed4caba9d9a4461f3e50b76b2043c7742297a8445ec82af"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 Swift suite: Coverage NOT MEASURED: the Swift half could not be measured \u2014 llvm-cov\u0027s export for test/native carried no production source rows. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/core/room.dart: lib/src/core/room.dart changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in Room._setUpEngineListeners at line 531. 4 of those changes were fix/bug commits, and the other 6 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 16:32:41 \u002B08:00\u0027 --until=\u00272026-11-17 16:32:41 \u002B08:00\u0027 --full-history --no-merges -- lib/src/core/room.dart\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":"lib/src/core/room.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ad450342ffc7b8c6c5686d9373038631c33e342649a1de531e5757c9a2a50b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/core/engine.dart: lib/src/core/engine.dart changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Engine._setUpSignalListeners at line 1556. 4 of those changes were fix/bug commits, and the other 7 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 16:32:41 \u002B08:00\u0027 --until=\u00272026-11-17 16:32:41 \u002B08:00\u0027 --full-history --no-merges -- lib/src/core/engine.dart\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":"lib/src/core/engine.dart"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bb1eda1ce57c85cdbca6639164d076b95b1facfaf83348cc9ae09c4fa676e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/core/transport.dart: lib/src/core/transport.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Transport.createAndSendOffer at line 363. 1 of those changes was a fix/bug commit, and the other 5 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 16:32:41 \u002B08:00\u0027 --until=\u00272026-11-17 16:32:41 \u002B08:00\u0027 --full-history --no-merges -- lib/src/core/transport.dart\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":"lib/src/core/transport.dart"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"74240be31a1f4d425f1d12c52b0fc026708dc34feda59cc99292f85411f45a61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/utils.dart: lib/src/utils.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Utils.buildUri at line 182. 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 16:32:41 \u002B08:00\u0027 --until=\u00272026-11-17 16:32:41 \u002B08:00\u0027 --full-history --no-merges -- lib/src/utils.dart\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":"lib/src/utils.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf312c220e28ef6c02b8ef1831f1e29e967b6d38b2d1ac760d0a81e582904b6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 15 significant file(s) lose their only recent owner: lib/src/publication/remote.dart, lib/src/agent/session.dart, lib/src/track/local/local.dart, lib/src/preconnect/pre_connect_audio_buffer.dart, lib/src/audio/audio_session.dart, scripts/create_version.dart, android/src/main/kotlin/io/livekit/plugin/AudioRenderer.kt, lib/src/audio/audio_frame_capture_web.dart (\u002B7 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a7c70f931703870d8dd734028b288e8b5a0786154cb80efeab5e6c5606f4236b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO, fix the invalid_runtime_check_with_js_interop_types warnings. \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":"web/e2ee.frame_cryptor.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"43082ba7eecbcca54cc2dcc26c7bb4141c2a3a02f46dc57095c7030d0be97a6b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement addTrack \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":"test/mock/peerconnection_mock.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c428fcfbca3e9a3e129bd73a79d694fe1a9948620e5b7514e3388541f07d6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement createDtmfSender \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":"test/mock/peerconnection_mock.dart"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f2d98e4cfed34ab3a547e68e0123513eeec4df806775892fd22fbecab5a333"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement getConfiguration \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":"test/mock/peerconnection_mock.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"860ee02226039926356bc1e23593c25f7804002682d8124b3bfd542dba644a84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement restartIce \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":"test/mock/peerconnection_mock.dart"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d696c253e3a83b263fc4b5893b7cb22504cc54f7128e5e0ebf3a5558067d37e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: In the next major release, mark this constructor @internal and make participantIdentity required. \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":"lib/src/events.dart"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79c05f6dcaa8867b746ff9ab98f5e3afddd271f0b296dc98a9e121724235c8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Return constraints that will work for all platforms (Web \u0026 Mobile) \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":"lib/src/types/video_parameters.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2423a6fd6f6d96489a4cd55908c01d2683549261bf3704f4d145da7fa04dea13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO, figure out the replacements to simulcast, width, height. \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":"lib/src/publication/track_publication.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5fc04f2b86bef5e7cec66c79eac9aa615482fb872c252e6c59fc4a8d6f76bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to a separate package \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":"lib/src/managers/event.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bebc1ecc78ab88098e59f7d79358948cdeefd65025c3dec4f6c898633a481a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle when ICE restart is needed but we don\u0027t have a remote description \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":"lib/src/core/transport.dart"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"84810343d9dc113409565b7432f115ea768431f1321f0544df867554d214d843"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (35569 LoC, 482 module-visible types across 33 directories) overshoots its size bounds. 1 of 4 build unit(s) (Gradle, SwiftPM, pub) overshoot their size bounds, lowering Project Cohesion to 5.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":"pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fee3010c053c10733ebad6b156234032ce361c46f8c03bb63f2bdc3c8adbd"}},{"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":"abfd8c3d1c90491c8a03c2ce7fb98a5faddbe789e8e84231e320770935e41acf"},"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":"c157d8e0883af14a210da8c60b93864c36d6c37f3cd3eb751919b44a432007d3"},"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"077cd6c75bdfdff7f09eb06b1402cf28960a49bc12db6c26d7a45395f1f957c4"},"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":"1d8e2e62315cd1890a92e63379c722e4e2043109146460bb835b5532be5aa5e0"},"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":"2e7e4e4c767dd878b0df56cb65f15b224c64b491ec7804ad64870394f523de98"},"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":"b2381c22268444f3ab1055642bc8866f68b8e7ee97bd7c86d2e3562748e8259c"},"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":"cff7332e2fb89a93aa79d946eb086f33f6d8b03c37c13e00120a909112353ead"},"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":"a43261e7b0b05857d0dc9d2d3711a47ae93f14e0685f62af93e9e748832f4158"},"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":"8e214c27ae59d5088542a2dbf682afe5e7bdcc8c97eb74146349750e120f9451"},"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":"4065080b01defa7e35f58ffd7912f33d2578c259f0a43ef62fb593cfd41360e9"},"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":"dc04ad7755e4e1bcb8d2847bf0d1f6723af25ee0ef85051aa02ed1a172d50418"},"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":"105eab85e0846360a2f9ac1482daaedfc8866b70c4d15738e60c4de37c4e8561"},"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":"3c725a1e7593ec256284b8b607ae0047d4d17367fc8eeee9495fefdbf8aca7a6"},"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":"0006c22d86af43f4434414bbf939c87f7da75df9d19252a251d9b01667e43d56"},"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":"1cff8d1a94d50cf81f6d19a5f9dd89558ac4752169396a4a46e5b6915886d691"},"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":"ce1e25fb721616349507faa1fdd1b01f1de3280a5c5618e2925cc07eec0395ff"},"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":"12a524e7e2ba3a75406e7133e9c440e08e120b275ee2c2fad75da81df4e7a6df"},"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":"864bff2acc6b9b2266f9a6c34d97d816ae4c169ecfbffed9a03c439013bfbe1a"},"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":"c3ca0a7a19d3ca842182216a3d1c52160d96c877c7c9d0e930915091f62f0aa8"},"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":"892c8adde0c48a53eea002b6816c01b3580524cd82710e8a35b4180b2d274965"},"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":"035de41110b4a37a4dc7a9f91a8c70b7b441bcb1f3c420176e7db37f51246364"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"27e28f0d617ebc40dcdc8fd0ebd2a12760e067b4f082f4b3eedf1b8c84c42bcd"},"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":"5039693582432267a87d8348eb213c9dd1aca051cf64dfbc0bd5f0563b619076"},"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":"08913107bdc81f9ffbb4fcf3cd5ba779660ba195c0b75dd4c6f37613c662d05a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18db3586403c7b4d2fa18011b87afcdbc74205a21291ec029d0760195f938cfb"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"fb3a56d210ff3d6a7faeb424a9222cb7e335cb3f7d91db6ce58d7c005d0c071f"},"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":"87c63731781f46b1c00cd5141e132fafa2086d4fabc16ebd2a636ae958301496"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 10 of 120 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; 120 of the 244 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: lib/src/connection_check/checks/checker.dart, lib/src/connection_check/checks/connection_protocol.dart, lib/src/connection_check/connection_check.dart, lib/src/connection_check/checks/cloud_region.dart, ios/Classes/DarwinNotificationCenter.swift, lib/src/connection_check/checks/webrtc.dart, lib/src/connection_check/checks/turn.dart, lib/src/connection_check/checks/publish_video.dart (and 2 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"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":"lib/src/connection_check/checks/checker.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"221c7fb107d899b6a8275509f97c0d668b3463838a3527b9da30cd97a851e9a4"}},{"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":"lib/src/connection_check/checks/connection_protocol.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22452abf3e1e198690c0a17683151242d60246f7a78c89ca25b4822dd2816c10"}},{"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":"lib/src/connection_check/connection_check.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1900b037c4d9c146565042f604447d12ddda7660fabee230595cb6415066fe2d"}},{"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":"lib/src/connection_check/checks/cloud_region.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e07f057b1f9d3f30d4d3136afed38a025ba35bef87c83baae87ba673e44909d"}},{"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":"ios/Classes/DarwinNotificationCenter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d389e36c9d284a7fec86baff4baaae5d3f16ee835c35ae11626e33bbcde02c"}},{"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":"lib/src/connection_check/checks/webrtc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba21bcab43662e1c9ae83b079ce30a838aeede44aec3b7fdff735278d836f3ab"}},{"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":"lib/src/connection_check/checks/turn.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd228c78664259963964856e23bab32ab8a4d8b51873c9215daafe9ebf3a1dab"}},{"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":"lib/src/connection_check/checks/publish_video.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba3943196370cf2682b5ac66dd2bec46e364356fed762287be1f54626ec9f88"}},{"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":"lib/src/connection_check/checks/websocket.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbadf62bb4e5a619288f6eaf86657916ca65a6ab7b723f58237cf43503c4308"}},{"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":"lib/src/connection_check/checks/publish_audio.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5880306fd2013839688d624ed64ff7b887d38d52dbf4673528a67de80ef5f664"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: native.dart \u2194 LiveKitPlugin.swift: \u0060lib/src/support/native.dart\u0060 (context support) and \u0060shared_swift/LiveKitPlugin.swift\u0060 (context shared_swift) sit in DIFFERENT parts of the tree yet 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) \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 13 shared commits counted here, the most recent 3 are \u006055ef223b\u0060 Keep remote audio at media loudness when capture starts on iOS (#1280); \u0060f014f69f\u0060 Request microphone permission before audio capture starts (#1183); \u0060166d6ae9\u0060 feat(audio): add AudioManager microphone mute mode API (#1124) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/support/native.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a8209a9087d0334a3d526096e8de109b87ef02425e387c9fd800053e718fc2"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: local.dart \u2194 track_publication.dart: \u0060lib/src/participant/local.dart\u0060 (context participant) and \u0060lib/src/publication/track_publication.dart\u0060 (context publication) sit in DIFFERENT parts of the tree yet change together 58% of the time (15 of the 26 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 15 shared commits counted here, the most recent 3 are \u0060ef920055\u0060 chore: fix missing @internal annotations (#993); \u0060f7384fb2\u0060 feat: Data Packet Cryptor. (#873); \u006063be3200\u0060 Use enum VideoQuality/TrackType without exporting PBType. (#444) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8986785893228f1682e01d4c1c2823ddbc56675ba383efd3873316abb50f9ad"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: local.dart \u2194 remote.dart: \u0060lib/src/participant/local.dart\u0060 (context participant) and \u0060lib/src/track/remote/remote.dart\u0060 (context track) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 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 5 shared commits counted here, the most recent 3 are \u00606365ec67\u0060 feat: Visualizer for web. (#718); \u006063be3200\u0060 Use enum VideoQuality/TrackType without exporting PBType. (#444); \u0060193f8980\u0060 fix: add name to AudioPublishOptions. (#302) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e8142c3ba36c00c6c0c13854c15cab54d93eafb8bf31693c6019b6c89934a1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: audio.dart \u2194 video.dart: \u0060lib/src/track/remote/audio.dart\u0060 and \u0060lib/src/track/remote/video.dart\u0060 change together 88% of the time (14 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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060f7384fb2\u0060 feat: Data Packet Cryptor. (#873); \u006063be3200\u0060 Use enum VideoQuality/TrackType without exporting PBType. (#444); \u0060cbf665ff\u0060 feat: add AudioSourceStats. (#427) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/track/remote/audio.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dff3da223f8560b4090636873e2e840c50aeddfe184b61a94a50706a3554ad5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: audio.dart \u2192 audio.dart, remote.dart, video.dart: \u0060lib/src/track/local/audio.dart\u0060 changes together with 3 other files \u2014 \u0060lib/src/track/remote/audio.dart\u0060, \u0060lib/src/track/remote/remote.dart\u0060, \u0060lib/src/track/remote/video.dart\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":"lib/src/track/local/audio.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6d38e455f97caf63ed40841536db26a1979d05699f4e3adcc85793ab92d135"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: video.dart \u2194 remote.dart: \u0060lib/src/track/local/video.dart\u0060 and \u0060lib/src/track/remote/remote.dart\u0060 change together 60% of the time (6 of the 10 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither 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 \u006063be3200\u0060 Use enum VideoQuality/TrackType without exporting PBType. (#444); \u006004781729\u0060 Fix/track not stop stats monitor correctly (#306); \u0060193f8980\u0060 fix: add name to AudioPublishOptions. (#302) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/track/local/video.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da367eb7dcc8545119d2c8dc720d75ebd1a8c9ddcc07919250b3008d11a650f6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: local.dart \u2194 remote.dart: \u0060lib/src/participant/local.dart\u0060 and \u0060lib/src/participant/remote.dart\u0060 change together 57% of the time (36 of the 63 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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 36 shared commits counted here, the most recent 3 are \u0060094b956b\u0060 Minor fixes 1 (#1041); \u006015a836c0\u0060 Refactor participant creation (#927); \u0060f7384fb2\u0060 feat: Data Packet Cryptor. (#873) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3de51b5791ba140a6337f5fca4beff53bc94d92a2e1c2a401a4e317adb2099"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: video.dart \u2194 track.dart: \u0060lib/src/track/remote/video.dart\u0060 and \u0060lib/src/track/track.dart\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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; 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 \u006063be3200\u0060 Use enum VideoQuality/TrackType without exporting PBType. (#444); \u0060cbf665ff\u0060 feat: add AudioSourceStats. (#427); \u006004781729\u0060 Fix/track not stop stats monitor correctly (#306) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/track/remote/video.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf71eaaf086a0178fdb820055bcabe151835cd3efe9013f355a1d7ce6571afe7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX9","level":"error","message":{"text":"Query writes persistent state on the read path: CachingTokenSource.fetch: \u0060CachingTokenSource.fetch\u0060 is a read-named query yet it performs a durable write on the read path (a persist to a store/repository). A query must stay side-effect-free so reads are safe to retry, cache, and route to a read replica; move the write into a command."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/token_source/caching.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d4f976f6d1ff39c67800e030515454d692473c2557b60549c8d5d7bf788480"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/core/room_e2e_test.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b85fcac85b0bb03aaa193332a81e455f7a329ec0a2ac3077d31a4d320e0312"}},{"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":"P10","level":"note","message":{"text":"Implementation type on the public API: 63 public types in \u0060repository.src\u0060 are marked as implementation by their own namespace, folder or name: \u0060EnginePeerStateUpdatedEvent\u0060 (lib/src/internal/events.dart:28, \u0060internal\u0060), \u0060EngineSubscriberPeerStateUpdatedEvent\u0060 (lib/src/internal/events.dart:41, \u0060internal\u0060), \u0060EnginePublisherPeerStateUpdatedEvent\u0060 (lib/src/internal/events.dart:55, \u0060internal\u0060), \u0060TrackStreamUpdatedEvent\u0060 (lib/src/internal/events.dart:68, \u0060internal\u0060), \u0060AudioPlaybackStarted\u0060 (lib/src/internal/events.dart:81, \u0060internal\u0060), \u0060AudioPlaybackFailed\u0060 (lib/src/internal/events.dart:92, \u0060internal\u0060), \u0060LocalTrackOptionsUpdatedEvent\u0060 (lib/src/internal/events.dart:103, \u0060internal\u0060), \u0060InternalTrackMuteUpdatedEvent\u0060 (lib/src/internal/events.dart:117, \u0060internal\u0060), and 55 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/internal/events.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb799a5f71673a5c6c1eee832e23d458c3d517523e4cdbd73c00900f664dbe2"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 5 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build.yaml"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch gradle: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060gradle\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3bff8eed2eb29302c3d10644f1ecba23171c77cd6c406b6dfa078dfc05ad87"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 callback passed to \u0060forEach\u0060: \u0060forEach\u0060 takes a \u0060void\u0060 callback and never awaits what it returns, so the Future each \u0060async\u0060 call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that \u0060await\u0060s around this loop still returns early, and a resource it closes next is closed under the work), and an error is never handled \u2014 it surfaces as an uncaught asynchronous error, which terminates a command-line program and reaches only the zone\u0027s error handler in Flutter. Iterate with \u0060for (final item in items) { await \u2026 }\u0060 when the work must run in order, or \u0060await Future.wait(items.map((item) async { \u2026 }))\u0060 when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback\u0027s whole body a \u0060try { \u2026 } catch (e) { \u2026 }\u0060 that handles the failure, so it cannot escape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/track/local/video.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd61d0473e34ec8d0e73950dc09d15f8b0675330701e902f3ba0a0e8ad58c8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060completer != null \u0026\u0026 !completer.isCompleted\u0060 appears character-identically in 2 files \u2014 lib/src/core/engine.dart, lib/src/participant/local.dart. 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":"lib/src/core/engine.dart"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c25a440a721d5279e3bdd4ee21cd4502ef9a7c495e850e4a9c1ae68a73a04e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initialKeySet == null || !keyHandler.hasValidKey\u0060 appears character-identically in 2 files \u2014 web/e2ee.data_packet_cryptor.dart, web/e2ee.frame_cryptor.dart. 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":"web/e2ee.data_packet_cryptor.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78e71128bea902cd55c577e05bed5409503570f0611c14401757ba6d1d0688f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isInsertableStreamSupported() || isScriptTransformSupported()\u0060 appears character-identically in 2 files \u2014 lib/src/support/platform/web.dart, web/e2ee.utils.dart. 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":"lib/src/support/platform/web.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c539586227caf6db5a5092d4e3f6a3eb1eec47c2328ecc15d8147795df54cea5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ratchetCount \u003E= keyOptions.ratchetWindowSize || keyOptions.ratchetWindowSize \u003C= 0\u0060 appears character-identically in 2 files \u2014 web/e2ee.data_packet_cryptor.dart, web/e2ee.frame_cryptor.dart. 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":"web/e2ee.data_packet_cryptor.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b210f1635f4b89cc1d697f47968f1623e72b7d3018518aff39cca3b2bee5383"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060receiver == null || events.isDisposed || !isActive\u0060 appears character-identically in 2 files \u2014 lib/src/track/remote/audio.dart, lib/src/track/remote/video.dart. 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":"lib/src/track/remote/audio.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce8a5c7f2bea2d720e86afff14dee33c08ef262ed029af468330f747b66937d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stats != null \u0026\u0026 prevStats != null \u0026\u0026 receiver != null\u0060 appears character-identically in 2 files \u2014 lib/src/track/remote/audio.dart, lib/src/track/remote/video.dart. 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":"lib/src/track/remote/audio.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f8256d4cac8ccc21c5241c047aebe39d2a2e36343168e9976133f2331ceb06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060LiveKitPlugin.requestsPlatformEchoNoisePath(from: args) \u0026\u0026 adm.isPlatformVoiceProcessingAllowed\u0060 appears character-identically in 5 files \u2014 ios/Classes/LiveKitPlugin.swift, ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift, macos/Classes/LiveKitPlugin.swift, macos/livekit_client/Sources/livekit_client/LiveKitPlugin.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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df2cdc44a165c18c43fd75fb6305d541e947b2eae63d8813f4a57d9f5fea602"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060converter == nil || pcmBuffer.format != converter!.inputFormat || format != converter!.outputFormat\u0060 appears character-identically in 5 files \u2014 ios/Classes/AudioRenderer.swift, ios/livekit_client/Sources/livekit_client/AudioRenderer.swift, macos/Classes/AudioRenderer.swift, macos/livekit_client/Sources/livekit_client/AudioRenderer.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":"ios/Classes/AudioRenderer.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe7fb1b121ddd67def64bbf05ed7b1c2de708afb622741959e958c8ffc2c9c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060echoCancellationEnabled \u0026\u0026 !echoCancellationForcesSoftware \u0026\u0026 noiseSuppressionEnabled \u0026\u0026 !noiseSuppressionForcesSoftware\u0060 appears character-identically in 5 files \u2014 ios/Classes/AudioSessionPolicyResolver.swift, ios/livekit_client/Sources/livekit_client/AudioSessionPolicyResolver.swift, macos/Classes/AudioSessionPolicyResolver.swift, macos/livekit_client/Sources/livekit_client/AudioSessionPolicyResolver.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":"ios/Classes/AudioSessionPolicyResolver.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12a55120f81a81e79c1932e060821f00f3ebbfd9b5f43a937441cb57f2701b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isAutomaticManagementEnabled \u0026\u0026 isSessionActivationEnabled\u0060 appears character-identically in 5 files \u2014 ios/Classes/LiveKitPlugin.swift, ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift, macos/Classes/LiveKitPlugin.swift, macos/livekit_client/Sources/livekit_client/LiveKitPlugin.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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff752c93492f24c1701621e5929419985fcc47f26d387625753799c13286cb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPending \u0026\u0026 isAutomaticManagementEnabled \u0026\u0026 isSessionActive\u0060 appears character-identically in 5 files \u2014 ios/Classes/AudioSessionPolicyResolver.swift, ios/livekit_client/Sources/livekit_client/AudioSessionPolicyResolver.swift, macos/Classes/AudioSessionPolicyResolver.swift, macos/livekit_client/Sources/livekit_client/AudioSessionPolicyResolver.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":"ios/Classes/AudioSessionPolicyResolver.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a94a67e36291da573d9fabedbbfda8d4362d0a83239cf067a10328d3ce8a84d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060osVersion.minorVersion != 0 || osVersion.patchVersion != 0\u0060 appears character-identically in 5 files \u2014 ios/Classes/LiveKitPlugin.swift, ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift, macos/Classes/LiveKitPlugin.swift, macos/livekit_client/Sources/livekit_client/LiveKitPlugin.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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63aca5e4496a8c26fe5e91e28cd7802c13921ea8ad8cae0a6a7a321993105d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usesDefaultPreset || selectCategoryByEngineState\u0060 appears character-identically in 5 files \u2014 ios/Classes/LiveKitPlugin.swift, ios/livekit_client/Sources/livekit_client/LiveKitPlugin.swift, macos/Classes/LiveKitPlugin.swift, macos/livekit_client/Sources/livekit_client/LiveKitPlugin.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":"ios/Classes/LiveKitPlugin.swift"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4805ee14c82767782d75f5473032060c55deabc4a8e4fa12575eb0e0bd06289c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060mapDiff\u0060 is public and takes \u0060Map left\u0060 from its caller, and it calls itself at line 787 (\u0060mapDiff\u0060) with a piece of \u0060left\u0060 \u2014 and nowhere in \u0060mapDiff\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060mapDiff\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/utils.dart"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94b06722b722d7c4c7c243146ae5ff0ab4b63448ddb2b72a89917be76dfb1ac"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060fine\u0060 at line 350 is called with an argument built by \u0060encodings?.map((e) =\u003E e.toMap())\u0060 (line 350), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because fine is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f30f27a09645335bf387e3324655b198742bfb99b57402fb67a4b7b2ecdd736"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060fine\u0060 at line 378 is called with an argument built by \u0060layers.map((e) =\u003E e)\u0060 (line 378), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because fine is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/participant/local.dart"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07148f2a2b77c4e79d360175ab9a59b4dce15a661a8c822b1cca5c1bf12ee33"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060fine\u0060 at line 619 is called with an argument built by \u0060tracks.map((e) =\u003E e.sid)\u0060 (line 621), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because fine is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/room.dart"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"3731f2f79640bc9ea739caf598e4bdd4ac024d9041c3558b99e69f762d9ec21b"}},{"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":"lib/src/audio/audio_frame_capture_web.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad53c119aabb0c828bfd5cb3fa4fddec409a524c7ed2dd518dccefb5e85e14fe"}},{"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":"lib/src/audio/audio_frame_capture_web.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f057c8ada2a9b0384158f59ba1df6d78192d902fbb4f98a72589c0065b95ed"}},{"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":"lib/src/audio/audio_frame_capture_web.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb61a73cdb64e6c0ab360efaa3b0f9c6b6f06a5bb01750ea5276bcd7a67453b"}}],"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-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":31,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}