{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"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":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ChatBaseMessageViewHolder.setStatus (cyclomatic 36): ChatBaseMessageViewHolder.setStatus has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc59cf8dd9f9b2ec3c6c74d7e938cab3dcca8bf78a143ccceae74b7206add56c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatCallMessageViewHolder.loadData (cyclomatic 30): ChatCallMessageViewHolder.loadData has cyclomatic complexity 30 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6de3eb6220bc4dc5a7081f2bd69952dff72aa4e9208157bdf5a8abc85c525a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatCallMessageViewHolder.loadData (cyclomatic 29): ChatCallMessageViewHolder.loadData has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4117bce2a5c3157f57db90e008185281235c35cf6527aa45a4ef07d393b16034"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamNotificationHelper.buildUpdateTeamNotification (cyclomatic 24): TeamNotificationHelper.buildUpdateTeamNotification has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"630a661e19e88119cbc7a0295389f9bab9c6e743e8892155cdd7008e65800a85"}},{"ruleId":"D1","level":"warning","message":{"text":"verify.main (cyclomatic 24): verify.main has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/uikit-prune/scripts/verify.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"116b8e680a09364cd1c9ede3899aefa454a3e2909d1ac0093d9204eb370aff07"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatBaseFragment.initView (cyclomatic 23): ChatBaseFragment.initView 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30f3d022eba468c619caa393b5d4b95e1a822e271a53d6943845102391247a0"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatBaseFragment.clickMessage (cyclomatic 22): ChatBaseFragment.clickMessage 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebeffa121d56a54de3a41fa1abf76bc7cc6022206c79e65f686c43dcdc246ae"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationBaseFragment.initData (cyclomatic 22): ConversationBaseFragment.initData 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5cdc62455f0a800d356536821887f4d7e7ed05e6102930f3be96eb9af3b8f1"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatPopActionFactory.getMessageActions (cyclomatic 21): ChatPopActionFactory.getMessageActions has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"481fedfd4162a0c6dfcebcbfc018d5f819c09f4f08d911f044a8e01fbefa0ad8"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatTextMessageViewHolder.setMessageText (cyclomatic 21): ChatTextMessageViewHolder.setMessageText has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd806313a2f829aaa1b79d0d0bca562c0d536788ae75777945adfc00c0839e52"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalConversationBaseFragment.initData (cyclomatic 21): LocalConversationBaseFragment.initData has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63a4513421b3e2bf43e30bf6c9e553df8374a9d3e1dfa9fdff5bdbf41e2b6d9"}},{"ruleId":"D1","level":"warning","message":{"text":"CropImageView.handleCropWindowChanged (cyclomatic 20): CropImageView.handleCropWindowChanged 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa59be6ee49dd1137ad1fa8429d1d30097709c98ac1779354232140fd9186f7"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomDatePicker.setYearMonthMode (cyclomatic 20): CustomDatePicker.setYearMonthMode 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8490a031e3e3d19668592095bdd136a8f2e3d176e2f58b3692e7fcda8c6b72"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageCreator.createMessage (cyclomatic 19): MessageCreator.createMessage has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageCreator.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4179ec3a1c457f0524e94b38ce2ead7132a6b98b69c68ab9438a991f11cb507d"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatTextMessageViewHolder.setMessageText (cyclomatic 19): ChatTextMessageViewHolder.setMessageText has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1f48df86e5af192b4e018390ff9c3b92d9544f372353fb36d10f58cdb4f175"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatBaseMessageViewHolder.loadNickAndAvatarForOthers (cyclomatic 19): ChatBaseMessageViewHolder.loadNickAndAvatarForOthers has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bd69f0007a9165e818f1595ee326dacf2c1fdaf933ec9588558dac7bf82fe0"}},{"ruleId":"D1","level":"warning","message":{"text":"CropImageOptions.validate (cyclomatic 19): CropImageOptions.validate 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageOptions.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae5f3df1463bdff23019b08f55db95e1dc4a6ea093b4df0252cf027e7ffbcc8"}},{"ruleId":"D1","level":"warning","message":{"text":"CropImageView.onRestoreInstanceState (cyclomatic 19): CropImageView.onRestoreInstanceState has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5eea1ce1c3e7bb8ecdbfbe6b617cd63d20c97cb1c606ece70fece71331ae8a1"}},{"ruleId":"D1","level":"warning","message":{"text":"FunTeamVerifyInfoViewHolder.onBind (cyclomatic 19): FunTeamVerifyInfoViewHolder.onBind 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2a9a6d031b491f71e3cb1c2c6de7bfb27e776ea42f6ca1e02e5acb3fca66ce"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamVerifyInfoViewHolder.onBind (cyclomatic 19): TeamVerifyInfoViewHolder.onBind 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cbb3edfac9ff320bdc22670029ac8da16eadbae6d635dc0b1e4ccfaac5cd4a"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationCustom.customContentText (cyclomatic 19): ConversationCustom.customContentText has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"315746056669e6ff7c368ddc5817e7f880420666d5f605fa4ba52959d0602955"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalConversationCustom.customContentText (cyclomatic 19): LocalConversationCustom.customContentText has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"07847ed772d3794b783e875d4ce29d90a574ef6a6f4270f9404334bb243bf885"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamUserManager.getNickname (cyclomatic 18): TeamUserManager.getNickname 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f81347a7b93dc3fb61eaca75eb7f01f77c993ea43aadda8374f7a72f29ff3a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatBaseFragment.handleTopMessage (cyclomatic 18): ChatBaseFragment.handleTopMessage 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"5712373d8b68a67792db818f3409c9d9708de6313d1a836c1450df3c961c2346"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomGestureDetector.processTouchEvent (cyclomatic 18): CustomGestureDetector.processTouchEvent 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/CustomGestureDetector.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"016216db09ea340069a474f7e3a423d11666f53fa879d040e531504bc443e0a3"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerConfigUtils.autoAdjust (cyclomatic 17): ServerConfigUtils.autoAdjust has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigUtils.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc10894d6a5784b1cddd17d090962aa312819ad9180c3d2821cf1adbc886452a"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageHelper.createMultiForwardMsg (cyclomatic 17): MessageHelper.createMultiForwardMsg 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1160b8d4e3863a37f1436aeee490896693f285af2a4f3ec322183bc866dc70"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageOperateUtils.buildMediaMessage (cyclomatic 17): MessageOperateUtils.buildMediaMessage has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5a732ca19603d9e4226fbadd0fc74832714ebbc18301364edcb344629e83fd"}},{"ruleId":"D1","level":"warning","message":{"text":"FunChatSettingActivity.initData (cyclomatic 17): FunChatSettingActivity.initData 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd945037f50bb09e194e4cd01223889c37b65108ce6070f04237b633ec31e9d"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatPinBaseActivity.initData (cyclomatic 17): ChatPinBaseActivity.initData has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb45cd7922ff1fcdf413a5f9b0d7a86a4d7306caae5adb814fa1a010c253ae04"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatMessageBean.\u003Cinit\u003E (cyclomatic 17): ChatMessageBean.\u003Cinit\u003E 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf909abf3c64e7a90ed7669cca0443bf1cd32512fec2200e7b0636a3307dbc20"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatSettingActivity.initData (cyclomatic 17): ChatSettingActivity.initData 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4301f1ad79f5329a97e5c68f4a7beeef1b523f672e556995cdbf1d4984b8b2ab"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseTeamManagerListActivity.initData (cyclomatic 17): BaseTeamManagerListActivity.initData 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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0c5411f30b92a72f0ff52179385dbfe45d1e5fa37782fd3f0bbb5707b15822"}},{"ruleId":"D1","level":"warning","message":{"text":"BotSubSessionUtils.getMessageSummary (cyclomatic 16): BotSubSessionUtils.getMessageSummary has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionUtils.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3da78ca3adbdc535b7068013155f5639c30bd123ad6cabb0f3914ce5ecc526"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageOperateUtils.splitTextByAtMentions (cyclomatic 16): MessageOperateUtils.splitTextByAtMentions has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18e0a1db3686dabb655635144f9e48b4e6e8ddefc96d893ed45cbeb52f9a422"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageOperateUtils.translateMessage (cyclomatic 16): MessageOperateUtils.translateMessage has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0950532e89e34ca6f12bb97bdba3c00efd35910dfe8fce6aafe28794dd488359"}},{"ruleId":"D1","level":"warning","message":{"text":"FunChatSearchImageActivity.loadFetchResult (cyclomatic 16): FunChatSearchImageActivity.loadFetchResult has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f443b68dd9ea098bd93f476bf1f4018ceab559839dbab192faf68462a0f7f6d1"}},{"ruleId":"D1","level":"warning","message":{"text":"FunChatBaseMessageViewHolder.onMessageBackgroundConfig (cyclomatic 16): FunChatBaseMessageViewHolder.onMessageBackgroundConfig 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66cee44ab575ebd9211b3199fefde314239d470518596fd60d0ca0688012bcc"}},{"ruleId":"D1","level":"warning","message":{"text":"FunChatView.init (cyclomatic 16): FunChatView.init 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc11b91f39fb765418cd896c88c1fa99282253239a7d7110d8d2d9bde5d6718"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatBaseMessageViewHolder.bindData (cyclomatic 16): ChatBaseMessageViewHolder.bindData 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfa82fb2ffc8f3dc885a3381e91cdb028a2b988ffa5f34a81eef717e3ec481f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatView.init (cyclomatic 16): ChatView.init 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed85fd64b0d20e471f82c31f09ba9e6459498c623b1eb8826ecce19b69c1643"}},{"ruleId":"D1","level":"warning","message":{"text":"CropWindowMoveHandler.adjustBottom (cyclomatic 16): CropWindowMoveHandler.adjustBottom has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (CropWindowMoveHandler.adjustLeft, CropWindowMoveHandler.adjustRight, CropWindowMoveHandler.adjustTop) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24adacc0e792495aa86d5b175029bf9046669b8498484fc1d86e48f8bcbc76c"}},{"ruleId":"D1","level":"warning","message":{"text":"CropWindowMoveHandler.adjustLeft (cyclomatic 16): CropWindowMoveHandler.adjustLeft has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (CropWindowMoveHandler.adjustRight, CropWindowMoveHandler.adjustTop, CropWindowMoveHandler.adjustBottom) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1372c6b1e0d6d69d6689749b9006ac09f5455ec9851d1e68959922dcb05dea9d"}},{"ruleId":"D1","level":"warning","message":{"text":"CropWindowMoveHandler.adjustRight (cyclomatic 16): CropWindowMoveHandler.adjustRight has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (CropWindowMoveHandler.adjustLeft, CropWindowMoveHandler.adjustTop, CropWindowMoveHandler.adjustBottom) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"012cb03d80ad6e6072243c4d682ec508e870db457e331263e0df8f46d0183a27"}},{"ruleId":"D1","level":"warning","message":{"text":"CropWindowMoveHandler.adjustTop (cyclomatic 16): CropWindowMoveHandler.adjustTop has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (CropWindowMoveHandler.adjustLeft, CropWindowMoveHandler.adjustRight, CropWindowMoveHandler.adjustBottom) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a5ab0be82bc151cfcc72be6157994bc25b478cdb22435c65590130925be03d"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseConversationSelectorFragment.initData (cyclomatic 16): BaseConversationSelectorFragment.initData 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d1cf4db80e2c5302aefab8436165eb5e90ff979e63238d36d88c4a8c8db802"}},{"ruleId":"D1","level":"warning","message":{"text":"PageMapImpl.onPoiSearched (cyclomatic 16): PageMapImpl.onPoiSearched has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"locationkit/src/main/java/com/netease/yunxin/kit/locationkit/PageMapImpl.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceac135522a4a4667faea34e6a6ebf019cadbbee3313eaefe10a7c87aabe813"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamMemberListAdapter.onBindViewHolder (cyclomatic 16): TeamMemberListAdapter.onBindViewHolder has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"50164c1a993528ecca9b6a0b3f38e5e8d842a41887442631ab64df1f40a0be94"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamUIService.createTeam (cyclomatic 16): TeamUIService.createTeam 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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/TeamUIService.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"910ca88a54be484eb6240e1ae0e5e6e8bf1bfb3d9b8330e457efb6512f42b627"}},{"ruleId":"D1","level":"warning","message":{"text":"ScaleAttache.onTouch (cyclomatic 16): ScaleAttache.onTouch has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/ScaleAttache.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7939c1a83f32fa27e5056b49363694d0ad043f66a6274e2dec28475ebdf84d67"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseMessageViewHolder.setStatus (cognitive 75): ChatBaseMessageViewHolder.setStatus has cognitive complexity 75 (threshold 15). Drivers by points: if/else 33 (53 pts), ternaries 6 (17 pts), boolean chains 5 (nesting depth added 31). To reduce it, split the body into named stages: move each independent 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b08dea8b0e663def8be7d0306430ce019fdefdcdbf403619c29f088bc10985"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseFragment.initView (cognitive 52): ChatBaseFragment.initView has cognitive complexity 52 (threshold 15). Drivers by points: if/else 24 (46 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ab6ec791fe285e683f4f98f024d02913e8e56230997673575a0d62c7ccab61"}},{"ruleId":"D2","level":"warning","message":{"text":"CropImageView.onRestoreInstanceState (cognitive 49): CropImageView.onRestoreInstanceState has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (37 pts), boolean chains 7, ternaries 1 (5 pts) (nesting depth added 28). 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5912bf61ff0baebddf7674136c0703659508cd8665b51ac98aef38f0b04aab6e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPopActionFactory.getMessageActions (cognitive 48): ChatPopActionFactory.getMessageActions has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (42 pts), boolean chains 6 (nesting depth added 26). 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b49a85c6b9395bdd357237e53a7896eb2f6059534415e3222ccd76edb4d893"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatCallMessageViewHolder.loadData (cognitive 47): ChatCallMessageViewHolder.loadData has cognitive complexity 47 (threshold 15). Drivers by points: if/else 29 (42 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ad90b80bb386ba4923f0c6ceec9f0adbed0a2270866f03656027dd9085b032"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatCallMessageViewHolder.loadData (cognitive 46): ChatCallMessageViewHolder.loadData has cognitive complexity 46 (threshold 15). Drivers by points: if/else 28 (41 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5611dc1684125471d1950203c41f7ff25e8666df159be93753d2315573b3f42c"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomDatePicker.setYearMonthMode (cognitive 46): CustomDatePicker.setYearMonthMode has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (46 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b7c611d6fe7dad426a93b28641dec0511c4d9d93e2f699d1bc886fbd66c289"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamNotificationHelper.buildUpdateTeamNotification (cognitive 43): TeamNotificationHelper.buildUpdateTeamNotification has cognitive complexity 43 (threshold 15). Drivers by points: if/else 31 (43 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba1165624f2ff4ab1f66bc9c6ae5b48a50a5877eb373b8fa0e4700a40d9047d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatTextMessageViewHolder.setMessageText (cognitive 39): ChatTextMessageViewHolder.setMessageText has cognitive complexity 39 (threshold 15). Drivers by points: if/else 22 (36 pts), boolean chains 3 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c34dcacf0f819e84fb801ecc26e3b70952aef9ec710fde91eca7c048703b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"CropImageView.handleCropWindowChanged (cognitive 38): CropImageView.handleCropWindowChanged has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 8 (nesting depth added 19). 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5a9e3931de5f880703d1370702ba9a24e3e5d28c692f4e2f0d3d8a5baf1731"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatTextMessageViewHolder.setMessageText (cognitive 34): ChatTextMessageViewHolder.setMessageText has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (31 pts), boolean chains 3 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fd5173811cd1175d7de67f67f1c32033a5ee663437b57342e1ce8374a4c62f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseFragment.clickMessage (cognitive 34): ChatBaseFragment.clickMessage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc39b2077fc0b9e01ee65f00c02b7391e467bf3f11c0771a3eddc8b8955a436"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageHelper.createMultiForwardMsg (cognitive 33): MessageHelper.createMultiForwardMsg has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 2 (4 pts), boolean chains 2, loops 2 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b59dd9c17904456c623fd5c2a85fd677448604dfad34e644fa7eea6ec9e200d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationBaseFragment.initData (cognitive 33): ConversationBaseFragment.initData has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 3, ternaries 1 (3 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"430ebe80735378be398ec1707c75086f3808f774d764f2ffb550a034c25548b4"}},{"ruleId":"D2","level":"warning","message":{"text":"PageMapImpl.onPoiSearched (cognitive 33): PageMapImpl.onPoiSearched has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 4 (nesting depth added 16). 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":"locationkit/src/main/java/com/netease/yunxin/kit/locationkit/PageMapImpl.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d056b6c7eba4a670f1da5891a864aaca08474469fdb120956691ae6bc64475"}},{"ruleId":"D2","level":"warning","message":{"text":"verify.main (cognitive 33): verify.main has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8, loops 3 (6 pts), ternaries 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":".agents/skills/uikit-prune/scripts/verify.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b37d82897d50c3b1c8ea7697e6fed889cf66953c7d69096cecae3237902710"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseFragment.handleTopMessage (cognitive 32): ChatBaseFragment.handleTopMessage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"0892ce4dcfde2e5e75ec379b06177f6e75f98e6a731a0357200c43a8d3cb47e1"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageCreator.createMessage (cognitive 31): MessageCreator.createMessage has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (31 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageCreator.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f9ff1d47b6e2ae98099121d7d9c69bad10414827defa0be6749f0276d9cb55"}},{"ruleId":"D2","level":"warning","message":{"text":"1.onContactChange (cognitive 31): 1.onContactChange has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (9 pts), boolean chains 2 (nesting depth added 19). 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ef1830df744b29009cd24d580e71b00f0ebd4ef2f228f3d6f5e33dd82c3cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomGestureDetector.processTouchEvent (cognitive 31): CustomGestureDetector.processTouchEvent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (30 pts), match/switch 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/CustomGestureDetector.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9338ec5aaa0bf7d141ba5fbbdae96c1d521183e55a268d54f7cd84b45c260a73"}},{"ruleId":"D2","level":"warning","message":{"text":"FunChatSettingActivity.initData (cognitive 30): FunChatSettingActivity.initData has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 2 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88dd85946d7dfa7084140b475d110a7ce0b3078b56e4d3d492a8d94f1bd50f"}},{"ruleId":"D2","level":"warning","message":{"text":"FunChatSearchImageActivity.loadFetchResult (cognitive 30): FunChatSearchImageActivity.loadFetchResult has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 5 (10 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"08994a987260145d4703c50e797c64510a9d846733a1c8d39a55caaf98618c06"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSettingActivity.initData (cognitive 30): ChatSettingActivity.initData has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 2 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37c53aeb77caad94e51c1fb319182d659cfdbee4acc95667c5eb1bd305bc3f7"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamVerifyViewModel.mergeAndAddTeamUserData (cognitive 30): TeamVerifyViewModel.mergeAndAddTeamUserData has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 2 (5 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcfb6e17323bbff026650ba30ac2276d0d34e2a6822a42180d0b783018bf627"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationFragment.loadUIConfig (cognitive 30): ConversationFragment.loadUIConfig has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 1 (3 pts) (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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22b22a3387756547cce8e12bb43939a8cddc124d3d876bf19f256b9998a1806"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalConversationFragment.loadUIConfig (cognitive 30): LocalConversationFragment.loadUIConfig has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 1 (3 pts) (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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b768405b1ed7b0a39aaffde285163a9db682c86cca7d20d776190bbf2763538"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalConversationBaseFragment.initData (cognitive 30): LocalConversationBaseFragment.initData has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c45b712ec0e239fd3ecebf3674ab36961a9d57039ae0c0d5f4c34cac0a32c7"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamMemberListAdapter.onBindViewHolder (cognitive 30): TeamMemberListAdapter.onBindViewHolder has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (23 pts), ternaries 2 (5 pts), boolean chains 2 (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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"38250f0421f3b09e0de8c508e8e70f7906c103497ce7155ff92ebf10c0596010"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivity.parseAndGoChat (cognitive 29): MainActivity.parseAndGoChat has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 2 (12 pts), boolean chains 1 (nesting depth added 20). 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":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"7034266e78512c7b40703fcd28b0daeb429d7edffa47873d4581c4fa734a4229"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatRichTextMessageViewHolder.bindData (cognitive 28): ChatRichTextMessageViewHolder.bindData has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb51b3403dc23e9ba043f1e4cad06c36661ed1bd6621734cf81dd6df5a465d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseMessageViewHolder.loadNickAndAvatarForOthers (cognitive 28): ChatBaseMessageViewHolder.loadNickAndAvatarForOthers has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (23 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"071e4a34f200a0aaef9e83b0a17b3b728a99399fa4be82e943f146f2d8dafe26"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageBean.initReplyMessage (cognitive 28): ChatMessageBean.initReplyMessage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 2 (10 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 18). 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a36a03889b32123ba58348f7c5ab761e4e7b0b70630565c991a5c2d22ee9b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSearchImageActivity.loadFetchResult (cognitive 28): ChatSearchImageActivity.loadFetchResult has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 4 (8 pts), boolean chains 4 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8281bf32ea1fc5c94479f8158951645ce17ccd0c82956144f8eadf487e053c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatRichTextMessageViewHolder.bindData (cognitive 28): ChatRichTextMessageViewHolder.bindData has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fcbb2fe65ee76d703e7cd903c90132a4e175fe817720c740549f8f77081e80"}},{"ruleId":"D2","level":"warning","message":{"text":"7.onSuccess (cognitive 27): 7.onSuccess has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 1 (4 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 17). 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee64380f1cb6e018e7f6162fe0f3e6ac303c97dc7bd34ce34a940e5c46a19e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageBean.\u003Cinit\u003E (cognitive 27): ChatMessageBean.\u003Cinit\u003E has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 3, error handling 1 (3 pts), ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85d0ac9755bb6ecea574bf5916b9cf81739a4c0302a4165464370cbb397fadb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatForwardMessageViewHolder.bindData (cognitive 26): ChatForwardMessageViewHolder.bindData has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (8 pts), boolean chains 1 (nesting depth added 17). 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a579dab1c9b085528663f427bfb63ff5ad2c03cb132bb3f44dd60c5b8cba199e"}},{"ruleId":"D2","level":"warning","message":{"text":"3.onReeditRevokeMessage (cognitive 26): 3.onReeditRevokeMessage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 2 (nesting depth added 13). 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9da2b28c9367f76473400cbeabcd50600f67313708bb44c3aeb16b36be382d3"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseTeamManagerListActivity.initData (cognitive 26): BaseTeamManagerListActivity.initData has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 3 (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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49f58b6dda0393feac0c6ecf71e1da0ac9e8302eb54d30c6bdf99fcb85bc295"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseFragment.loadConfig (cognitive 25): ChatBaseFragment.loadConfig has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 2 (6 pts) (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff34271819ac0d57f3b961556046fc003349f6bb727b7fcc2ab47d7be78aca5c"}},{"ruleId":"D2","level":"warning","message":{"text":"CropImageView.applyImageMatrix (cognitive 25): CropImageView.applyImageMatrix has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 4 (10 pts), boolean chains 4 (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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c2b0395a20e1112ed8ec21c9ba1de4a63cc2d74056f0041d9375dc283f67b2"}},{"ruleId":"D2","level":"warning","message":{"text":"EllipsizeUtils.ellipsize (cognitive 25): EllipsizeUtils.ellipsize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/EllipsizeUtils.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"251510054108d7120ef7595760f4659431b1113f60bb6f06a4e73e16e7827042"}},{"ruleId":"D2","level":"warning","message":{"text":"EllipsizeUtils.ellipsizeByKeywordInner (cognitive 25): EllipsizeUtils.ellipsizeByKeywordInner has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 3 (4 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/EllipsizeUtils.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f436366bfcbce33779b72bb34079c6f52f2b27083689cbf4b660fc3b2cd59d7"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageUtils.convertToPushConfig (cognitive 24): MessageUtils.convertToPushConfig has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (22 pts), error handling 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/utils/MessageUtils.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1d51d3cb875e8dba7b89fe6a720357089944a53b7343bedd711cb6934cd839"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamUserManager.getNickname (cognitive 24): TeamUserManager.getNickname has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 8, ternaries 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d1d22be7081111db37aa0e5ca487446627f80765480c44a52ee17dc2ec4d10"}},{"ruleId":"D2","level":"warning","message":{"text":"FunChatSearchFileActivity.onMessageDeletedOrRevoked (cognitive 24): FunChatSearchFileActivity.onMessageDeletedOrRevoked has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b44c393db2675ed01eb34054f3f4ba74c80bec3c4daa59f2c6198709510a3d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSearchFileActivity.onMessageDeletedOrRevoked (cognitive 24): ChatSearchFileActivity.onMessageDeletedOrRevoked has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea023c5ac5bcadb58042c969342a25eae1559b99bd222493b0fc962ced7c16f"}},{"ruleId":"D2","level":"warning","message":{"text":"PickerView.onTouchEvent (cognitive 24): PickerView.onTouchEvent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/PickerView.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"023a01d841bdfd26cfe716acbd17789c06f89dfcf1fd78977faf7546e4b921f5"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseConversationSelectorFragment.initData (cognitive 24): BaseConversationSelectorFragment.initData has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c653a3efa9033765ff772bd1fe3ec24e5e5e22b6a43a30d0b59efa97a1fa3e6c"}},{"ruleId":"D2","level":"warning","message":{"text":"FunTeamMemberListAdapter.onBindViewHolder (cognitive 24): FunTeamMemberListAdapter.onBindViewHolder has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 2, ternaries 1 (2 pts) (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, 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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdf7e375c6ba35b8e364d8fce947a283ff18860dfeca3e28345deba6a3aa136"}},{"ruleId":"D2","level":"warning","message":{"text":"ScaleAttache.onTouch (cognitive 24): ScaleAttache.onTouch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/ScaleAttache.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed1e45cece8ab3051eed2bee4c3362f5782af4b97d148c1fda89c8fb0936af2"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatTextMessageViewHolder.updateOperateView (cognitive 23): ChatTextMessageViewHolder.updateOperateView has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39b91ed8e6f322ca97958a9d964b21d3f9afc791147e798ff4bd9d49beacf36"}},{"ruleId":"D2","level":"warning","message":{"text":"CropWindowMoveHandler.adjustBottom (cognitive 23): CropWindowMoveHandler.adjustBottom has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (CropWindowMoveHandler.adjustLeft, CropWindowMoveHandler.adjustRight, CropWindowMoveHandler.adjustTop) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"834f4421f0a2f35525de18451d8f14b74e29552a2aecb010d898cfb708782310"}},{"ruleId":"D2","level":"warning","message":{"text":"CropWindowMoveHandler.adjustLeft (cognitive 23): CropWindowMoveHandler.adjustLeft has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (CropWindowMoveHandler.adjustRight, CropWindowMoveHandler.adjustTop, CropWindowMoveHandler.adjustBottom) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"112db3e7fd8354f08475b2bf7f8794b08884660bc94c9e4a6751d9cc1da27de8"}},{"ruleId":"D2","level":"warning","message":{"text":"CropWindowMoveHandler.adjustRight (cognitive 23): CropWindowMoveHandler.adjustRight has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (CropWindowMoveHandler.adjustLeft, CropWindowMoveHandler.adjustTop, CropWindowMoveHandler.adjustBottom) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"67090616a811b5960b56dcef80ea775417d20f2439e21e1dc886ec5a08ecb1fd"}},{"ruleId":"D2","level":"warning","message":{"text":"CropWindowMoveHandler.adjustTop (cognitive 23): CropWindowMoveHandler.adjustTop has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (CropWindowMoveHandler.adjustLeft, CropWindowMoveHandler.adjustRight, CropWindowMoveHandler.adjustBottom) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26a76ddc03aec6bbdb26bb0b924945c3754cb5baa53bdff5f4a9c9ab70bae1a"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseUserInfoActivity.initData (cognitive 23): BaseUserInfoActivity.initData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/BaseUserInfoActivity.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b313a2d9b13f7e9f4d903a173fc07e3ee93fd357e4b316afb418eecebca9c3"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamVerifyBaseFragment.initData (cognitive 23): TeamVerifyBaseFragment.initData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, ternaries 1 (4 pts), loops 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyBaseFragment.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c87c21dce07cd5731445dde848615ea2c0523d0bb015c972183bbcbdb8d5265"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationCustom.customContentText (cognitive 23): ConversationCustom.customContentText has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4878b5c83b87951ec95c406209ae81e1092e86d4643e5b1d991f6fbc17205d"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalConversationCustom.customContentText (cognitive 23): LocalConversationCustom.customContentText has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"409018b152a108741ef2f905f5dde77f644186243f7b9971e64f97544652eb60"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageUtils.generateAIHelperInfo (cognitive 22): MessageUtils.generateAIHelperInfo has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (5 pts), boolean chains 4, loops 2 (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":"app/src/main/java/com/netease/yunxin/app/im/utils/MessageUtils.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0036f20371bba8e198c464c0a433850861ac99f40d890cae34a83c71d13e559"}},{"ruleId":"D2","level":"warning","message":{"text":"BotSubSessionUtils.getMessageSummary (cognitive 22): BotSubSessionUtils.getMessageSummary has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 3 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionUtils.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c193cbd9686327382faf846b4c13cd4a9247e96121d8c9d5cd7251ff637047"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageHelper.saveLocalRevokeMessage (cognitive 22): MessageHelper.saveLocalRevokeMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (6 pts), error handling 2 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff702bb02b93ac1f02d3bde484d18490113d61dd7ae312553f567f9d90b9f4a4"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageOperateUtils.buildMediaMessage (cognitive 22): MessageOperateUtils.buildMediaMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), error handling 3 (5 pts), boolean chains 2 (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, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7e9ff99acf1cb3eb487bf09a2dd8f2873e210f90356720fb683d4d37dc5849"}},{"ruleId":"D2","level":"warning","message":{"text":"FunChatTeamFragment.initDataObserver (cognitive 22): FunChatTeamFragment.initDataObserver has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 3 (4 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48a450ce1deb0a8201c51de403e44e111ab00f38de0c55b2deb3ce915f56424"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatReaderBaseFragment.initData (cognitive 22): ChatReaderBaseFragment.initData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatReaderBaseFragment.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02198eab65526e2969b14024d4161924170f981991e6ea82f8ca16bffae36ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactListView.addFriendData (cognitive 22): ContactListView.addFriendData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (5 pts), boolean chains 3 (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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/ContactListView.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3ea3e8f6917f5078e78493886a2981ade584479f6dd62523df03eef95839be"}},{"ruleId":"D2","level":"warning","message":{"text":"11.onSuccess (cognitive 22): 11.onSuccess has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 1 (3 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 13). 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d12e5c5186f2b28dd988ee356eee1e98a922266ca0f04b315a247f2c6344e4"}},{"ruleId":"D2","level":"warning","message":{"text":"11.onSuccess (cognitive 22): 11.onSuccess has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 1 (3 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 13). 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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e4bd4ab54885937811dfa7eda076daab8d0f5b35a3872ff845a04aa12bff93"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamUserManager.getAllTeamMembers (cognitive 21): TeamUserManager.getAllTeamMembers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, loops 1 (2 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e858b3647f177c1256faf1a95a0963547c0f18daa3e5460aef6b696d64246d63"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatUserCache.getUserNick (cognitive 21): ChatUserCache.getUserNick has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, ternaries 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b94d25573607b1e101758bdb3f39eb2b3f9b54cf2ab76d1c13c111a2da6852"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageOperateUtils.splitTextByAtMentions (cognitive 21): MessageOperateUtils.splitTextByAtMentions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 4 (5 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9b8b498ab07bb96a9eb2382609a8093448d5ef5ca68a46c183f9bfca35729e"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageOperateUtils.translateMessage (cognitive 21): MessageOperateUtils.translateMessage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74b2bee921ff46e71f660dfa07f937d61be75b5ae70387fb2dee46acfcae3d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatTextMessageViewHolder.updateOperateView (cognitive 21): ChatTextMessageViewHolder.updateOperateView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cdf63925f9817ee8542652ac81ed211b80d895251227123c0d4e33d56c857f"}},{"ruleId":"D2","level":"warning","message":{"text":"6.onSuccess (cognitive 21): 6.onSuccess has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 1 (3 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 13). 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5aeef55b092b95433d02ee54d703d4b278f06714366352c5148706ff911e5f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseMessageViewHolder.onMessageSignal (cognitive 21): ChatBaseMessageViewHolder.onMessageSignal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"52481af1010234d3f5434e4ff1b05ebeb9af9750d0a885805c5862dda5e51756"}},{"ruleId":"D2","level":"warning","message":{"text":"CropOverlayView.calculateBounds (cognitive 21): CropOverlayView.calculateBounds has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 6 (9 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropOverlayView.java"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d74f43fe3e6f0105325254d2d8814619a491eb5591768287e4879fae9deaaa9"}},{"ruleId":"D2","level":"warning","message":{"text":"FunTeamVerifyInfoViewHolder.onBind (cognitive 21): FunTeamVerifyInfoViewHolder.onBind has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (20 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e2679866159d03d894d25f9f40c773af43be8d5bcb7e97b8056d0cbd776d56"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseForwardSelectorActivity.initData (cognitive 21): BaseForwardSelectorActivity.initData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseForwardSelectorActivity.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23bbb88617472781c2d032e780f77551bbc4fbd1734795e686770bedebe380a"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamVerifyInfoViewHolder.onBind (cognitive 21): TeamVerifyInfoViewHolder.onBind has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (20 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab4aadbb0cc8d9cd2af178ad63fb88984f75b6ae4898e5ee1f4ef06688fba10"}},{"ruleId":"D2","level":"warning","message":{"text":"FriendVerifyBaseActivity.initData (cognitive 21): FriendVerifyBaseActivity.initData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df45f29c0df177cccc198378721bacab81018514d8bde3f46915f12af2b436e"}},{"ruleId":"D2","level":"warning","message":{"text":"FriendVerifyBaseFragment.initData (cognitive 21): FriendVerifyBaseFragment.initData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"827af0d6954aea71940ad2f602cd7e53ef292dad5b25ee4f9418b7990d377376"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageSearchUtils.groupMessageByMonth (cognitive 20): MessageSearchUtils.groupMessageByMonth has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (6 pts), error handling 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageSearchUtils.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54070a0ca47a6e7f87606c404297ce11a9f5b5f2e7703bd58bc9103a30b8212"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchTextMessageDialog.getRootView (cognitive 20): WatchTextMessageDialog.getRootView has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/WatchTextMessageDialog.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbad605b476fe62e95fbda2de5a78d06fc2d22fc42de4a71c238cb5a1392409"}},{"ruleId":"D2","level":"warning","message":{"text":"FunChatView.init (cognitive 20): FunChatView.init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca0c10ebb8b7f73cd787e80d5594d1980d8b4d2c29ea232261f0010cff9ad0a"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageBottomLayout.init (cognitive 20): MessageBottomLayout.init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bc4c16a8f713852ddfc5ffc124f1f0540c0da89f3a0980f488cfff09253bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSearchViewModel.loadSuccess (cognitive 20): ChatSearchViewModel.loadSuccess has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (6 pts), boolean chains 2, ternaries 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchViewModel.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"736066d65438d033b0f72e2f4d7d3aca2a45bd001a9de7501c2679f891388743"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatTeamFragment.initDataObserver (cognitive 20): ChatTeamFragment.initDataObserver has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts), boolean chains 3 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ac1993a3d2e0c6d2417cf32cfb6731ff5f9b15bdefe1f91e59eb9c0538af09"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatForwardMessageViewHolder.bindData (cognitive 20): ChatForwardMessageViewHolder.bindData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c53f42331942ef1b75a0e1c40721e870427d939bd416e60c7ad30ecce9b378"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatView.init (cognitive 20): ChatView.init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ffd06fc2bc7796b4b4002aa3e293c5033f2ed1471e5b24a4fc0fbd2776ccb4"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexBarDataHelperImpl.sortSourceData (cognitive 20): IndexBarDataHelperImpl.sortSourceData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"95de610335e40c6757e45e8671f8540872870a3ab3dcc1edf90354acb489ecca"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseContactFragment.loadTitle (cognitive 20): BaseContactFragment.loadTitle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (20 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43ea5b58cc876afb93ea2088f5062ef3627a2f701696a87b26a2aa795c1dde8"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseFriendSelectorFragment.initData (cognitive 20): BaseFriendSelectorFragment.initData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, loops 1 (3 pts) (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, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"282bf49c79cfd93ace140de938d0b77c468f6a9122f59069acaa220d3ab2ddd1"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseTeamSelectorFragment.initData (cognitive 20): BaseTeamSelectorFragment.initData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, loops 1 (3 pts) (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, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a317617b0c32aaa08b62d72d1e2ca96ae2492ac7277c3e5dd14813cf19b829"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexBarDataHelperImpl.sortSourceData (cognitive 20): IndexBarDataHelperImpl.sortSourceData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dccfbdbeac508f13ffacd3a90f0bc7b849a6b59f7eb9f5e7468cca2557b721"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactFragment.loadTitle (cognitive 20): ContactFragment.loadTitle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (20 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/contact/ContactFragment.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73ce1fdefa901b399c03973b8e4dabf3c78c99e85a545635a4b3de19625f4cd"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationGroupViewModel.filterCurrentGroup (cognitive 20): ConversationGroupViewModel.filterCurrentGroup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb70d8461713ac6f29360473daac2a717331298eff591fbfe3a23720640129f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationViewModel.dynamicSubscribeConversation (cognitive 20): ConversationViewModel.dynamicSubscribeConversation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6059f2d574f517ec870631783cf1681ddaf60c57df39a6a89e93ffc0c36e5c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationViewModel.dynamicSubscribeConversation (cognitive 20): ConversationViewModel.dynamicSubscribeConversation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a95025db8e6e3bf2c20f851e16d4a6902364dea3979de5beb290576ceba27a"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseTeamMemberListAdapter.removeData (cognitive 20): BaseTeamMemberListAdapter.removeData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 2 (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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"834b8962dbb33a63b24b457b0c7df08a682ea3de63c6dc01e6491a083c505a0b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatUtils.havePermissionForTopSticky (cognitive 19): ChatUtils.havePermissionForTopSticky has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, error handling 1 (3 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52e6205f671ec2fc92384dc5812e59adc7747fe16e4a0735701c704064a2cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"FunChatBaseMessageViewHolder.onMessageBackgroundConfig (cognitive 19): FunChatBaseMessageViewHolder.onMessageBackgroundConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88c8c2c9a28b73efa85d130c71723c734e47c5414235fac1f20ac1474ac4ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseFragment.onRevokeMessage (cognitive 19): ChatBaseFragment.onRevokeMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"8012fd1add70b1240a7b8ef898a4c143ad556bc8c651174a9077fa29e4a65b74"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseViewModel.findQuickComments (cognitive 19): ChatBaseViewModel.findQuickComments has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22f8786297acf4e64e8e03ec8ff43c65cd1623ea366c2e8004d12e59ce84210"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPinBaseActivity.initData (cognitive 19): ChatPinBaseActivity.initData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8439e08bae7526071ebd91ea024a4d66e08010224454f778de06d98985546b"}},{"ruleId":"D2","level":"warning","message":{"text":"AitManager.afterTextChanged (cognitive 19): AitManager.afterTextChanged has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitManager.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"598f75733bd6afe82690f8c65204ccf6973bd4a1b95af7336652db84fee72a74"}},{"ruleId":"D2","level":"warning","message":{"text":"CropOverlayView.fixCropWindowRectByRules (cognitive 19): CropOverlayView.fixCropWindowRectByRules has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropOverlayView.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ada9536afc383b57fdb5c9356cb9211990ae2726410df577736dd44581ada8"}},{"ruleId":"D2","level":"warning","message":{"text":"3.onSuccess (cognitive 19): 3.onSuccess has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 pts), boolean chains 1, ternaries 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. This shape REPEATS in the file: one other method here (4.onSuccess) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"760f36edf32e11d6fad9d4f68a23395c14209af13e0e4b613fbc93a9dfc07f83"}},{"ruleId":"D2","level":"warning","message":{"text":"4.onSuccess (cognitive 19): 4.onSuccess has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 pts), boolean chains 1, ternaries 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. This shape REPEATS in the file: one other method here (3.onSuccess) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba0ddf19aba9d4e21d491ba004d7dbf8052a98723c00593a9d0fe55484c1792"}},{"ruleId":"D2","level":"warning","message":{"text":"FunConversationBaseViewHolder.loadUIConfig (cognitive 19): FunConversationBaseViewHolder.loadUIConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (19 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fba3d4a415fa9f2678702632d27c2d3dbee5a472b7ae47795c3f23753d4764"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationBaseViewHolder.loadUIConfig (cognitive 19): ConversationBaseViewHolder.loadUIConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (19 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9d6af15b9d4aaa349044fe5451a78750f5a58ccbffdfc4c951214e8841034d"}},{"ruleId":"D2","level":"warning","message":{"text":"FunConversationBaseViewHolder.loadUIConfig (cognitive 19): FunConversationBaseViewHolder.loadUIConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (19 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb4804c2e24b78548815b0b4429507f752d37b6f438bcfcf60efb737b2b28c6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationBaseViewHolder.loadUIConfig (cognitive 19): ConversationBaseViewHolder.loadUIConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (19 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ed77cc32b7ef857ce8103f17bacc1515f349c335b8b911e3d3c4272dbd29de"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseTeamMemberListAdapter.getSecondaryName (cognitive 19): BaseTeamMemberListAdapter.getSecondaryName has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 5 (6 pts), boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa0043376d76e30a988ce43c1d1a02c722aacb28253db54c514a94a90b7e951"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamUIService.createTeam (cognitive 19): TeamUIService.createTeam has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 6 (7 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/TeamUIService.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa23eea1b52653b1cfcaeb7d40bc4a26e6e9b3ba36a46551181058b479f5b915"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamUserManager.getTeamMembers (cognitive 18): TeamUserManager.getTeamMembers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2d530c3c5a4f80b88913683b2ed80098f94a3282d61d0d3e37abc357ba1d71"}},{"ruleId":"D2","level":"warning","message":{"text":"8.onSuccess (cognitive 18): 8.onSuccess has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3433289b2f6797d6978264d088a862e2f2206a5e8f5f82533debb4427128fc"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageHelper.replaceEmoticonsAndHighlight (cognitive 18): MessageHelper.replaceEmoticonsAndHighlight has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffa4905768006f0076305ddcf289bed1e93964318479a36017e231b2895f6c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatThumbBaseViewHolder.onLayoutConfig (cognitive 18): ChatThumbBaseViewHolder.onLayoutConfig has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 2 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bff8dc88acd82b49a3e8bf848ab3ab487a46922a7da6edc7f2cbeb76c30591"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageGridAdapter.onBindViewHolder (cognitive 18): ImageGridAdapter.onBindViewHolder has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4538057cebce7adbbc64272cadfc2c3d87093c0074efd7b789c523888200a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageGridAdapter.onBindViewHolder (cognitive 18): ImageGridAdapter.onBindViewHolder has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 10). 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"277258eb2ef420102fa2e268a5574e4e765a6b47d89afa3c57d5551e319ab5da"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseMessageViewHolder.bindData (cognitive 18): ChatBaseMessageViewHolder.bindData has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6530f4431dfeb1bb4d1c1d4c4e0f9a5783073754b44e96b2673692640eca9e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessageListView.onScrollStateChanged (cognitive 18): ChatMessageListView.onScrollStateChanged has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ChatMessageListView.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e828084a234d0e4e177dec39bcabf2689c2ffb67bcb43ab85987204b46ce31"}},{"ruleId":"D2","level":"warning","message":{"text":"AitService.parseMessage (cognitive 18): AitService.parseMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitService.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b47107cb284a27f062113623af22b2f2efef8ac0164bf96a5214c54bcb1def2"}},{"ruleId":"D2","level":"warning","message":{"text":"PhotoView.scale (cognitive 18): PhotoView.scale has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc86987b094c0d9954e7144c4dca20d7ffb1828e741b953c392b940229cda069"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPopMenu.showWindow (cognitive 18): ChatPopMenu.showWindow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/popmenu/ChatPopMenu.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"995eb8d5a1e237915b0950f91c5d82b3aed7fdce197334006099c375090dc424"}},{"ruleId":"D2","level":"warning","message":{"text":"CropImageOptions.validate (cognitive 18): CropImageOptions.validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageOptions.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be453300563b81ca813f706815e33be1e0cf31d5963460d1a6da81d56e43295"}},{"ruleId":"D2","level":"warning","message":{"text":"SuspensionDecoration.getItemOffsets (cognitive 18): SuspensionDecoration.getItemOffsets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (8 pts), boolean chains 2 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5581b8bb94ac27b961abbe3a6a5d7f7c06c01aeaa98d35cd320c8e07e99c8837"}},{"ruleId":"D2","level":"warning","message":{"text":"SuspensionDecoration.getItemOffsets (cognitive 18): SuspensionDecoration.getItemOffsets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (8 pts), boolean chains 2 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f81c1d82c1afb08ff54c77bc758927e6a10449c6d145b794b262e4d92bb2bb"}},{"ruleId":"D2","level":"warning","message":{"text":"FriendVerifyViewModel.mergeSystemMessageList (cognitive 18): FriendVerifyViewModel.mergeSystemMessageList has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (5 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9320c890c431bcdba6cd531ed5beeff85e5ce861335d6d2ad88520ffb6d1e68f"}},{"ruleId":"D2","level":"warning","message":{"text":"FunConversationFragment.loadUIConfig (cognitive 18): FunConversationFragment.loadUIConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf88f07e5cbea3c35bbeb5b00221f3c7f7bfd98197552218592d6e87b3f70c9b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationBaseFragment.renderConversationGroupList (cognitive 18): ConversationBaseFragment.renderConversationGroupList has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"5462cedf396726b8f43c8212735fc0735a1fb7b277fd9b017d8d6d085ef0fc2b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseTeamMemberListAdapter.updateDataWithComparator (cognitive 18): BaseTeamMemberListAdapter.updateDataWithComparator has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (8 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4986be8b8ac87483f36db5b07b837dd663793ea01e5acb667e048ea703dd7b2a"}},{"ruleId":"D2","level":"warning","message":{"text":"plan.skin_candidates (cognitive 18): plan.skin_candidates has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (6 pts), boolean chains 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":".agents/skills/uikit-prune/scripts/plan.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"929902b7a260112d77418086c9acc2b6c55f0662255b03872bd785cab26383f3"}},{"ruleId":"D2","level":"warning","message":{"text":"LanguageSelectActivity.selectLanguage (cognitive 17): LanguageSelectActivity.selectLanguage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 2 (8 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/LanguageSelectActivity.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de277653ce5777bf2d435d2958eb9dcd30ffa2c8dd6200c86ee9b46172aba85"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamUserManager.getTeamMemberWithRoleListFromCache (cognitive 17): TeamUserManager.getTeamMemberWithRoleListFromCache has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"043ae6cdf78eb7fc8231998ca9e3ad78a2601c7ec17bfd962bdd6acd07595a9c"}},{"ruleId":"D2","level":"warning","message":{"text":"FunAitContactAdapter.filter (cognitive 17): FunAitContactAdapter.filter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f3b4a2611117085191aa59d1570fef307871c1721cd0431a5854ab5addbe2d"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageBottomLayout.initView (cognitive 17): MessageBottomLayout.initView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c1dcd322ba96559396b7c9085877e615c23ff360f5f0160c11e7b79bddc064"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseFragment.onPinedMessageListChange (cognitive 17): ChatBaseFragment.onPinedMessageListChange has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (5 pts), boolean chains 3 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":2544}}}],"partialFingerprints":{"codehealthFindingId/v1":"259f1091103f3d10bff7f0d74fd6f567930025ec9abe98acbc6a1ce66e2eac3c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSearchImageAdapter.removeSingleMessage (cognitive 17): ChatSearchImageAdapter.removeSingleMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 2 (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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ad5d4d5ca956a14fe5802417a379cf48f37b14b0bb9326a13c7a8d6b30fe14"}},{"ruleId":"D2","level":"warning","message":{"text":"9.onSuccess (cognitive 17): 9.onSuccess has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ba39a2f39dc2d20a44030d0b22c3d3bab40953761897eb6abef7ecf7646266"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseMessageViewHolder.setTime (cognitive 17): ChatBaseMessageViewHolder.setTime has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edbf1733628d415c1345478bed1cabf433bba7539f4dc3eac53fac19895905c"}},{"ruleId":"D2","level":"warning","message":{"text":"AitService.removeAitInfo (cognitive 17): AitService.removeAitInfo has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitService.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa0bcb207b0e50bfb229211e7371300e983d60eb25bf9b2a53533b271324405"}},{"ruleId":"D2","level":"warning","message":{"text":"NormalAitContactAdapter.filter (cognitive 17): NormalAitContactAdapter.filter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6177be11d1dee75d94eb6c1a6ad2207a1b95042d2c3f9ff1dac7b9171a4048df"}},{"ruleId":"D2","level":"warning","message":{"text":"CropOverlayView.drawBackground (cognitive 17): CropOverlayView.drawBackground has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropOverlayView.java"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fdafd75fbd3341629944c571f6bc4289091fc5e543047ac096d553cd0b443d"}},{"ruleId":"D2","level":"warning","message":{"text":"EllipsizeUtils.highlight (cognitive 17): EllipsizeUtils.highlight has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, loops 1 (2 pts), ternaries 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/EllipsizeUtils.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e357efdbaa2fbcaa5f534062cc029949f9c7eed05f3d2a7a46493358373fa96d"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseRobotBindActivity.loadData (cognitive 17): BaseRobotBindActivity.loadData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (8 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotBindActivity.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ef65ff2a85c1978cd1a93e9440e2d72f28c8af0cdcaec72be316170e6bd1df"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseTeamProfileActivity.bindTeamData (cognitive 17): BaseTeamProfileActivity.bindTeamData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamProfileActivity.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9578d2802a4735f3e25993b53bf09064f9a78d43b442c3c5a0393fb251aafb32"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerConfigUtils.autoAdjust (cognitive 16): ServerConfigUtils.autoAdjust has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigUtils.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb47c946cb7184112ffb70671084c13cbb860dba176dc6852eb0347ebec5255"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatUtils.truncateString (cognitive 16): ChatUtils.truncateString has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"6735f9c44136accb65253647493b7b0e050d7d33d40cd0d8a3d16cb5afbccf98"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageBottomLayout.setMute (cognitive 16): MessageBottomLayout.setMute has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (6 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f40e0c60eeb30b92ad2cf917d8d6b229b5937d161d243025b45c1ce742c187d"}},{"ruleId":"D2","level":"warning","message":{"text":"1.onDataSync (cognitive 16): 1.onDataSync has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, ternaries 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f94abe7ae220d45eb713fffa374773a06629ed8db7ec21b78541a73da94d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBaseMessageViewHolder.setStatusCallback (cognitive 16): ChatBaseMessageViewHolder.setStatusCallback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f16a733e58ce75000deeec79f1bf0ee428f289a7a58528057377a1336656a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslateRunnable.run (cognitive 16): TranslateRunnable.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 3 (5 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e443e8ccdffc1bcacdabb9343324abfcfb310d9016a260c49ce7a8a4424970"}},{"ruleId":"D2","level":"warning","message":{"text":"NormalChatBaseMessageViewHolder.onMessageBackgroundConfig (cognitive 16): NormalChatBaseMessageViewHolder.onMessageBackgroundConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c58059c452ca37e98e8e07742e1f91488224798cc3aca64674b414142a92609"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapUtils.resizeBitmap (cognitive 16): BitmapUtils.resizeBitmap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapUtils.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"227833c19637cea130a0395b1146c5ca8934741c73f5ac9f826d4706df6d80db"}},{"ruleId":"D2","level":"warning","message":{"text":"CropImageView.onMeasure (cognitive 16): CropImageView.onMeasure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aee9bd126cb008b77b968fbcc9fe0cad3c1cd3d48630b68c0647c676356165"}},{"ruleId":"D2","level":"warning","message":{"text":"FunVerifyInfoViewHolder.onBind (cognitive 16): FunVerifyInfoViewHolder.onBind has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39fd1f92d45807a88ce361468d93160597272c4af2a91fb467b5c51dd2a828a"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAIFriendSelectorFragment.initData (cognitive 16): BaseAIFriendSelectorFragment.initData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 1 (3 pts), boolean chains 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, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeef9a461a00273a391d5be10f7c5395951e99f8d3d27a5eca8abdceb3d5b547"}},{"ruleId":"D2","level":"warning","message":{"text":"VerifyInfoViewHolder.onBind (cognitive 16): VerifyInfoViewHolder.onBind has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7590bfe816c8e724d5a685251fe956c476cdc68f234ea488472a2af9ea621bcc"}},{"ruleId":"D2","level":"warning","message":{"text":"FunConversationFragment.initView (cognitive 16): FunConversationFragment.initView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 4). 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80a775178ebfdfd47de23823809e98a803c706489479ad46095485632023ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationFragment.initView (cognitive 16): ConversationFragment.initView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 4). 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5372420fdaf474327f13bc1d3bf0f13f91b00ad7cd4b6dd81761ed51ddd4be"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationGroupViewModel.syncSelectedCustomGroupConversationCache (cognitive 16): ConversationGroupViewModel.syncSelectedCustomGroupConversationCache has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad507bd8b453935758ab2f50bbb0afd801152a201406b57ab01ceb0ebd5e04f"}},{"ruleId":"D2","level":"warning","message":{"text":"3.onSuccess (cognitive 16): 3.onSuccess has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2671d2f682c00271467fc387afd3a568e5e83e4a4bc6c0b157b57391db6d128"}},{"ruleId":"D2","level":"warning","message":{"text":"FunLocalConversationFragment.initView (cognitive 16): FunLocalConversationFragment.initView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 4). 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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"189db4ad2026d8efbd3339fae2bbd2d64fb897e93631ea328952ef90fdaeb227"}},{"ruleId":"D2","level":"warning","message":{"text":"FunLocalConversationFragment.loadUIConfig (cognitive 16): FunLocalConversationFragment.loadUIConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e8c105f53861c8da117774fe7f64d48d011f627a566b740a8c2ecbd2869d12"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalConversationFragment.initView (cognitive 16): LocalConversationFragment.initView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 4). 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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62ac2fc9fd7a15eb3c6b1dc5569f2f4d40659f870a4df7c137eaf6440a9ec62"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationViewModel.checkConversationNameAndRequest (cognitive 16): ConversationViewModel.checkConversationNameAndRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c5dd6f908624fa42c502d1d681adcc2a2faa384cb081ce067217896b55980c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatBaseFragment: ClassTooLong \u2014 2079 significant lines (blank, comment-only and punctuation-only lines excluded), 96 methods. The bar is 400 significant lines; this is 1679 over it, 5.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3876cd850873596b7e602d01c873a32ebe6d2212a1f43f731da8976419cffa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fragment/ChatBaseFragment.java: FileTooLong \u2014 2213 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ChatBaseFragment (142-3091). The bar is 500 significant lines; this is 1713 over it, 4.43\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a39879c263e32db0ecc3088934f152a424d2095aa0f510e940ebd25e29b1e2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatBaseViewModel: ClassTooLong \u2014 1313 significant lines (blank, comment-only and punctuation-only lines excluded), 98 methods. The bar is 400 significant lines; this is 913 over it, 3.28\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8721c372b9083622015801bc7d36f2675041a2ac52725c1cbcafa8239f94e13a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatBaseViewModel: TooManyMethods \u2014 98 methods. The bar is 30 methods; this is 68 over it, 3.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"148defd498e53a6d142398f8e974a8ad126902bceaf2d1cf50265fbe99508b49"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatBaseFragment: TooManyMethods \u2014 96 methods. The bar is 30 methods; this is 66 over it, 3.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed53f112bbb2c8416d0fcb61df5c57f38b64be83cb15e94332fe5e5026a2735"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/ChatBaseViewModel.java: FileTooLong \u2014 1404 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ChatBaseViewModel (100-2046). The bar is 500 significant lines; this is 904 over it, 2.81\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d79495d86759f305a9e770e030576b166c4fa828e5b05c3c03fea469d2417e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageHelper: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"40af416109542c9b5e9b08377c559e403c3f122e0a4ed8cba2f12cc40efff607"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CropImageView: TooManyMethods \u2014 81 methods. The bar is 30 methods; this is 51 over it, 2.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d07da15edcf71557e96f76c3934c278ece419c0d005319fdffa44667e480be1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageHelper: ClassTooLong \u2014 1066 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 666 over it, 2.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5836dab0f210b47592795d21e38612c7359c0d464aa0da30164f3d380ad33a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConversationGroupViewModel: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4bbaee408ee417577c2327c35e8bcb96c06e2f06b23c837a1f3b51f2e5b94c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/MessageHelper.java: FileTooLong \u2014 1154 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: MessageHelper (97-1965). The bar is 500 significant lines; this is 654 over it, 2.31\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ca73eeefd12d7ffbc6852f0d087f15362bd96499874c77285395e89b187a4a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CropImageView: ClassTooLong \u2014 914 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods. The bar is 400 significant lines; this is 514 over it, 2.29\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c2267a4b41240cbfc563d65484e2e3ef2a8465211a8727f0b2e4c65c0ca1fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatView: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. Most of these members implement interfaces.IChatView (46 of 62 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"05381561e02479ef46af62c8d12e70f206f0d9dd23486166b3a931b6e4409d13"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FunChatView: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. Most of these members implement interfaces.IChatView (46 of 62 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d612888c2f4238cb6633fc9a7501591b965bcba1fb984b1cb46522cc1a36023c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatMessageListView: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ChatMessageListView.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88a3a633fb91f51405a6e95a6a620c0fc29e91a34d7c13b672287d0dbc7bbbe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageBottomLayout: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"366dc45baae225d942fa0c644c21f4dd4894bf3a0565b00356601ac7b31452bf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PhotoView: ClassTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 431 over it, 2.08\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb036b0daf9373e3ea2e75d59d01deaa4a4e56da4209f3b3df1549e717ce5322"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConversationGroupViewModel: ClassTooLong \u2014 810 significant lines (blank, comment-only and punctuation-only lines excluded), 73 methods. The bar is 400 significant lines; this is 410 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"73eb5ec70aab5380cb2706e66071a3b86931f2793ed0433273a5c12479a52aef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageBottomLayout: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"486f2390f3124cbad474adfad82ce0d5cbf8b8f00b2447b25d390201d71b9c1f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PhotoView: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"785295c73ba61c88df4914acc6de32e92a610a7c8fa14f9fc8f7361534db9066"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crop/CropImageView.java: FileTooLong \u2014 939 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CropImageView (35-1984). The bar is 500 significant lines; this is 439 over it, 1.88\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eeb0e30f2038470457a8cb3d194d8e88c6945583cb7e592b9bf545b9258dc8d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatMessageBean: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85a81d2b340dda68c8ef75fe02f2a0c619dd87166757875018738e9b9d3c0e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageBottomLayout: ClassTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 303 over it, 1.76\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78a8f11b9f2776956c6ba801ffaee407d26302250ea800b2240a78fc24a69ff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatBaseMessageViewHolder: ClassTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 299 over it, 1.75\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5290cb86f3b9b171d0dfd1dc860cfe26c8760ef1657a6fcb17de3c2b17300786"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScaleAttache: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/ScaleAttache.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c63a3832486da161dfa662ac06f716c8eb38e9569847a4d2fb3a63cffb23c7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: media/PhotoView.java: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: PhotoView (32-1480). The bar is 500 significant lines; this is 355 over it, 1.71\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"872be33744eceda7b6525d414ce00e5d3ce7976a44c5d51cc087643345914bb4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatBotSubSessionViewModel: ClassTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 281 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"535043487b945d353a6a0f78fde0ff1ed48de88ed40d4d3623778725e1bd28c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/ConversationGroupViewModel.java: FileTooLong \u2014 847 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ConversationGroupViewModel (44-1205). The bar is 500 significant lines; this is 347 over it, 1.69\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b792e067e42753db0e1cc1bb45db4381e300165a3ff7ea5aca96673ab652609d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageBottomLayout: ClassTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 269 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6117c10cb4797087eda6984cea271c79d0b6b754c8a878c61ec8afe8508ba1c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatBotSubSessionViewModel: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e2dd9086c5e66b9072a21685285cf2a80ae83b7dbd2044f036fb98e10d5269"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActivityBuilder: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImage.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4891c4d944e73bf40bcdf2357c1553bddc81a1e6f7dd569a4e7ee2242c2460"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContactSelectorViewModel: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a9927508ea388ffdf22c0da76a987dad6d13538fc92aad79d422e2fde36e2f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatBotSubSessionListViewModel: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e34348ee7d7966c167c65bffe432c5c47e970482f6e2524990cd06f782d4322"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConversationBaseFragment: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd08e1aca2777efb0a5d978ab569f349062a33a9c6544ec625c5e9b687629ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContactSelectorViewModel: ClassTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods. The bar is 400 significant lines; this is 235 over it, 1.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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf9ef7f92e03e083ac7c85759bc9708c3a34649611f9aee291ec048f19a741b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/MessageBottomLayout.java: FileTooLong \u2014 763 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: MessageBottomLayout (73-1131). The bar is 500 significant lines; this is 263 over it, 1.53\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67df11cffa8512f9cfdb7ac3e1e920f68e440d4aab926b2d1d7a453113782654"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MainActivity: ClassTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 201 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"820cd1686cec12a4c478dbcca5961ae3fb50a77a95a60309fe1f53252f7625f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatMessageAdapter: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a620a2c4922f9b634855613fc54a74f776dd0a3df06849a7298a322979311af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatBaseMessageViewHolder: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c5f8233ff9c5210921901def89bba9fa8c3c8dbf3ce0b3734c13d5d2c91e6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewholder/ChatBaseMessageViewHolder.java: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ChatBaseMessageViewHolder (54-1198). The bar is 500 significant lines; this is 245 over it, 1.49\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d262f7a3949aaa592b2fcbbc9244fbf761870c24678657ca5bdd7a510a30ea80"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatBotSubSessionListViewModel: ClassTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 195 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"953f3dfb68434eb13cf0ff45a1e7cb8682bdd1272a380ae3f8ee451f418279b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/ChatBotSubSessionViewModel.java: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ChatBotSubSessionViewModel (67-987). The bar is 500 significant lines; this is 240 over it, 1.48\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f4d8cfa9868805f5e72a5943f50b43bda5ca0d37999aae7d4bdd265c8b2e0a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConversationBaseFragment: ClassTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 186 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0fc81dfe8bbfe0106e5449c64dfd59707f65582119582926c46929291381c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/MessageBottomLayout.java: FileTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: MessageBottomLayout (70-1052). The bar is 500 significant lines; this is 230 over it, 1.46\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f92a478cc493ca9fa8c78d95a2abd6f2f2343dd48f1119568cd9d1c71869c2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CropOverlayView: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropOverlayView.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59fa39ada2abeacd403dc34bfef8a338fa7c3685d1ed7b9e3fc3fe4251730c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConversationGroupNameDialog.show: MethodTooLong \u2014 show runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupNameDialog.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba29141dbf30f70bf717c1e2636423b5089519663eba9ff6e89801552db77904"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: main/MainActivity.java: FileTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: MainActivity (112-968). The bar is 500 significant lines; this is 205 over it, 1.41\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":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ffecc05528fa2750f540c0016d19cb648c1c478dcfec07cba65155a462c6f6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CropOverlayView: ClassTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 159 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropOverlayView.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a5b0f9a2052995503f923260b619c8c7d9376bc47eba0fbcb6cf1844e2b7f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageOperateUtils: ClassTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 147 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e74e4f57bbb0b7e665997529b3fba477edb4c87f1db8af0381db7b2e2f40f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScaleImageView: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/ScaleImageView.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6400664e164fe33f2ad97b8f5bad237abaebb8ae24f0a7074daf5b3d2d4d2aed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConversationViewModel: ClassTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 145 over it, 1.36\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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcf83d3011d8080b88342c171500b2d770bf4b511b0e3f40012fc2b5b1b33a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forward/ContactSelectorViewModel.java: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ContactSelectorViewModel (51-1055). The bar is 500 significant lines; this is 177 over it, 1.35\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dbcaba4ab230cf0b45e9df29a1c6e8ea3f1416b0530bb0417604dbf523cd79"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConversationAdapter: 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c578bdd49a3c417fc0d123f598d73996b9ad1d0e3bf48acf8e7d8b8e60e9c3c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScaleAttache: ClassTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 118 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/ScaleAttache.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"494bfe3d6769cf3f84c12bacb22aa0aa2e1d6383fb7cbe7107c007c77ae48bda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/ChatBotSubSessionListViewModel.java: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ChatBotSubSessionListViewModel (59-901). The bar is 500 significant lines; this is 147 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0040b6b333fc23482b08ef0d777aa6e20fb77c17647a03da533611a62f10f0d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: page/ConversationBaseFragment.java: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ConversationBaseFragment (67-953). The bar is 500 significant lines; this is 141 over it, 1.28\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29d04c38a2883dc91fafd9caed435b14f6c99578b661f7e9cdd1dcc09ca9405"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageBottomLayout.init: MethodTooLong \u2014 init 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e812bada5fb708535873002f4e135677cbc423aa7f5f823f2392747cb36dbe58"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConversationView: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffde5e2390b06146c2c56237bb216b11ef50066033bd8141b29757ae9b144b86"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BitmapUtils: ClassTooLong \u2014 496 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 96 over it, 1.24\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapUtils.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5ad1a2016815a3312aa6b941146830f46d5fd4b6fe7d94dfc1c9cb630a6998"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContactListView: 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/ContactListView.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"520a3b9a119289b04983fed6b366c63c1430191ca734bfa821093341095838b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/ConversationViewModel.java: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ConversationViewModel (78-885). The bar is 500 significant lines; this is 115 over it, 1.23\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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce04f2ee4ee4ab6e94d0f5605a05db02c555ce7fe738a0b5953a25c0433bb3c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConversationViewModel: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 86 over it, 1.22\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4aa42e1f288e7c14903ec56b39a689d0cff715e5e54e92a296cc5ec856e9bd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CustomDatePicker: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 85 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68e8807f7463766a1cfa0f8f8508ced8ead04ce3fef5f7c2ede1ad751ff978b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/MessageOperateUtils.java: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: MessageOperateUtils (67-821). The bar is 500 significant lines; this is 106 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0576f3bd223ba8b9d3ef91a113348931d679bdb8b34f4b2aaef78791eeb49df7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseRecentConversationSelectActivity.createSelectContentView: MethodTooLong \u2014 createSelectContentView runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/BaseRecentConversationSelectActivity.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"345b8a140e36685d6786c44b9b46f855a3939d3761f82194d6ed2cfb7eea63df"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TeamUserManager: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 73 over it, 1.18\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffd0824e1a67274bf4d2dd956bee06c91fff219ca781daef47509f306a719db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FunChatView: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 400 significant lines; this is 68 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bef720db059fc135f1b71ab67d5d7616f0e292b3190047f25f9a5b706d03ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatUtils: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 68 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e933e831bf8b26fb7c887fd40fd29418a73cff4dea1842a082df2442d0951980"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatView: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The bar is 400 significant lines; this is 67 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f01f1e2b0a6bb75a4dced1dd9994c5e8f2cbd98e4d801cc168794c8613ac1de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatUserCache: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5cd0600d124f908ed094997a73787750d203d88c4375634daabe6709b8d79a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crop/CropOverlayView.java: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CropOverlayView (25-1019). The bar is 500 significant lines; this is 74 over it, 1.15\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropOverlayView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6479c0e16effd0e8f8bbfecb683c8cd9695860e94dcd6dd2c2a4bfcdb54ade"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConversationGroupSettingActivity: ClassTooLong \u2014 456 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 56 over it, 1.14\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupSettingActivity.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8379c9869318fc0a10d3df3753440c4b38b274c49c69877273950d5b28117fa3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageOperateUtils.translateMessage: MethodTooLong \u2014 translateMessage runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6767407bd3ed3ee35bb00c8705d0a1677ba117db1ffbb2724fdaebf097134557"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatUtils: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54b92af68706d176dacd92bcb564eeed408bb641a5f3189702fc6277b28db6e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalConversationBaseFragment: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c584b89ea24e5e98391e28f1a836e07f8015f218d92b93c7bed066338fd950"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: activity/BaseTeamSettingActivity.java: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: BaseTeamSettingActivity (71-744). The bar is 500 significant lines; this is 64 over it, 1.13\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb1fb258a1ffd5416e4e9b9d84d9e56eecf94055be30c868c50dbc28e100d55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/ConversationViewModel.java: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: ConversationViewModel (78-804). The bar is 500 significant lines; this is 56 over it, 1.11\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2071f52fc3be5f591e6bd20c3ad9e182e22364aa350ae392e6627cbf6b729f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageProperties: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/MessageProperties.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6736f1fb3136dc5b24d191f22c5b5fc371a4565d98a0fdc4639c025702fc2076"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TeamNotificationHelper.buildUpdateTeamNotification: MethodTooLong \u2014 buildUpdateTeamNotification runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a24cb3d3e3d1625d67542f33951b79f25e8c0558ee591125d439b2d882467ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingUIKitActivity.initView: MethodTooLong \u2014 initView runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/SettingUIKitActivity.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"526f0a05e479cd54d2fe9734b580767166d6a41911e9185c54a0e266f5b60cdd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatBaseMessageViewHolder.setStatus: MethodTooLong \u2014 setStatus runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21b0fb8c03646685431557d2f79813c16428af0b9179070de1f432e68454d93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scaleimage/ScaleAttache.kt: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ScaleAttache (29-854). The bar is 500 significant lines; this is 38 over it, 1.08\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/ScaleAttache.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c949e91c86963c31c8855c641dc5db87edfb7b97d5f0ff4fa2989f57eca75d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/ChatUtils.java: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ChatUtils (65-757). The bar is 500 significant lines; this is 24 over it, 1.05\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa67ea91f3f625be8444e93f60a2141b9e697df0c90a65f4bb594c51baa9bbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crop/BitmapUtils.java: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: BitmapUtils (33-856). The bar is 500 significant lines; this is 19 over it, 1.04\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c47b095c266be41dc80f81923849b30b53bd9bc769e3b8e8c89aafa0a0cb5c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConversationGroupSettingActivity: 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupSettingActivity.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1b49a9293bbb52c5c610a52efe44e66211c632b95e5dcafbc4c624fda46087"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/FunChatView.java: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: FunChatView (55-767). The bar is 500 significant lines; this is 15 over it, 1.03\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a8431bdaf572b13942eb8b7e7f119e2039c91d589958d8c4b1f5b9563dbd0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/ChatView.java: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ChatView (55-772). The bar is 500 significant lines; this is 14 over it, 1.03\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a062a504d68ba88c11c484b796b1fe73cd57fc568230c7d0bb6ba015cd7c01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatBaseFragment.handleTopMessage: MethodTooLong \u2014 handleTopMessage 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a22291b757f7cea827dd0a42236ce547d82d8ff9df34820c7ac7aab266c2ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/TeamUserManager.java: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: TeamUserManager (44-872). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5773d966f78ff322da8984560ed1dbdfaf2b0e4dd8471174b729d845315855f6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CropWindowMoveHandler: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0ec65b54d37a294e953607b40708ce8e1786311f76e19a4eb5eacc21382e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 21 shared lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:58-103 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:106-138 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:38-83 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:86-118 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:38-84 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:87-119 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:38-84 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:87-119 \u2014 These 8 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e318543858449e6d575935bd670590a438d327dc0c699051f88101d60aef5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 35 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:163-265 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:92-147 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:99-161 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:149-251 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:91-146 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:99-161 \u2014 These 6 members are variants of one another: a block of 35 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a9620e222aa1b073010c16dca9f4ba1c744b7649aceb9641f0ffe190e451f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 14 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:114-143 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:56-85 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:63-92 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:107-137 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:55-84 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:63-92 \u2014 These 6 members are variants of one another: a block of 14 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e60add3eb012d455862852be39bbee585bf5019e753a2473a99c7eeee2c9c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 42 shared lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java:58-138 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java:59-137 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunCreateTeamFactory.java:58-138 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/NormalCreateTeamFactory.java:59-137 \u2014 These 4 members are variants of one another: a block of 42 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"64be3056c04ab2d4ead776f3354ce7009cb2ed700ca045afc0755c280a197d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 31 shared lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:61-153 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:53-133 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:68-167 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:53-133 \u2014 These 4 members are variants of one another: a block of 31 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"959c605bf1428357a84aac294b0e1cee56a6f72bb56b7b9e5aff2ec7252bf091"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 24 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:157-186 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:157-186 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:156-185 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:159-188 \u2014 These 4 members are variants of one another: a block of 24 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9052ae98e5addab50cbb6b58619617a51b3684aec9c557485785e8483e6fb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 20 shared lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java:35-72 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java:36-77 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationBaseViewHolder.java:50-99 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java:36-77 \u2014 These 4 members are variants of one another: a block of 20 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a3d23bf0ce56fe82a2d49358c48d0347cd6ec015e7327b5b524ffa6ea3c05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (94 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:139-321 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:118-235 \u2014 These two members are variants of one another: 94 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d0bfe4fe6f45d7316e47413e09be6be234f23c47950c092c5df0100306d9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (79 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:82-203 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:86-204 \u2014 These two members are variants of one another: 79 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6618b245404060ec38030d107ab2f2f6be8d392df3d5f3a975cfa321f031e4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (61 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:149-238 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:120-207 \u2014 These two members are variants of one another: 61 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d65b763bc02b853a15d76b2436ef0549590d25f3b9f231dc38acdbda9182ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (60 shared lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:40-122 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java:38-119 \u2014 These two members are variants of one another: 60 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa8c8b7d8d08b97fbc8bc4968624ef650dbe87201310250f4c37451661c8ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (53 shared lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:288-395 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:268-364 \u2014 These two members are variants of one another: 53 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fcb5c28b0c602b2e075e35351577c4ac0886b8037dd8cf7bf887f1a28a1798"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:81-155 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java:82-157 \u2014 These two members are variants of one another: 48 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42dbca0fbf8bb49a2fe79dfb6475463f0db6cc2a0e9a267f012373e56edd7e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java:59-113 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatLocationMessageViewHolder.java:45-108 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"463c012c1d9082f40f2e49c0be90049319171f9439c646e87b7410dc25af786e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:390-440 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:272-322 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fb0ea1f5750afb32edb75f1ba234019ebd538bacf6de8dc437adc6b22716b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (41 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java:76-135 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:397-466 \u2014 These two members are variants of one another: 41 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f17c3fb881da2cacd6b2195a67ee6b7117462ce1e26219ee9e38c81978d5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:97-156 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java:65-124 \u2014 These two members are variants of one another: 35 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8122ac028ca626fcab22842209ab45a69ae58f53f988859b1587c4607077b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (17 shared lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:79-100 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:79-100 \u2014 These two members are variants of one another: 17 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadc236123eef7b551352d6ea85da048d70e13774ae19d65bb78d97d907c4f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (114 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:37-150 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java:37-150 \u2014 These two members are one piece of code written twice and then edited apart: 114 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"32521cfbfa2b25171c4a4bf45724b09028472f0fce69a292f3869611f8ae8e63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:152-208 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:152-208 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85ecbca5bafd92131e53c9f18640d03c42b277b542d8ac07f7505ec78c77db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java:88-115 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/ChatViewHolderFactory.java:81-113 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3461ebc34186f9967370d011e21097d6b4ca9d6f1c124a8a5f9018dc9b317dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:201-249 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:234-285 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d92ba0243c874b186bbd7a6ebaea9ce7dc1292c63a30f62fb0e10e872c7e09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java:39-68 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BaseBlackListActivity.java:49-91 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"247a4c1380b35466f20c28a239c87a71c2ac8486b8630715d65cd6bf4e6abeda"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java:84-98 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamListViewHolder.java:54-68 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:152-166 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:124-138 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java:81-95 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamListViewHolder.java:51-65 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java:152-166 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java:121-135 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/AIUserViewHolder.java:55-69 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/BlackListViewHolder.java:60-74 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/RobotViewHolder.java:59-72 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fd1a409f4cdef2ed84c719ac4b46feba61d1b312236dfd9a5628e9ba4bf1e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:139-182 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:168-179 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:184-196 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java:150-194 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java:180-191 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java:196-208 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3782c43509ab8a7d0d9288ff713c42bff92e1597c0b1488f9aa14fda947e706"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:312-331 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:188-207 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:188-207 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:277-296 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:187-206 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:190-209 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5c9528b8ac272d217a3897fe63f78e535202748c0383b2395dd0789a3cd670"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:88-120 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java:51-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java:56-79 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java:78-110 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionFileViewHolder.java:50-67 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java:56-79 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cc69c605537cd86e6e673e0f574d798b170483b28bfe292560352fe0a2e338"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:138-151 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java:78-91 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java:97-110 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java:128-141 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionFileViewHolder.java:77-90 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java:97-110 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"47951ec51329f96c1ff28d484cf925cb59fc28f290c9deeb6e78f1829eaab204"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:59-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java:39-69 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java:41-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java:60-125 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionForwardViewHolder.java:39-69 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java:39-72 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc38dea6b818ee74a707457df8f79f1a7ad1eb6d1a04da6856b748572f577b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatImageMessageViewHolder.java:44-55 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java:48-59 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatImagePinViewHolder.java:52-63 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatImageMessageViewHolder.java:45-56 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionImageViewHolder.java:47-58 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatImagePinViewHolder.java:52-63 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatImageMessageViewHolder.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcce1aa726c1fbf5cda47ec527dd31dfde0387a94f5c404ee128e8820bc20223"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:35-47 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:34-45 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:33-42 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:35-47 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:33-44 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:33-42 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca96b95225c8801cb128fc99ab8f7728579952d86936939d8cadd0389de2bf93"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:82-94 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:70-82 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:76-88 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:82-94 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:69-81 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:76-88 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc7f2351c48f44b2c43c7767528ecb2a4d94eec350c87140408df80948c32a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIUserSelectorAdapter.java:34-52 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunFriendSelectorAdapter.java:34-55 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunTeamSelectorAdapter.java:34-53 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AIUserSelectorAdapter.java:34-52 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/FriendSelectorAdapter.java:33-53 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/TeamSelectorAdapter.java:33-51 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIUserSelectorAdapter.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"94aec12bf074290aaaf82201369dd17cddc218f687b71b4ba01ff3c6c126b2ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunConversationSelectorFragment.java:39-48 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunFriendSelectorFragment.java:40-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunTeamSelectorFragment.java:40-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ConversationSelectorFragment.java:40-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/FriendSelectorFragment.java:40-50 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/TeamSelectorFragment.java:40-50 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunConversationSelectorFragment.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8da7d451bd21184041ca67c22dc6677c05c3b0a54803f76d7341026bdf3b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:256-268 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:299-321 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:324-346 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:180-192 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:233-252 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:255-275 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"598080492bd548ddab0210f234fe71602f0821accb8065308f17a49d3964e40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:440-524 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:310-380 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java:73-166 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/BaseAddFriendActivity.java:43-71 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamSearchActivity.java:40-68 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcf40542f40ea78b61bb8f13a1779b388caea3a408e098e754142dcfd515219"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIUserSelectorAdapter.java:73-88 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseConversationSelectorAdapter.java:78-93 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseFriendSelectorAdapter.java:71-86 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseRecentForwardSelectorAdapter.java:69-84 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseTeamSelectorAdapter.java:73-88 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIUserSelectorAdapter.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"976e20971161e2e5705c1d954795fe3c4460237cdaddec50239896c7040f091d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:804-822 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:871-909 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java:91-109 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java:91-109 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae77be14e2041812ff2f244fe44459928cbcf602f0a3df6abb4a6b224023bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:215-363 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:272-283 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:309-350 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:328-339 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2678d116a2d2279c7f22ef593a647590c6e750be451a63bc4a57f6035f6c43c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatP2PActivity.java:43-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatTeamActivity.java:32-58 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatP2PActivity.java:42-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatTeamActivity.java:44-70 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatP2PActivity.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccfb47567e2b134f326780773b494cb72369fb073633dea9899bf80e664dc13"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:67-111 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:73-127 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:67-110 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:71-125 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b20ebd354e8206d6d6690a14b4fc5f51f6f6acad93d894bc0584dc778b4dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:132-165 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:133-170 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:126-159 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:118-155 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9091b0520150b410f5e15abdf61a3007719391ba22f6ab48333cb2a833bb9857"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:57-82 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:76-105 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:58-82 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:72-101 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d9bfc8f254b2615579573cb6d432e76291e17d472e535cb187329c1a52e3b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:122-131 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:240-249 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:121-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:225-234 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76d410395fb8222ca2ea0d56453ccb0d16b721a3d2075368a9b4aa3f5cf55f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:296-317 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:381-401 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:295-316 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:373-393 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eeb8b9ae6dfb49cd195caabc745efdcfdb9ae77b4823f0179aa85b976953e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:256-269 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:142-155 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:221-234 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:144-157 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60bb438180ece3d49a19bf0134890fe43c52c80f78e4f3481257ed4ba22a9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java:37-135 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatRichTextPinViewHolder.java:37-57 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java:38-132 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatRichTextPinViewHolder.java:37-79 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded8a8ed202123ce1839ffbfccb9f6b532cf28e95497d1a0cc69631cfcf67bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:109-120 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:103-114 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:109-120 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:103-114 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5686388f72fafa272231710ee21bade12bbf501dab984f94c1b7c977d2ffe4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java:27-40 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatImagePinViewHolder.java:25-38 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionImageViewHolder.java:26-39 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatImagePinViewHolder.java:25-38 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29592e76a26d5ec1144e13c6b1b27a2f7dff2bea6a07dd8133879eaee2edc1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionLocationViewHolder.java:42-73 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatLocationPinViewHolder.java:42-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionLocationViewHolder.java:41-72 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatLocationPinViewHolder.java:41-75 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionLocationViewHolder.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"715fc02a2d3c127b5bf24fb082f7b3304575d4a6e41742d31b0a9444086e3298"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:58-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:64-74 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:57-67 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:64-74 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2d45f11219dedc5338f32cf1929d90a47375fe1c08a1c6e97a772713469eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:168-178 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:140-150 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java:168-178 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java:137-147 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a3e1536f1a799a1ad53cbf64a4f9633ad8128b7ddaf36e7155a6be7a588eab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java:127-149 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java:160-183 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java:105-127 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java:138-161 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a712576160c71238662ff147f5a1c60844b68a1fc19f0197984cc256fb93b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java:47-64 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ConversationTopAdapter.java:54-72 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java:47-64 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/ConversationTopAdapter.java:54-72 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caa2749e97156747c00b9bad84b2f320815e178350b10ed526a92f2f12335a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:157-169 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:137-149 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:175-191 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:137-149 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"78731d208bebc9e75814ff5cbed4bbc2c9cf3d725187e9f6b372c92b1fa742fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java:75-119 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java:80-125 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationBaseViewHolder.java:102-159 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java:80-125 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fdfecabdb28092306854f57834ef6d697df3661f224cdfc907474928b29479"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java:26-48 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java:26-48 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationHeaderViewHolder.java:35-61 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationHeaderViewHolder.java:26-48 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1429af60edfe39a973db963384ef4eb7ca382e9f52c4eaa350475b610f0bfa3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationP2PViewHolder.java:27-55 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationP2PViewHolder.java:26-54 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationP2PViewHolder.java:37-76 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationP2PViewHolder.java:26-54 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationP2PViewHolder.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4123cb9ee7a6986ee419361d8f47d118257c98abd833048e159cc9adc04a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationTopViewHolder.java:25-40 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTopViewHolder.java:24-42 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationTopViewHolder.java:37-56 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationTopViewHolder.java:24-42 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationTopViewHolder.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca682cf7c7ecafd806f3536a59649a767d75809467e30e3f6bc121c2ecfe24e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:83-98 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:106-121 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:83-98 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:106-121 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb357f2589ddbafd3edfe9d22c342c998e482c9975845b697f68e15ff793b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:620-629 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:632-641 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:586-595 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:598-607 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d637ac0470a81a39818d5b34e4e6b46e60f803c9d76ae66ca94c96e60c86f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java:42-132 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamSettingMemberAdapter.java:35-53 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java:40-124 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamSettingMemberAdapter.java:34-52 \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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b43da5a78bc1bb28f1b1be6c4c6fd7835baa5c0bbd2a822147daaf41e599b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (120 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:38-157 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java:39-158 \u2014 These two members are one piece of code written twice and then edited apart: 120 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6ec92d942f8c0e104684c4f2b784cf38164d9e7a56f58d7b851fa0f9e4c967"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (126 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java:46-171 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java:47-180 \u2014 These two members are one piece of code written twice and then edited apart: 126 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51855b1b9012573b091647839d561f65d85cdbf8ab45059e7f62efa7c428927"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (98 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:48-145 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:28-125 \u2014 These two members are one piece of code written twice and then edited apart: 98 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efdd56de213198c981cd5228b871708cea7d5bf7104d68ec6074ef3b46f4cdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (99 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:28-126 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:28-126 \u2014 These two members are one piece of code written twice and then edited apart: 99 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9478810aa0d96f51aa809a222080235d4618ae44c861ae969c48bd079c4bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:32-123 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:32-124 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50d5f5803468982341c0212d1090ac3a0439e810c79c898631647a2866d2762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:52-143 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:32-124 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3331235aa8e235eb18df66155b0589252d8125c289bc5bcea851533f02ae4e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:181-231 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:180-236 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c2a7114b51f0ab20d7603d15e542812d49cf4d4d765b7b5246cdaa11d5dac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:113-180 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:113-180 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b4521f1f4dcc395025daec60d9ecf9d51cfa246bda652dd2e894db4cc7a6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:266-355 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:256-347 \u2014 These two members are one piece of code written twice and then edited apart: 90 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0686a7b211ee0bc507135c7cfdc62f9a0ce08502acbab05d40e249b8a34c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java:77-132 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java:78-133 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96c8dc96a8ef0f91169b1b05ab627697cd43b3983a4755daa13f9cf94af4572"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:184-233 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:169-218 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f145f137b4a0012d25f1b36e0d9b2ac0db50b5ecfb68ef2233b8b0fb181a007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:240-282 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:209-259 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7e6910352c7daab59d222e8eeecf211023c8e6eda6d32185f0b6059a60008e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:232-291 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:233-292 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f59441af176b3325ac53af4d670a21260a7348617722cba65b1fd9dc6f6869"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java:38-82 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java:36-79 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e69629b25ac72ff25701623c27509f12628783a1b1775bfd3eef63679c84ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:55-94 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java:58-99 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"97259c9b021ffdee75998b413eb3bba938fccfcba08854f97c320b2a5d4606eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:246-298 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:300-355 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a562124b8670df0b92763bfebe8bb33f98d9cf9436871522b611b9c54bae8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:312-369 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:315-373 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"666308c550e1415a7c571ca2730773514bbcf3b2f4b50077be9777556bdd29a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java:415-486 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java:590-659 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fb217c532d1e9121127657ea3effb99326709370a2b65ab4ac1b22ce80a473"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java:295-353 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/contact/ContactFragment.java:47-113 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"106063a17d4a56c1e83fb289d880d87b56e4ba2918184eb8ab0991eb4e61fdb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java:327-396 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java:503-571 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6aa196b08656a27cc67b77cdefcdb70cd3af95ed71763252124506a3c0affb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionFlowLayout.java:33-79 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionGroupView.java:108-157 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionFlowLayout.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42ebec5969ca56ace52d3db73dcac9bcb85ae576311e87279b948fda84f3d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:390-438 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:375-423 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f70dcb043581512c2c9985b4f79771591836f6ea87e2bea4a177c0ea5874897"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java:39-88 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatPinTextViewHolder.java:39-88 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d7aee6dd0b7faebd583b809fc7403dcd2dc623f4d4b8c25f504341d095d280"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java:49-93 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatHistoryActivity.java:47-86 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa27c2edd10e7b66c00ff7869fe0240cb19d7edf46f79db7592dd97f2cb8a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:317-380 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:179-240 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe15d991c891069d710bfd59070481d49f6eac2e6f4de43a7ebf676e6a3578a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:271-310 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:236-275 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"126f975a3d0515dc0bb0e7d9b0e0bc37e657c7ef6f7c820fc5492f692b34e060"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:293-331 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:258-298 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a75256073bdf7afb79a7a1aee6513cee3ccf931f00e5e0ea85ec4aab5b063a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:99-165 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:167-215 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66cd184229682b061bf781d57e42462a0ab6dcfd3691b0a7b26421cb7cab86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:209-256 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:208-255 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5072be1ce72df0635fa18e0a586ed2fca44e4ae7547b29da266c02fb8b53b953"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:100-144 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectorFragment.java:67-113 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6916bb58afd4e981e25ca6316220236c5f4eeef8fcba0be553fb4f0f94079766"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1483-1540 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1872-1927 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d4ee5c2bdbf2de3d902d251c7fd09398f430d8756e8fda347bbd63a0e54d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java:67-108 | app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java:110-153 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"366cb449762e5d09b37256cf25c8a3bb9b445f7406ddadfb7b3ab11cb3ebbeb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:830-861 | app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:863-895 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f684c89285142ea454d39817e4449fee4bc315946c53fead73fd8f4be562df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:428-474 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:490-538 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef425d87d0df94ee45d417514f7a23a7e13d746eabac58a340fd64ebc4aaaeee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java:58-93 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java:75-110 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyBaseFragment.java:80-124 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36d009b139c6cc141dd43f0bf60c5b5ce409240226c9b5466b8eb94663347ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): aisearchkit/src/main/java/com/netease/yunxin/kit/aisearchkit/page/AISearchViewModel.java:150-185 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1655-1690 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aisearchkit/src/main/java/com/netease/yunxin/kit/aisearchkit/page/AISearchViewModel.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0031ccf423d7bf405e9a85d134c25fd57db98f20c9d0f3eb5a0b348900899bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:561-606 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:677-716 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"547f84ec7f0b4f93216d6ec53538b33ae69caa1fdd24bab5826cb771a4bc36b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java:140-191 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseForwardSelectorActivity.java:266-313 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d30c6d94ea461f0a6da372aecd834eecb70618006667f637496f3c136cd0a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:289-338 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:281-330 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a0d4a0e7eba4d880937787c7000138c634a46e8f62b9613b6efe47d5ff6f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:125-154 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java:141-169 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1106fdcc4e807f90d0a5aac1b7b84748f9c766ef92ad41794541f44556b072"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2854-2900 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2902-2948 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":2854}}}],"partialFingerprints":{"codehealthFindingId/v1":"720d7e12afe07765f8a94c042be97eddad7cb7fb28cb93a2e308e3fe35124bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java:54-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/ChatMessageViewHolderFactory.java:56-89 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b662a54f477448a12f252ed9df90f221b9d293c9347743f74e0d0edf6f7b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java:186-225 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java:233-272 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f408f6cf69d3b25634684b91e681f337316892d993f7a8cc5c2bb95d3867222b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java:427-472 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java:474-521 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3656b99b7cf5809ad66862894266a11e7e7a39c0db3a59e3fc4bdde8edac2154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/contact/FunContactFragment.java:155-203 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/contact/ContactFragment.java:116-157 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/contact/FunContactFragment.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"872581fbb7ce7aa2c20a6f7d653f71319d367fc2ea0add41be776b6c5b529336"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:236-284 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:140-176 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5ded154ccb7ee67ce333407ef0d4d253db106a2c033b72c2aa8691fb33ebfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:222-260 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:276-314 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a118a2821c74fc7d07a19ba632eb3539d59b14e165a52036dc33b193e059c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:305-341 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:344-379 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"5301936a80e3d439127817a4be773c53db5ddb8d9515eeffbc1f44f43d66af9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:170-203 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:108-141 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"136c17b227e0fbe367fb7c3553284952b1ac5e872004ef886d82000272176081"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java:23-74 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java:44-81 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c20b397ce49cc9c6120e88b4079a7debd98b18ab936b73720f95e34997cf2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java:60-103 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationView.java:87-134 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52b4601b13f61f0c89d676afd4c4aa83cfd8ffe275cee55fc045a5284fa22d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunConversationSelectorAdapter.java:36-71 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/ConversationSelectorAdapter.java:35-68 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunConversationSelectorAdapter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"718c5d73bf7f973ec357fef565d2c9e9a9c2e80f031a8ec29553cef2421e9528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:228-276 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:278-322 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ecf7bb6f9d749f80d33b5cff807c1c7b4c1ef6433b6a7ea047e62ac603e9f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:206-238 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:198-230 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b9ad9fb20c11d85c78d3e965e7d41befc96ae2493683bbc0d882ec1fe72460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:316-341 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:308-333 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"12da28e440620f8c10507d5143499d15994b60301710657adbf13c6851b80c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotListActivity.java:20-51 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotListActivity.java:19-50 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotListActivity.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1c99d7056675661fb86f8541b6e49ff30138bdf501ce816ef47734f7cf1bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:46-73 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotListViewModel.java:39-66 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4c1753989ba2209e839fd12d45c36c34b24f833f2f284811671e7984f5cd14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:854-889 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:892-927 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:930-975 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f49ef24445167e21434a0f465647870f6c963f98dc9cc32e9fb3663615355b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java:47-116 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java:41-94 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc19145cab4de029feae1bf70eca15d487fb5ac618994bd79e2deaff52b50712"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:849-877 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:880-913 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36fcd8a8ba4dac43fd25006020415bd52d6db0b7876d829a2a69a94d70cdc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:39-66 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java:44-72 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"56563a39ca4ec950d38807f79bd1ca2a7299c98b44e2521a2d1fbdb1e393fdea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:176-214 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:106-144 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff0015bfc46ec6fb1f2cbbf8a390ffa6e278364e0da0c837dbb4b723bd82506"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:230-263 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:279-314 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5580ded09d79f98e8393abe77be9b21d15dacf8fc3ae5e2e6ea9e9bd3da8445b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:146-184 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:186-219 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc186193f8a9c559fd862fa1ff7910c83c9410af6324be4dddd53dfb4cf5989c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java:336-383 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java:385-425 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1ef3532a3c93e6c4aad43e2e79aff4f2ff3d8dc0a4066d017a51e6e7ab65a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java:42-71 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:351-377 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffd59f4a23d31cf66416ea5e2f17765e459f1dec5bed2554454d030dc8ef895"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java:97-120 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java:87-111 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"886d3dc1d446bb85892a2484b7927753e5a6d0d7e8d0143262aada499869d53d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:261-283 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java:288-308 \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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6da470ad011d7cff7cdb8a2ddda0140ed6ee0241c260de451cedc3d513b8ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionFlowLayout.java:82-110 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionGroupView.java:160-194 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionFlowLayout.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8af7ce46fb2fdb46713ba4c55e96279cb255e30befbad7c53e0d116d5943765"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java:100-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionActivity.java:92-123 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac1c6be746ca4043024fecc42f1d106c86373740d76dc07a321494772e98e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java:117-139 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java:107-133 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1535ee66ec3d0c419ec7cbe8defc3f94e256f67991919978068dc867c4db4da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:263-294 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:262-293 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87fb9570befba151d72b6ecd80a92acc596343160114f77496bc4f438716cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java:109-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java:109-130 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2f5f6eef25755256ca81388d4baf1385541921e74c24fef84586db698511d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupManageActivity.java:391-423 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupNameActivity.java:186-218 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupManageActivity.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c007fd9a2bf05ae0d49b35db5411fb6bf62ab55d19f65fa7273b00d9c773722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:341-381 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:246-283 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38f4da5d62ae849a103ae359d613dc0d452075fef6061856661c2f4c34281c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java:45-89 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchImageViewModel.java:54-107 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"daacd273b978eb4c3a3f13b4df4ff37f831b3e82fbcebe1662a24a84ed548eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java:161-194 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/ContactViewModel.java:381-405 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3c2d509b284ebf0924c006c0e8e279cbd32f187accc68c2a7871ff4db74ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/AddFriendViewModel.java:36-64 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/JoinTeamViewModel.java:35-62 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/AddFriendViewModel.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cce26f92b041bddf409a24130b303c6226c7a7f5a3179b75288d17aa01966c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:347-374 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:346-372 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:81-105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"4305269951b817931a265d48cb459c674cea915b48d39b64ca6022f7710cab79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:80-113 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:76-102 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa9e406239c6e72a5f24f7f2b0fe196a5a364f1b6bd46923616540df89f87a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:86-116 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:133-164 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:453-483 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e624e3f1e572f0a8c98a976ab087a8a48dc48351cee56ee998e99efa62c67bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java:44-78 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/dialog/ImageChoiceDialog.java:28-63 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c89693a03906444a66771bdbc4af9a949afe6aa45bdcb9dc420309a8712fb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchDateActivity.java:25-57 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateActivity.java:22-53 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchDateActivity.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c08ad3664e608b6d9414922751105a2e219e1b89ab27b1621932ec105f6321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionChatActivity.java:33-54 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatBotSubSessionChatActivity.java:33-54 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionChatActivity.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81208aa6d6a3b5bf38774c5d8a4b64fc1d16933ccb240f397e0d2e23c68268d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionActivity.java:71-93 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:52-78 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:171-198 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:198-229 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionActivity.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"03964440f2d6280d1a4e2c6d08b23e44b2f4a787978eef87a42e409534365de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:145-163 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:145-164 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcc5add45ef2f4136a3926db32548572ff74b6f1f1f0b8aff8e45c98528650c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:647-669 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:622-648 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"122e178185e93ad0a673ae6b9dbd222e6aeeec422fe1a4bdfa4836e95c143184"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 25\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:82-107 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:82-106 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:113-137 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:146-172 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:184-212 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:219-244 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"05708bcab735399fc58fa0489d74cf48bd64fa818f1a3d08f977ee586c9f5552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:253-270 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:286-306 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d8947b1eac5ff2e27a72e2da8ff34ea02a9af7247b5c5a57bf087e432d9453"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java:179-208 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/CollectionViewModel.java:124-149 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a886c089103ee83b9d1fb6c6219f8c2d79bd0377b52cb0f2d9bb04afb7b726"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java:55-80 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/viewmodel/SelectorViewModel.java:55-80 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"647cc58a52f22986b6e5bd4f0ccdd4f429ab033d65c362eabb5b5439b81404e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1084-1113 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:1009-1040 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c880c8ffe7796a7ee088feadac7e53bc287839ddee13f34a91334cf82047d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/SelectorViewHolder.java:29-51 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/SelectorViewHolder.java:29-51 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/SelectorViewHolder.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f966d1dccbcc349fde02ca17812661a0eb2cd4be8141525aa93cb33cc0d921e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:138-154 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:137-153 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbce69722179dd84ab6c28f3f71a76a65e4595f36a25ec884920ba47e4d956b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamSettingActivity.java:38-62 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamSettingActivity.java:30-53 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamSettingActivity.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2cbcdf500dadc4acd0b7f139f49a98b942ea6120951055ce1ff4f76db17d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:433-457 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:467-491 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d198f420bcf497dc66e34058fa83192bcbf5edf43927b51d03c9dc6946aab0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1002-1026 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1029-1054 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f4ca4ba923df148468393234f7ec728464dbefbc7a9d36598305d385f20d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2481-2497 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2987-3009 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"b591d73a51692c96ffe78819d0a63afa774b15de8cd8e679d61672fc29950282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java:122-158 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatHistoryActivity.java:110-150 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4603505c30d9a84dd44db630b7620cf1ace57c0ea09aa79ae8c8e0bb0497016"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:448-466 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:453-471 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9e7bde48f84dcf64dc6ae756953690b064f747e5328adf87020f69eafee8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java:43-69 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/team/TeamListActivity.java:20-46 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ea8dac44ef33f3b3a1e0122ce17d6ec20d917b1672f48ad26cae337905cc90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:203-225 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java:204-225 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69b035bc5530cf742c096ced6d62e1b3104c5759641802619c9132d7c61c946"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:861-894 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:897-933 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:720-751 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:754-789 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0e58bc7ca051e0d717a5c59f20501c513e50f58a3326f5075aab62e8f91bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:349-394 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:301-336 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"f650690b2211dea99c14ab7e18701ebb65723c946a13ef3386040cfce90d1155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java:573-600 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java:634-662 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java:665-693 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java:696-721 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"553de929718aa8fd7a215bfe19dfec2dcc78974b7b1e39859419b132546882f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunPinViewHolderFactory.java:38-59 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/PinViewHolderFactory.java:33-53 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunPinViewHolderFactory.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab66b828cb8f6dd85b1438481f753aab14a5e40b33f153ad51958b7bbd5f247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:560-581 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:416-436 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"febebca471c0e2bcfdf6b678095ad435d9e8bae6a1fe33fc43ea30d3b508d89b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:401-418 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:367-384 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"347c80103a1bf2905d15285288d10f1bcb5631f190fe8ceb54a0f598b0872999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java:91-116 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchImageViewModel.java:113-138 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00e312ae4395d4f03b5a899149764a617657229f06552b40acfcf3473edc746"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:678-699 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:514-535 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae76398e92a2b896036c5d2d4607f26c183ed2b14582f34e2b19b19f41f085e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java:236-252 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java:183-199 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"220c3042cfb7e83c2f4f402e32f016b62208a42dc1428bb98732bed2319c124a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:270-291 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:273-294 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"94458458f1cf91023257d39f8252449e8ef16e392b4547f88623b7f9ed7c9ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:961-978 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:980-992 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53c977811ae5516386c9de0eb893177d618a3db1a6dfeb839f9a80148f7650f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java:121-140 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java:143-165 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"275b016251efc5bfcab700e2174c3a409b714fb393f8c0ef3105e08db5a7dc31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java:80-97 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionActivity.java:72-89 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7249f2dfe180298c1e6d8af515b4819b85de2535cb40c847ee616127ac442c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:255-272 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:255-272 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c3076fdd4e3586bc41260c1522acd5fffb4efad53d8965a2ec52028b10119c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:108-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:104-125 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1b02bcf32ebc750a884d2d2fedd98185935ea1cf26c613fe9407e100c22342"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:392-410 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:375-396 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0b5ed5b97a121049d9329091d582a0ef6c41a0e9831511aedbbc6d867f91b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/ContactAvatarView.kt:82-117 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/ContactAvatarView.kt:120-148 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/ContactAvatarView.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7975d096d6ab2b82a07aab2fb0b495187dec94d3eea7cedb0dce5f279bf94d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunTeamVerifyFragment.java:21-50 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/TeamVerifyFragment.java:21-48 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunTeamVerifyFragment.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4be54a18619af4131e13e5e3c5e51fcc988f26532bb84e9d0168146cea77c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:160-182 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:196-217 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cf407da6153961083e26564e898c995d6bb47e9dfaffe154f14015a780059b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java:132-149 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java:132-151 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdbb096f060a217b61bc87bdd52cae11eaddd5ad45e9b1b8edbe8d445bd99cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:433-463 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:465-495 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6e020691dc064ebeca73625cb25574f078bc368bb5ea725528f845c9f15fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:462-482 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1508-1531 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc5a911104efece58f0e6743c7a781b9b645257cb0d73338b44b8689ed65b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:171-182 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:190-202 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b54f281ae1bf60a7bd21777771381b62afb5bae01b8f9e34599e35ee91da37f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:231-248 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:283-304 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb06310c3d1a999e2b7d794c4cb1f872fa4c5c3f76e8a5cd46376b4b6f809238"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java:132-151 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java:159-178 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"204924f3d9405499d3bfb0b56738e9d6a386e0e280790fe1521f059f981d5aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:262-286 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:294-315 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerListViewModel.java:56-78 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerListViewModel.java:86-110 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26100add34e2cf7a28681ec04e432fbb6ce758541a7cc62f8bd461420bb5465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:740-757 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:760-778 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"204d4a68c381193996c86f092e45bebc234b7404ae727daf02f22a297513f4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotInfoActivity.java:236-256 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotInfoActivity.java:258-278 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotInfoActivity.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f94838c94f564a43d818d4980a8dd3558c7bf8faf94e4bfd37324bed4f2eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:84-104 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:84-103 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce9f031431c35cb03fa6b5ccdcd64ca7a8e689220718ffffc78b6e293227c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:828-853 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/TeamProfileViewModel.java:73-100 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfddef6512bb22add879bf50666d795086a7ddfc804383ec36535118a0d24b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:252-277 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:283-307 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebab897776dbf09293d7b89468b2e0598fa6ea1ba68b11f7449f2a909f64679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:137-150 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:56-76 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"37291db0363292625c862ee32e6f2ddab8a171ca01b7c6a8484eb6a2beb96a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:113-129 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:411-428 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e05a7363c0ee5bf3f54a52f56f02cd62e1e81caae4a8295572c8f6aa4b793a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunSelectedListDialogAdapter.java:29-41 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/SelectedListDialogAdapter.java:28-43 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunSelectedListDialogAdapter.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12031d6bee4bd063e95a39cec338fdc3fe2e4369e7460613c4c87816d18a6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:98-114 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:145-162 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab98d9124d3c2e07655a4d35f96ff08c82786dfdde65063bd3049c077877728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1791-1812 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1822-1837 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"489bdce94e5883a4d3c9ff7aa50285b5f548d93604d53883d03ce14ece2de1c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:91-107 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationGroupSystemBarHelper.java:20-36 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8aca0ed85d680bd0bee96bd38183560b159e27e3e1bcb77bc256806ad7c822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/TeamListViewModel.java:129-148 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/TeamListViewModel.java:151-175 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/TeamListViewModel.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7298ec546324704d0a36805058feefef25d8b5c6c76a8b7e4cbe60f9ebd70114"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java:110-131 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatPinActivity.java:98-119 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30ac9a13280f70df35367d372c518217210b761511e6ff2ced345e5f84ebca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchViewHolderFactory.java:23-39 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/SearchViewHolderFactory.java:23-39 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchViewHolderFactory.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3998cf7cc1c47b54c8d17150dddebc8d300d342e6d28ed7b6981404be855026"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:103-118 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:103-117 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe447f5dd03bc1f0ae20716c2dca01b65d242c320078f4272fc6830e6f78cc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 20\u002B corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:192-211 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:219-238 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:246-266 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:274-293 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:440-463 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:520-543 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4532aecc928245a0a5f078f4cf2e0aada367d629c7792a5dda91c3704f1237d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:599-613 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:648-661 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9608b69bc56b2345f83b61cc208db1a451e53142ca587a6aedddb3230b3ae32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:782-806 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:640-666 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c4dcd14397f873b689db1f5a4a05f59263bc07459c53903408ee0f17c7a4a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunViewHolderFactory.java:62-81 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ViewHolderFactory.java:62-80 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunViewHolderFactory.java:62-81 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/ViewHolderFactory.java:62-80 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunViewHolderFactory.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6981a5710e73c86daad01aa63eeb5c0c1a57aeee08cc7aefc6375869f32654"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:426-450 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:1797-1816 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c6c9347bffc774879c706b018a02e8485b54f32b880d62ec07281fec462e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java:47-67 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/team/TeamListActivity.java:24-44 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8959a732ca85b4a10e907aa2572f201b6022a6b299b05374e25113ab5d02456"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:66-91 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectorFragment.java:115-137 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:63-88 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java:126-148 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"915ac0cf5e989a96dce02ef9bd3e525695ece6a8f54733d95ae6dcce12366c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerListActivity.java:60-71 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamManagerListActivity.java:57-68 \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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerListActivity.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8b11aa0af55813de8b1e43bbc48ba9b118e9685ea8b701017b326b1d4aa789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:313-334 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:305-326 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e4d1c3a55ad93490e8844a76384661b06d51e07c087477be64489a4e1a81d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:210-224 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:345-360 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:368-389 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"819dd1dd03eaf9d364489bc2fbfa67602663ffe57cffc4e6ecf2812378631ea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionActivity.java:78-91 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:59-76 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:178-196 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:205-227 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionActivity.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"de177d0daaf832b84d78195c6089f68ab93a2d2cc3a15eb5c9d84be44b2323fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:606-622 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:461-477 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe939f5034d3854a2df4f63bad46dcc86c9d61cb5a6c9895035a4b8a412f419"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:206-218 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:220-232 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"35258b0e9ad66d1286a3f3cfb8ecb5679ccbe6e6ad6d01d2cbcea573f72baa20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:65-85 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:64-81 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bc2b61c1a68014e6d5cc0f5f843aae8681ee9673f5e45ba3c41fc65b107e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTeamViewHolder.java:24-37 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationTeamViewHolder.java:24-38 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTeamViewHolder.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"af29c281eb888b2b7fd20980173ef3472fd9de5159f8325b225f8f8a414b1563"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:575-592 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:600-619 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cae8ba8fc9554411baac15711dee2e5d240b71e3d96d09ca2206a4689a43851"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:144-167 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:139-157 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db353a3505b110e09c1d4cf4165a7fd11e58a050438992cae6e771c432401e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:1183-1200 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:1203-1219 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c8f0499446112e8531ff0bc5b45049ab30d88eb07c34e36cb17eade0b8d82e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:687-710 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:712-735 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9cfb05d27ce58257ab8bf9b699f786033de6c6a56f5336c71b82357f42719d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:110-128 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamInfoViewModel.java:59-76 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:383-406 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:413-432 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33d76ac2b07ae092135e379fe2cbf85de02d4ba291cd8e8354bb741d14939b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:159-185 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:189-211 \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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fca93558745faf8a4e1a46f2f6d8116e8796999d785d1928258e075369576eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunTeamVerifyFragment.java:24-48 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/TeamVerifyFragment.java:24-46 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunTeamVerifyFragment.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0816d6b9bc3b6120411db722c00ffadad8c4187b1742e0c8b8296da38a59665"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:52-63 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotListViewModel.java:45-56 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fabafa15cc13a40ed85085b09c2ad5caf4c455d5af106758109d0731e89957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerActivity.java:34-51 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamManagerActivity.java:33-50 \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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerActivity.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"db96bbff9333edffc6e3e4ff37903eee2cc40f51832d3be3466e7b24823d4a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:760-780 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:817-844 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d7de359c406b6acbcdbbcd6309ea5b0e84794e1b77d4772acf28a73150d027"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:1378-1396 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:1478-1499 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a825f2bf8ece063f157fe350a5fb5e5d088f78899e81d1696157ef5c3713dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:258-274 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:305-320 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca008608d7ea69b290996487f1126a88cb4c6afe190af5cf8d834fd4e16be33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunRecentForwardAdapter.java:32-45 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/RecentForwardAdapter.java:31-43 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunRecentForwardAdapter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"192dedaf797c7b3ef0bc4ab349609ee0a14e848bf0e7c6482597c69d37391472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1231-1252 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java:124-145 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9d1da996ecbe0d718a64f6872f20dc4a0c26b244c8fcf8a76c8cd5f60515b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:467-484 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:491-510 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:452-469 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:476-495 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f3aa3ce826b0a9f202dbfe988afe91f350d661580180203aeee14d264bc7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:215-229 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:518-541 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc96ce75ac7b83eb97f1700c6b09776968dea586553c0352901fb9ae3deb63f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:382-398 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:402-417 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4332d06b6c3fcdb2ac7b242e022c2f195ac521c0b441a3d51e9ad70928b982"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java:146-165 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java:167-188 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee43b9bad763c44ec327cafdb3706aca2dce83b20b90a7d8944bf64dcc51a12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:138-155 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:140-168 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5e12b69bc9e75ddc0c0f4343ac685c4232d9c298880c32b1673ffcd73e9aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java:167-189 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java:201-223 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java:250-270 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba98e7e92b02dfe2de34f5d08570564f391c2000c1b757dbf14067a59a501196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java:122-137 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java:140-151 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c751de271c2f285185dd0780cdeff464475f5f1d6a7d38ca474c5cd984ab87eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 22\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:342-364 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2250-2273 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java:160-188 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyBaseFragment.java:174-195 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java:272-294 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:320-342 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"236e4dea6db8cd62d3873ad77416b37e51185016792da7d9a75add891bd1ca50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java:74-91 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java:95-108 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchViewModel.java:96-113 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchViewModel.java:117-130 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f3a0378cbeffa734758e533a6d58f710a2a86c2b4b9d7f3b3ba30e3c6fc7d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:518-538 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:1069-1088 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb7d91e39708c94af63f40a6436ec9df3b1f8810b463509c9b117346a5b5ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:367-377 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java:60-70 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"097039633fae4d1ab34dfb98c55e9d93b033205f887dc5b46c8498912811a94d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:377-390 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:413-426 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c78bdef5ac580dfb18129628c8b8860fc253ae4755298919f1a4511ca889db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java:70-90 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/ai/FunAIUserListActivity.java:47-67 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"92925aa02337a3af9e0e51cf11adea90231891f59d2e21d829e1ed3f89b565d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:873-887 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:911-925 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"60458e6acf8faea51b51f722762011441b1c2f758a1f01cd59f1f56ccdbe187e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:61-76 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunContactBottomConfirmDialog.java:30-46 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/dialog/BaseTeamIdentifyDialog.java:41-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"094ed4219b070afc4eb5c5306f2a0824b34c406516b73073ea34101c46edc43b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:187-204 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:206-223 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:225-242 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f38dbdf2efabaa3890577b8775d4248336ee74e904bbdc62b9bb0b77b28bf49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1495-1505 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1895-1905 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"80094356a68727706efb8a7e78499cffacdb4fd4e8ef277cda8da0df72ddfdf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatCustom.java:83-101 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:93-111 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:89-107 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatCustom.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a700c8474bef2197fcd5dd3bfe61af7dbc9908d99f6551779fe3a57347aeaa77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:381-397 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:399-417 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:419-436 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:438-454 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:456-476 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1870ba87825c3793593381ab13a1ea42cafb3e5b85480245d5bb7fc31fa5d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/com/netease/yunxin/app/im/utils/MultiLanguageUtils.java:42-63 | app/src/main/java/com/netease/yunxin/app/im/utils/MultiLanguageUtils.java:70-88 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/utils/MultiLanguageUtils.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dd2352efa42fa55e60c1b11537cc2bb328754423dad84e17dd00531c354449"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java:41-57 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ContactSelectorActivity.java:21-34 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacc8fcceef1eb728b24ca9f1d1a7d6d49a68f92464fb2c66670014546287c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/com/netease/yunxin/app/im/main/mine/EditUserInfoActivity.java:119-140 | app/src/main/java/com/netease/yunxin/app/im/main/mine/MineInfoActivity.java:152-168 \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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/EditUserInfoActivity.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3f70ec144f0695268a08dc56456e9a50925c80d2bf49041294ba7fc6cff6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1000-1013 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:839-852 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9cd245749de4521042e5b2efde4bd464aa7af2552a474fb80705e947beeb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1016-1030 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:860-875 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"56324f68ce55ef23ef3af173e4f38f7209f6ab59f2efe9e0b0c071d14a9102df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java:187-206 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:183-201 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:523-539 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f4bf07c3f1f02d613a61e247e66c0bcb5f329dd677918649f828510a82ce68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:227-244 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:231-248 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:155-172 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b431407005edba0b0bd9f57a0971e671779e4c3278dccaf4d1113be9ca9b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunUserInfoActivity.java:60-73 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/BaseUserInfoActivity.java:164-177 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunUserInfoActivity.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc34b34879740edcdc9d1685748e7cdc9ef90e347f6b6ea72fe0d280f3e55d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:261-275 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:277-291 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0dd621d05e36928235396fb6dca5b59befb91d73e71bf2fa5649e088ffad21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:170-182 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:184-196 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1d6139f4f55a50b4867ef637f9128ffe1b120722c679cab8b65320c2acf108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:217-229 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:271-283 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec36180375e2a5b71ae78260e92bb0b1be95c128b05f0632589492d12da41552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/BaseAddFriendActivity.java:95-108 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamSearchActivity.java:92-104 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/BaseAddFriendActivity.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64f4ca804820cb26999682b6f223e6fe081929182e2d80f009b5aa23980687a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:782-798 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:846-862 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc213c64fee6cc7aa2018d0ae8d7e6a6154fd0ecd13adf0ecbeaf45f4b28851"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:60-73 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java:61-74 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eabb0e90f1337486003b7c1e523e791c82672962e9600c9b30b9268119d2714"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:822-843 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:689-710 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"09205f68348c81e751ae7612ae2465305568d37ca4fc20e1194a26e6a6662f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BaseBlackListActivity.java:125-143 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/blacklist/FunBlackListActivity.java:58-76 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BaseBlackListActivity.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40fadec0fefdd0c2e5bbd5c99a039fcc9c95abb8ee5fcce0e7cb22ba79fe410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/WatchImageVideoViewModel.java:175-188 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/WatchImageVideoViewModel.java:194-207 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/WatchImageVideoViewModel.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd89da003ee71c3a14c85b40e4a17e68dcf486dfdef41e393f7e365a06c0f3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java:118-140 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java:142-159 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c04b8bbe6934b9fccc24baf63e048ed2101a4cec7af0eb20e4045c422a0098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/ContactListView.java:90-106 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java:81-95 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationView.java:108-127 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/ContactListView.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3391f8512a8b905cd3b0d00d5f9bd52e7885f81fa024b206d083f20ece1460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1485-1498 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1506-1519 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d719fa904395fc4ff35b972967818b13919596055c3378e0cc6a1d682b4ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunPinViewHolderFactory.java:67-81 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/PinViewHolderFactory.java:56-71 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunPinViewHolderFactory.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3d7308db8d20d165659b257813088a039e304678dd9e883ea00b747d267ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:194-207 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:193-207 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4f869d41e1f503a3a13723d79a585395412ce26c662a96143aad07ff69f785"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/BaseAddFriendActivity.java:120-132 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/addfriend/FunAddFriendActivity.java:39-51 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/BaseAddFriendActivity.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d27a70cb57ad7a97c63c969cd58d8d1c073ba6a7f2021b30c3f39af86a5a205"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java:25-40 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ForwardSelectorActivity.java:24-38 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"76aa9a7863c9371efcc4515214ccca1e9033297250002a80362eedad2b02228f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:231-251 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:384-407 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b82ad0f639daaf8d8ba7a35ba8a28155b5fa8a9f2d5bd1742ec997931192da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:127-138 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:889-899 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe11c0dbd378431301053bc24d1f94e006af94e819f7787f2a36178cc40ed98f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamListViewHolder.java:36-52 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamListViewHolder.java:34-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/AIUserViewHolder.java:36-53 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/RobotViewHolder.java:37-57 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamListViewHolder.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7cfcde7aa9241a6b17ef51cc4c0524d57a9f6bfc47774a589c4a0075169a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:149-165 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:177-189 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f19add5398966eedf09f7c021d9197c83dca2b7b9d1299e75a3f5827c29425"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:294-305 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:295-305 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a6f3f8703c2066e3e58e8ede4a239c9afa5ba76c61aaf4a83b6d466c529979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java:35-43 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java:35-43 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac8271e701fbd4698cc3f494d6c194e3d82590c65d2b62757f6b522d72a2650"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotInfoActivity.java:20-33 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotInfoActivity.java:16-29 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotInfoActivity.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f74754be9dd8cd8b20ebfb670d2d121b3554b2d9bb4faed1c370eb38b27fceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:155-167 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:218-230 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"400febfeeca43db432cf1151b6c5ac54a277eab8eec1072d6b28d6054746da72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:231-246 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:249-264 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:330-345 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:348-363 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:367-382 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:451-470 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b776b7e130218e7aabd74db43e0889829e8763cc26fbe2255e8562918227c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java:101-113 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java:116-128 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35fe9ef2f03e3aaf110f14db3996bd3e8f359c50875bcfa3755dc228faebb48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java:208-221 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:246-260 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e11056cebc735220bbbf00497e5e4ad76d625f89512503ecd15b6a0efbf9467"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:88-104 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:106-120 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:103-119 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:121-135 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ebdc276102d766b5e70f339961e1ae68a67f009dc109361cb718c9a2829988"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAISelectedAdapter.java:31-47 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AISelectedAdapter.java:30-45 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAISelectedAdapter.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb43084d27aa877c353d999dbe5a797e72cd7a4435062264f6f18cddbf365b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java:109-120 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java:126-138 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyBaseFragment.java:140-152 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"144228598b3be0508dde6565c8422260f48030eefafd2b794ccfd4dc59c9122a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/audio/ChatMessageAudioControl.java:272-286 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/audio/ChatMessageAudioControl.java:288-301 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/audio/ChatMessageAudioControl.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"79be15072419e920a7ef10a65e77cd1cea22492ef71a900749578b8ebf5b4718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateIconActivity.java:30-44 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamUpdateIconActivity.java:21-35 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateIconActivity.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1aba5d2b79946d33778a7de160478ce6261deac5271705b22e5f2862dac9388"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:704-722 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:729-745 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fede7ac7de6b926d256a09aff5da14472a38b9f5b95762492117299bb54323"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:171-184 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:173-186 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4b4ca1ccde146b26404c185f48a460a8490c7b562cac78adca80b66a9e3381"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:258-268 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java:261-271 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f0a6e4b89a905a0dbd929300abfe25244c688e03372471a2ee127a5c81a2d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:737-752 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:607-624 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0432788df1752ede775c5ee492295c3fbb24a8c9dc2d03b1c423645d10b2d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapCroppingWorkerTask.java:89-110 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapCroppingWorkerTask.java:129-150 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapCroppingWorkerTask.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"26da99490fddf13f36b00f9e2c268b94a54fd6c810098e82c3944e2950d04943"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundFrameLayout.java:41-49 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundTextView.java:38-46 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundFrameLayout.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"087db071298e973605b94b70b46e2acd9ab7b0c5bd220df5c7478cc322cbfce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:117-135 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:119-137 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f21c035fd8b007e206c20a9a4577b891ccc79ca508b288425eea0ecefb29b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:790-803 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:868-884 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"86205fae629b5cb8fd3f7d4042e9446575bdf58491d5c99f436b1c128e757c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamKitTeamMemberCache.java:75-88 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamKitTeamMemberCache.java:138-150 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamKitTeamMemberCache.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"245d4aa969e74bae9aa5d44a07e236866f9a9d949be5c7487e1ebc58e960d05a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java:302-318 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java:321-338 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java:341-359 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java:362-378 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab98293e61c2abf0e76e886ae1e1da5dd39ebface1b2ddd702623d619a93a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapCroppingWorkerTask.java:226-241 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapLoadingWorkerTask.java:84-99 \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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapCroppingWorkerTask.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a6ab72c014a99f3a9068c9db83c931aa27c9a7829c9937c003cb3d7e7e52c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:802-817 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:819-833 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1a6f28883192905f6c594c8f85e92d9a5b903648b2af712b0fc71b3104aa23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:264-272 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:287-295 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e54a7963cecbfce0f473e6d6553cad7aed0a832e289444596710e4c9c0a479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:318-327 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:343-352 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1b9662fa04bf93f06588cf500ff51a6f67039ecd8bc24975506c9a9e56bbe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:121-135 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:86-98 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e5f6a6c93587f5cdc9bb7184edac29e0baff4a38cd982bd2882e7aab3ed06c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/com/netease/yunxin/app/im/main/mine/EditUserInfoActivity.java:107-117 | app/src/main/java/com/netease/yunxin/app/im/main/mine/TypeSelectActivity.java:79-88 \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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/EditUserInfoActivity.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e43e2e0bb95ee944c9e521a111a85c0f3a990844d2ec102555442f878ea1d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/FunSearchMessageViewHolder.java:74-80 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/SearchMessageViewHolder.java:80-86 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/FunSearchMessageViewHolder.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc3ca65a7f0c2248fd496780d7f50b867e3b84403106c356eb9a884e6744f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java:274-292 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java:294-312 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"df84ae2e7f951c1f14524436b4d32eb7042720d21752f1744f63d67e93daf4ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatMsgCache.java:58-71 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:554-567 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatMsgCache.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7b02be9c07076ee90e00fe4b24afd1b02343746b27702d3f26b335a1f28ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java:140-155 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:379-395 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3e732a9d62d73e5d7a2d90b99bad48cab33a35298c5729b60128f8cf3ad2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:504-516 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:524-537 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cab43a4385babdd3f02fb4123a4f81b4aa78d2d40aaec2d66651a9beb3a3b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java:50-58 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java:50-58 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b0fe8e31b20ddea4b8b42c6a245c772e53d58920540eb8a9defae90821d8a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:203-215 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:217-225 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a87ced27268afacfcb398d17709515690d1d046de70696fc0dad630b753cd4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java:91-101 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatPinActivity.java:79-89 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1c3168e0f27687686ea7d9fe172fdbcdc2294248ae0052385ecdb7975bd162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java:74-88 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/ai/FunAIUserListActivity.java:51-65 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26a83c66b31bbd1e9c40533d48467a7c6ae1d32f9b8c33c9cd54561358daa49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:113-121 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java:95-103 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5e4d437c7b3770ad2b92cd8f9dce79ea938dcb8eb9f5ebe023a19cc1a7d757"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java:66-74 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamMemberSelectActivity.java:59-67 \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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb5059b7be9862ead75de2733ba19433737b63be20aedfe059037bb8d268083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:116-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:114-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:105-119 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:99-115 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d98489a440bc480b39e9b58a73c7b30c965948c382420625ff4bdbdcf0d28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:77-85 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:69-77 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1660ec4a0f4895ff4cf4893b97733e0b1745d3f568f9548010870d921bc026"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java:40-49 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:56-64 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"147f1ced0e09010c8b3e131cd79cdbc9f7c7dfbc7ae38dd735f3d3f603e6e7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:67-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:78-84 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:87-93 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:136-148 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"534330867e8508d579bcf5d13555d09d4a6afc8330da12d2c265940cf5e2cbb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:75-89 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:72-86 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d92d6183942fc3fde3fbb72a9696a9db542e0a782c50eb6792534c6fb320a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamInfoActivity.java:29-39 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamInfoActivity.java:21-31 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamInfoActivity.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2bfe8cdb5429abd5c1a5599daa42ceb8bc60fffe7aea67c5b550f1efa24ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java:44-56 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java:45-57 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6923003983fbb15b559435d199f9c5bc0c33cc8f72ff8a844b6dee8d9143e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2740-2753 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2755-2768 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":2740}}}],"partialFingerprints":{"codehealthFindingId/v1":"329ad09e1602c9a0188f4d82c521d14e7509b7004ebd8eb7451fd16d9a995e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:50-62 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:49-61 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"511c59a458400e086976177120c042f300cd076c02827e52bec04e9940ef1373"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:690-697 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:403-410 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e259a0230e2623d5d30ec1cb6317f8746821214e5488dee8feabc5e35118e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:699-706 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:412-419 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"be898ee555bf1535efb032a006c5f8afe8ddde709fc64c3dfcfb8e731ac1c68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java:57-66 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/dialog/ImageChoiceDialog.java:49-58 \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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"893ed2f9a7441ad73004c78ab8b711887685b115680451eb6f0c1ccf54489475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatForwardActivity.java:33-44 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:283-297 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:233-247 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatForwardActivity.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5261e04635dbdcf8fd9c90db77b474f771ee3738e393b6c380f01f7845da666"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:202-210 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:188-196 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2891e77095dfce299ca1e9725d33ce6cabecb560acc2e3be328a336d87f0b088"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:270-285 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:194-205 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f132daa1624156a044ec5d994e3209101a47d16ff25adfc2f46dc6b83ea1dff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:169-177 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:159-167 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec44bc923e5d3a58a4e8a9c0722ee1461abf44fa520d67b23e37d1650134c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIconActivity.java:251-261 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java:148-157 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateNameActivity.java:170-181 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIconActivity.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f66b6b783b9c9b68078e644341c562468ccd64fa0684fa50db274e1967ccdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunCollectionViewHolderFactory.java:52-62 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/CollectionViewHolderFactory.java:52-62 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunCollectionViewHolderFactory.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f7cc930891ad41d66fe7f9e2857755ced196976f584c836806730fd8f0b90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java:236-246 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/contact/FunContactFragment.java:75-85 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c6c4f94971bc8f22759177034a98c1bcaf0bff523fe3e801db9d1e8992c019"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationActivity.java:21-32 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationActivity.java:22-32 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationActivity.java:22-41 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationActivity.java:22-32 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationActivity.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a227974f70602560b6efa2c71312ebe63e251870836768c174d3a5a5c7af8ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:413-423 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:330-338 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a997dea349fd86ea1e22a82c4bd5453adaa079227b4b7537ee8a075125b36a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java:19-29 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AIContactSelectorActivity.java:18-28 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07d5d80379caef3f9123902d82d532d9e54021733c25e61f7cab73f3f073ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java:76-88 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java:96-108 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"10764507cbabd059161a4cec6da768006d2ace27e8dbf9cf0a46cb022b8f0493"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java:50-59 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java:74-83 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7e8c258f57b22f02c167ebbd4021ca65c898f418b90bbea8dc221e16890642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:126-138 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:142-154 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:182-194 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0232d30edb5cd015f232503403243b4dceddcdbec550486aae55f4f90e3e376c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java:52-64 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ForwardSelectorActivity.java:46-57 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"53984749d2bfdd61508977c1c3b0ee6308af9d92bd754db9e44228c27cb570df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java:95-103 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java:112-120 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea463e83d8e14d8764cb2b04341d0e25565b0e86e924b6ccc9a4d5b1a6b46671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:317-324 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:326-333 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07b51def5c6b2253135a50b68fa29801f9869be1b606852ea647cec3bb29b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:55-63 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:55-63 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"714503211db920e810003d5e8dca33fb7d2cb563db96773975b17ab96d5443d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:320-333 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:320-332 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e55eefa74276ecd5ea7ee29c254df4766b221f095ea5a1455d0052e2ccd7306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java:63-70 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java:63-70 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"460ac253f303c6ccf62a0d9e1dec57bcacfd49409298be7dd1cbc52456e2a1ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:1233-1245 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:1336-1351 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a916a323bd2f48543e231d2106516275efa16357d52704c4e6aa68d170bffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:151-158 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:173-180 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc27d92d104540cc430baaad91c8b27ba016b3dcc0f5ff0673f9335a5320db59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/BaseBottomDialog.kt:19-30 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/BaseDialog.kt:47-58 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/ListAlertDialog.kt:77-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/BaseBottomDialog.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a920aa7a87fc8d4322ee3758e7d249ced4976fef7a0c6f1d1bb50cb3ad89c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:145-153 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:288-296 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:208-216 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6385f85ff0f1fa4ec7730a4d649c91430171d5af72f248e9f3e4f9f10b0b46f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatPinActivity.java:44-56 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatHistoryActivity.java:89-101 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:334-346 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatPinActivity.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9a231f4fda04cd1bf421d72f3a6398cdf31c6d91322c260de7c11d800e7eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2720-2728 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2730-2738 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":2720}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c690e5a8eda3da653bf3de7380f77df85ca3dfd74d5002c79e6b5d7c63b455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BaseBlackListActivity.java:129-141 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/blacklist/FunBlackListActivity.java:62-74 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BaseBlackListActivity.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e8da6279915a6cb4ef6281bf920c392d7fb3bc2a3d4be7350941b65e3740b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamProfileActivity.java:17-28 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/team/TeamProfileActivity.java:15-26 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamProfileActivity.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"811338e0ca17f58b918f6690c2885f2ce6b383fe89bdf6a7edd44e5dd341086a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1133-1141 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1150-1158 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"462bb4f8a78e8b4f30a0db89edc11a54f9e8472e6778c4c1c9d15cf2a703fec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:154-165 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatLocationMessageViewHolder.java:111-120 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6707bdcf6b890f1eb893228edde3e94416d4776c38543e2dfa25dcaef2f91dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java:304-311 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:154-162 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:565-572 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f093bd7377f6ffd0c790c2b4018ddc93bd4e4538982d22e3c61bb4a5fd6bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:641-647 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:908-914 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea96fa86c1ae86278a1960e2fda6bd866beb76fad9ba00a6fdd26bfdc018969"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/FunContactViewHolderFactory.java:23-33 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/ContactViewHolderFactory.java:23-33 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/FunContactViewHolderFactory.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95c99c9ab1872415e6f22c85e38da9826ec0cbb2ba299b8d59e3f70dbf197b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java:83-91 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:692-702 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/viewmodel/SelectorViewModel.java:83-91 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:665-674 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac0130ebbc0028545186a4ac157844d050816f17a54fcf102de1b5f9680f0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/PushConfigParseActivity.java:22-30 | app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigActivity.java:45-53 | app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigParseActivity.java:26-34 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/PushConfigParseActivity.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"723be7fdad0cd19062b6f2b6d3b98d3ac801ab024d00f87ab96f7839f8615155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/PushConfigViewModel.java:46-58 | app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigViewModel.java:21-33 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/PushConfigViewModel.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a8fae1213636c5c31dad9c877ed6dfdad91821814cea661a91b466cb11534c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:198-208 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:272-279 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec96e9e87d6d389d0afab74f0bb917bddcf810f42ddbe61c36ef8238878ea88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:336-344 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:335-343 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96853861d309c65d38e4314991292a546685069abba3fedc449c371b6200077"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:382-396 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:398-412 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee127c8b1430b24912fe38f2e7fe297e97234fb967b5cda154cde2b176aa5a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotEditActivity.java:17-27 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotCreateActivity.java:17-26 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotEditActivity.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9531cb2a0be3b288e78bbd17bd7014d45b0248cbf3070c8cdde5fddae8959a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/com/netease/yunxin/app/im/utils/DataUtils.java:237-250 | app/src/main/java/com/netease/yunxin/app/im/utils/DataUtils.java:264-276 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/utils/DataUtils.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a29a60d3cee6687a6dfeb2bf2ed75a0f8ed3c879dc9231e277ada475be9991"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatPinFactory.java:36-48 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/CollectionViewHolderBaseFactory.java:36-47 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/ChatViewHolderFactory.java:65-76 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatPinFactory.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"992ecf7da2d61516b6b4ad7d7d533e02f69c8142edbdf350e01d32ff32f4cef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:205-216 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:218-229 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:288-299 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:386-397 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0130fb86fc6c37716e23dce05799ae8e9393a2cc659cdd88eb981cb4cbd24aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/popmenu/ChatPopMenu.java:267-276 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/popmenu/ChatPopMenu.java:409-418 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/popmenu/ChatPopMenu.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f29dc1115b8e5496526e8be759ff2320dd84028c262d854ecdd1e8956f09e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotEditNameActivity.java:22-31 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotEditNameActivity.java:20-31 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotEditNameActivity.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee340ec511941078d69de77cd6fcddc0c86613f77b00c101919ac90ea04f9965"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java:35-46 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatHistoryActivity.java:34-44 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"82366d67cf6137641f0af62654a4ca65890faa6a90707efa3cc2fa89aa8b00f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/BaseUserInfoActivity.java:86-99 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/BaseUserInfoActivity.java:102-115 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/BaseUserInfoActivity.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1f47afbe0422962e612a4e8d4f57e3d637f8fceb8920cd1f4a8d085d2361eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java:148-157 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateNicknameActivity.java:139-147 \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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbb35cf58c84412cceba987c86f9f03157d52af5b0d937f0ea1e88f6233321a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java:215-228 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java:165-175 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e9db253175056da7078ad193059864560067c18e9e217316db5e816cd7f2f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java:35-45 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamMemberSelectActivity.java:28-38 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3130ef7fbb94a62509a6b451811e1182c186f9acf4f04c45996b9cd6265065a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/com/netease/yunxin/app/im/main/mine/TypeSelectActivity.java:37-44 | app/src/main/java/com/netease/yunxin/app/im/welcome/ServerActivity.java:27-35 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/TypeSelectActivity.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"826cd248b556f002fc0d9cc2372a34fd680306c1a9b2e083c12a0d443a499c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:424-437 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/RecordView.java:105-113 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf96ac2cf184a13285ec5a4b69d2d561611642d880e2ba6809e72a64858533ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:875-886 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageParamBuildUtils.java:125-134 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44936bdc255a8da519c29351ff8d23c29f44ca835e680db8010b9f6a1e8b33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:123-136 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:109-120 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13abd4cb3f22e39316db004bfc81bb49ed1d15912768cefd2080ee126e4c9be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotViewConfigActivity.java:30-39 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotViewConfigActivity.java:113-122 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotViewConfigActivity.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"698a37d8884df284c7be1d308b70f6b7de80a28c64e08a0d584b7a9e2cedda04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:251-259 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:236-244 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4bdc77215feb52f21926c1881da7512c6f130f81171abf3e5bf6f2bb917382"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1255-1263 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1277-1284 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf57fcd0cad58429458694525a9edc280ad8e36bc3f51dd1aee9c6bea7964b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:33-42 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/GlobalSearchActivity.java:15-24 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03018b2534e11d60df3541a3aa957104a91fe41b5b27a687fa38b2662f0074f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:66-71 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:99-104 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotListViewModel.java:59-64 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"464fd59ecd0c932846ab5c8f7850c6e472bee7815f2c5a23042e147dd45520f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:100-105 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:130-135 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f61ea71625b70ccf4bbd1fdca013da5c7a6c2d0840901cb48d4f3a1d6109228"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java:553-558 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/model/ContactEntranceBean.java:29-34 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/model/ContactFriendBean.java:53-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37a048bf3767fedd2551e9f8619ee37d17fb3d5285c6ebe753beee66d028427"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:117-123 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java:96-102 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d9adc145fa508cb4f00e45e2248e410d9974bd6173ef52ae7d1d284a54dea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageSearchUtils.java:196-203 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:197-204 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageSearchUtils.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b466ed485e11f7e976733e4322696539ca5cb7f512bbba4d17afd694cfe54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java:37-44 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java:46-54 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b2fd6981da855fd93c97b5c197116b2aa78217b6e56b2588a2987d5136aa03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java:106-114 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:156-164 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberSelectActivity.java:94-106 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22d4ce13bf019eeeea7659c2e5c783e74c49dd140687731ee0528d403efcf2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerListActivity.java:42-49 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamManagerListActivity.java:41-48 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerListActivity.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a6d805db47a921d6437a3bd9857b7ee0287b1f31cb153f9980d3667fa8ebdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatKitClient.java:188-197 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/TeamUIService.java:261-266 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatKitClient.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"531083e8bad829162a7fbf1d30e43643640a0c98b40b0c1dea627a355abd498c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:761-769 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:1788-1795 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"503ee4fd5ac754657b4b917ac360db1ff0a5a0ad2ce43276d841136337731a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatReaderActivity.java:32-41 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatReaderActivity.java:31-38 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatReaderActivity.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe3fc702af557f5620683972127c2fdf7204746d7226bda74aa0e8b695da478"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatRichTextPinViewHolder.java:27-34 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatRichTextPinViewHolder.java:27-34 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatRichTextPinViewHolder.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e63a62c085ffca6b73d74f88ae40f9e2defc55bddc9b66885d132108cb62f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java:39-46 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java:40-47 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df9c6c30f6a5bbc61af578a36a45fd776b0a90589a225705644cc16f52139d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatLocationPinViewHolder.java:33-39 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:43-49 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatLocationPinViewHolder.java:32-38 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:43-49 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatLocationPinViewHolder.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"83320efcbfca7c896ca95861cb53787c268be608b51f3d9cab7756dd10b93503"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java:252-257 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:288-293 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c23acb0e7179e7cfdf86c9d3d2c35a99577c65636d0de880359e062c6108e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:221-227 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:121-127 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f599921eee3cb6a9ff7e866b85bb83aa5d1f271c41d4e7a6387460cc0f44790"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamProfileActivity.java:47-55 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/BaseUserInfoActivity.java:51-60 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamProfileActivity.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"51567012e9257e0a8e26be32c261c91bc2c1de3526f7b3895e5475c66511a2d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java:32-38 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java:30-36 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java:30-36 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatPinTextViewHolder.java:30-36 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1313dd058bb76f1e1703217ef1118b11f7f065b0738b141aed804855a80f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunContactBottomConfirmDialog.java:66-76 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/dialog/BaseTeamIdentifyDialog.java:87-98 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunContactBottomConfirmDialog.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e1bf8c67424d8c3ba8f0973245a569076e450fd4eebd2ff1b5f73571694306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/custom/MultiForwardAttachment.java:139-149 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/custom/RichTextAttachment.java:60-71 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/custom/MultiForwardAttachment.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6d0c9d8b78bd3db49bf5ac4c9321580718a46a6764b45fea7f558ef4b11ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:133-140 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:134-142 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4aab4509a24acaf9fe1757b96eca3c07f816fb4158d53072b09261f4a56750"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotCreateActivity.java:176-181 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotEditActivity.java:134-139 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotCreateActivity.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"071e1bb5dac1298ab31bd886c376e5719c9b0e1fc951763d7cbf6e8dc8a11e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java:113-120 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateNameActivity.java:130-138 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateNicknameActivity.java:106-113 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17cc51741fb8dbc3911685749b0f5d8486156135706990d2a7324b1c52852e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java:113-120 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateNicknameActivity.java:106-113 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4e78d5ff877e9bc8b62520f0a9ba55959ed4dd676eae1fff62440f05715b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java:134-137 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java:135-138 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe8af3537fb0c32cb33b65ae5d1f07bf9d1a0200e022de9f1497921db056602"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java:93-101 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BaseBlackListActivity.java:146-154 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"72853548ee2b32643d20d127ee423dc8afea765ae28cb108163fa972341d632c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:333-338 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:92-97 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:156-162 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f745a185e5cdc0f8a2bfe784907ecbe697474f3527d0271721e40b73fa47cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitManager.java:443-450 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java:404-414 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitManager.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2978f058aae0cab163b0a1f43af785a54265d8ca5910dabd24b3f1d8d49d68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:274-285 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:257-265 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3da0e27c6cce7f442dbf0fd932e987343acb2752638180bf60dd549d7c14fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatReaderFragment.java:27-34 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatReaderFragment.java:24-30 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatReaderFragment.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7a73e56a4086c665963bcc7347ccad6fbb2c371618e345a168d0a37792b7f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:230-234 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java:71-77 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"206f9ab2a883845fe45ae64599ee9ab9584270790757d3c1108b1430c93a47b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:683-689 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:653-662 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"53952c20dd1e17ab29d0fcf0f2499711a524dcecb2af76ced6a0a6c4a097859a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java:261-267 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:168-175 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberSelectActivity.java:112-120 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"db198f0a4870cdfffa0f96251147d924cfe7e0cd2377df466f7349223148f392"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java:105-110 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java:105-110 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2f1dd82c40ea0e82ff79ab78c77ea7b068ff13c5cbf903f665864a81632a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:196-206 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:99-105 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5c4df81d34e28c024a597aec5f4d472a9296910596d6ae8e156bfedbd86423"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:472-478 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupNameActivity.java:220-226 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f2113f5ebeec3c4dfaae02c39fa5b62812a9893ddeba78411ffdf1a69bb8ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/BottomChoiceDialog.kt:18-24 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/BottomHeaderChoiceDialog.kt:20-27 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/BottomChoiceDialog.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2cd47d648a5ecfa98be913d0b58a3a21b2e6d75f9cff9ac016e68c350e7a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:139-149 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:123-132 \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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae2bc4859be5ae0be0953466a4e57ce0167baa8bcff28d8231318fbb0fa16f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:119-122 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:105-108 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:105-108 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:117-120 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:105-108 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:106-109 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7923db6fdf23138067f965c32e6255bba205dd0de81fbea9f7b9e13ad7f946d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunSelectedListDialog.java:25-31 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/SelectedListDialog.java:25-30 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunSelectedListDialog.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e619c3546b0afe2adcc91bdc43bbe2580af8f20b655b4b60701e4a2ddef756"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java:282-288 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:330-336 \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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"70950758729bc841714762fd9b0e74c8ef481ad82f8d29d52b5cc4dbd7a8927d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:254-258 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:250-255 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4e7eb39dab6f45096602f1f405f55ac8a6f30b73d844d8270c1331e55a1a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:121-124 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:120-123 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cd679d3be1daf6f325b84782de3b3c8afa5bb4dcbe60451f93f48cb3281dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java:34-39 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java:33-38 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionFileViewHolder.java:33-38 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java:33-38 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec33d43508cda23fd2be8651cc5bbb2d0d7bcd078da80141084ca31e111b1513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:943-948 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:799-804 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b9f5b200e58148473b304dc5722fc6c848088b2bba24001c4cfcfb65830af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84\u201385 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:173-256 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java:175-259 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2728905271c44b6cc4836e16f989527e2bd1b686875a1957a586c31d9232c933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:188-265 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:174-251 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:188\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"66122371cfcdb177f13b6cfaab10f3bc7e8ca0f4af8d536db96bde961300e80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java:70-135 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java:67-132 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java:70\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd809f0221648bdce12d4b71ebc2f47c8554f31c70289347833738bb1261c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java:28-88 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java:28-88 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060ConversationUtils\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.common.ConversationUtils\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.common.ConversationUtils\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"61aafd5ed7dd45a51ecfd8c524b00cbf85ec5d2811d3363e7fedd0b42ccc0021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotCreateActivity.java:186-241 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotEditActivity.java:144-199 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotCreateActivity.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ba003b257aa28393dbdf69d02a1029201b6fc892b5844352ac2e2ad99cf83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:75-127 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:73-125 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:75\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:128\u0060 calls \u0060initViewModel\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:130\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"65471e57405b8983967184a8dfa3ff04b923f7c6c71c44cf708203c606a42c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java:48-101 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java:48-101 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"701538251bcb02b12c20519abb104f74992da098a75da40a89debbafee33e763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/LanguageSelectActivity.java:135-185 | app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/TranslationSettingActivity.java:104-154 \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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/LanguageSelectActivity.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71e762dccb06404115b139d792759091545a1ec335404eabf07ae77efeaf67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:171-220 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java:171-220 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"206e6a2dbd8b3c0bc106b74c9caa6077d6f546eccd9fe562b7d867d32c89beb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:223-271 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java:223-271 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1416b0c98ca5d6088ae55bbd4b7ea26f50c167b1a2029b95b9962a6ca924a1c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:203-251 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:197-245 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060MessageBottomLayout\u0060 names \u0060com.netease.yunxin.kit.chatkit.ui.fun.view.MessageBottomLayout\u0060 in one and \u0060com.netease.yunxin.kit.chatkit.ui.normal.view.MessageBottomLayout\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a929b8040c981c82a607c53caf2049aec17ad2caef4533a9e98f13335b784c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201348 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:49-95 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java:49-96 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bc43383be13e4ace3ccfce9d0b5351b4c5b3228b97b688b1ce994400f256ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201348 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:286-333 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:263-309 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccce8ea5a592d22409172e321d876aecc59b8a3dd10203d27aff0c5b6f81a6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java:114-160 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java:114-160 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25d179a784b3b0c236517cbe19f276ec710be2a2283ae5d91bc13e073c50d94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:275-320 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:187-231 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:275\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:233\u0060 calls \u0060setVisibility\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:320\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11c3647cf0cde1cb7460184a2f7c8e202d1c49425ebcf7b346ccb6e3989fd97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionRichTextViewHolder.java:39-84 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionRichTextViewHolder.java:39-84 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionRichTextViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionRichTextViewHolder.java\u0060 as WHOLE FILES: 88% 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionRichTextViewHolder.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe69e346148f00e9014c72fbd362275571fb2c30b63af7c2ed4080235a8cd5cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:97-157 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java:98-158 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:97\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f188d1c16f1e9caa0eaae380526f71efd2a1770b7ac83bffdf7d95b1f4e6e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java:88-132 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java:89-133 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java:88\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bff4c19809e49327d5a0a59a03faaed177a4bb1af17b881255e0b3fe7d8b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java:102-146 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java:111-155 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6e5d392e6a20f79455bbdf2b0f9db8a777f7fca88aa293d8eb6e7d0eff5b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:97-141 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:107-151 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:97\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f8c692fc5f9548ddd78fda42669334d925ec07400f9f84838ef6a09c414b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java:43-87 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java:42-86 \u2014 before extracting anything, compare \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java\u0060 and \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060binding\u0060 to \u0060FunTeamMemberListItemBinding\u0060 in one and \u0060TeamMemberListItemBinding\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad6a645bc9496e4ed033c7c802364a3c0b8b1925986725da9d4c70d562ce101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:171-214 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:147-190 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fed07d1a9f331d08929f730c40a8af3d3f6eff006bfa35373c97058cdd32625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:41-84 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java:39-82 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d580bee6aa4d006ff3be5f5f6f01c348f393d489e3b96355ccb994f6fb98fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:70-111 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:69-110 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:70\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad72ef1feab5a686004ee3218babee44477dfaa55e1a624a051a9fd814ccd724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java:97-138 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunCreateTeamFactory.java:97-138 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunCreateTeamFactory.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9848dd2817b9855e1d4f61b7630b0f35796c3278a03e502b6bec88d2a3ea4b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java:96-137 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/NormalCreateTeamFactory.java:96-137 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/NormalCreateTeamFactory.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df8b04e738176e43c66b4ea56a28efc1c7922c82cb360979d79610f32c21b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:185-225 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:189-229 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5eb38d07d80104759ff06bb8e8b4656f53c4b6bcb52c1dbb469f6c3798208ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201340 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java:88-119 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java:94-125 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationBaseViewHolder.java:120-159 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java:94-125 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java:88\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1073a2a11456345165bbfcebd138892b5612f2209a3868b449d3ed45115735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:131-169 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:132-170 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76310329d695a03dd16a4cbabac423b93d56ce2c9ece8af88f49369ac147d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:218-256 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:217-255 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:218\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed7b162346ae76e1b42d1c37d6bd70d5bdc1ea2fdc12aa1db2413f8bc6eecd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:82-120 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:82-120 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:82\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c021dc296c01f203dc07523192cc3f4ff34f36081807f661052e7884fa8d6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:110-147 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:124-161 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:109-146 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:124-161 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c91971f0303fc38ecc97180671131cc909daad69ff4942cebbce03db40837df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201338 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationP2PViewHolder.java:28-55 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationP2PViewHolder.java:27-54 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationP2PViewHolder.java:39-76 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationP2PViewHolder.java:27-54 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationP2PViewHolder.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationP2PViewHolder.java\u0060 as WHOLE FILES: 86% 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationP2PViewHolder.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c0053f19d23b770af1a52f4371c646d72f1f8796ab0e0454ea6f2171c88742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201338 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java:41-76 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionTextViewHolder.java:40-77 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionTextViewHolder.java\u0060 as WHOLE FILES: 83% 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b9bfbe3b1cb0b727c67745e459e78e6a75fb2b61414447f795614f54dc6a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java:45-82 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java:42-79 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java:45\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java:44\u0060 calls \u0060setCornerRadius\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java:40\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd753477ad55af3c160105a5b37e637e8d565e175c329bb787c82edf55be374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java:135-172 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java:127-164 \u2014 before extracting anything, compare \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java\u0060 and \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060binding\u0060 to \u0060FunTeamMemberListItemBinding\u0060 in one and \u0060TeamMemberListItemBinding\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a0a213d3e764b66a0d592dd9851c15e1c20937919c5b5b245b0c7ebb7bff6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:86-121 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:90-125 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1641647eb94669bc96d87498ef14a90b70676eacd947489063fad605717d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java:53-88 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatPinTextViewHolder.java:53-88 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatPinTextViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java:53\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf279be783f63c0cb8f6a97675bc97d6d91ecff83ed854c8d34370339fd8f934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:335-369 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:338-373 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:335\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ac213cecef7a27efa4cf523d3d25ce59536cf9bf4ecc014ca994115c128aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java:69-103 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java:69-103 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunCreateTeamFactory.java:69-103 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/NormalCreateTeamFactory.java:69-103 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java:69\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5a56c527d78694713cc48d14c8d91d9d86e84066ac65759e6266d01af7a64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:272-306 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:237-271 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff82500765ff918f3a3e20075ccea8e8b3eb23cf34ceed7cccfd8ddf8512d789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunSearchFriendViewHolder.java:36-90 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/viewholder/FriendViewHolder.java:36-90 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunSearchFriendViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/viewholder/FriendViewHolder.java\u0060 as WHOLE FILES: 88% 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. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunSearchFriendViewHolder.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb5e0c029d1e7c4f966851dae2294d023bbac0689c1c4eacfddb11a2198797e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:260-292 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:316-348 \u2014 both copies are in the same file, so extract the block 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"65943d59a606a82533c2a5cb4a349617b8cc6c48fb9d5d4fed4a5bb69e29f1be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:113-145 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:94-126 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 126 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:113\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b48be6d95aa4df2e21c9323750487f6c8f057c365e2b4e341688dec066ad5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:93-125 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:94-126 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 126 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:93\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd7aa844c04be0d8e2065d1f251ccab6d85e55719659e1f0a1ccba9740e1dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:38-70 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java:38-70 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"34672cb729431cd19fa95d0b4408398e4ae96b1561c6463241e20fb150bdf65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): aisearchkit/src/main/java/com/netease/yunxin/kit/aisearchkit/page/AISearchViewModel.java:152-183 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1657-1688 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060aisearchkit/src/main/java/com/netease/yunxin/kit/aisearchkit/page/AISearchViewModel.java:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.aisearchkit.R\u0060 in one and \u0060com.netease.yunxin.kit.chatkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aisearchkit/src/main/java/com/netease/yunxin/kit/aisearchkit/page/AISearchViewModel.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9468afda66dc7c7769ebbc62011a004fa752c8b92b796205ebdc95bfdbf8e2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:185-215 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:170-201 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:185\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e611b5622717f73011e2b37ad3dcde56150f4730c56f9f92d665f6d9322f8e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:342-373 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:247-278 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:342\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:375\u0060 calls \u0060switchAIHelper\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:279\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"db84492cb19332df392a4283499499b7e68adc5fe8f5079c65ef3845b392c70e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:407-438 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:392-423 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:407\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060AIUserBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.AIUserBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.AIUserBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"866e750f0fe94148e2ded2636b3a8625a416c70486bea84aade51cc10c6f0e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:140-182 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java:151-194 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26b4935467faad121fbab55a0e8d70b2b5bcbcac72c194175732afb3e8be90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java:91-121 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java:90-120 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8a0d44eb1f96ff0ca4c44e97a16f2d3609c7bc60631bc5e5974a86d9620753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:444-474 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:508-538 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java:444\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fa762109b8d736f74dbbbfab8c4a08af3ef66ba1de0a074fc20b970f47272f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunEntranceViewHolder.java:35-65 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/EntranceViewHolder.java:35-65 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunEntranceViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/EntranceViewHolder.java\u0060 as WHOLE FILES: 87% 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunEntranceViewHolder.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d511fa77b226ee64e4449ef019f6bea7a39635f1e1b3668d0b484c192ad8cb65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java:30-59 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java:46-75 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadc5e53fbe4d0fd741b77c5ccc9ccacd5833a93facb9791255951baee3cd59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:162-191 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:161-190 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"343e9f5ba52140a8a42b13027363d445270df6df4178f1cd297a9e7f1a4e80f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:265-294 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:269-298 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.common.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.contactkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eae3baaaacfaa4755c24878ba83c1c28faa79ddc80f317918f16f86e7ba125b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:233-261 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:287-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:233\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060V2NIMConversationResult\u0060 in one and \u0060V2NIMLocalConversationResult\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"996e95d817a4bf571593b1e81bbf0426eb5d9088f4a21299ab05dcdc0db6a5a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201330 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:207-231 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:241-270 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:205\u0060 calls \u0060getConversationUIConfig\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:238\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98db1b8b259be0d0f087b8cde81a7712229febab423cc2e39c473522837c86f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:65-93 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:103-131 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java:65-93 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java:103-131 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"097f1b4423de68fbe2a1687c43020e3712f3d2d32c99fe1676effa2293c7fd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:152-180 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:152-180 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:152\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060IndexBarDataHelperImpl\u0060 names \u0060com.netease.yunxin.kit.common.ui.widgets.indexbar.helper.IndexBarDataHelperImpl\u0060 in one and \u0060com.netease.yunxin.kit.contactkit.ui.indexbar.helper.IndexBarDataHelperImpl\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:182\u0060 calls \u0060configIndexTextBGColor\u0060, \u0060setColor\u0060 and \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:182\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40e78a229a14fd0986d711f627c492899792fefcc31147f0df506248df21e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:209-236 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:201-228 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:209\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c153d5c0ea6caf9fb5d9700c1ae53cdbd4cadbf39d97283562079ef9bd80a61d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java:51-78 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java:52-79 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java:51\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aacb9d281efcac92e4c3ee916cb35e8684b52adf5098984fbfddd681afa8d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:229-256 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:233-260 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f6656123980366ac8c4042e7d98e2b5def7174ac2e145fb6be1f0661f08891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java:70-97 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java:151-178 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java:70\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e42d74b8af1e4920e03951a0928b564fac9b4a74ab978f987448951d6bf502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunConversationSelectorAdapter.java:37-64 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/ConversationSelectorAdapter.java:36-62 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunConversationSelectorAdapter.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/ConversationSelectorAdapter.java\u0060 as WHOLE FILES: 82% 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060holder\u0060 to \u0060BaseSelectableViewHolder\u003CFunForwardConversationSelectorViewHolderBinding\u003E\u0060 in one and \u0060BaseSelectableViewHolder\u003CForwardConversationSelectorViewHolderBinding\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunConversationSelectorAdapter.java:65\u0060 calls \u0060setCornerRadius\u0060, \u0060dp2px\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/ConversationSelectorAdapter.java:63\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunConversationSelectorAdapter.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f05d8e4d1334eb3292784fbf903939fb218ac8db823239c048967cbeb424d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:244-271 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:227-254 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21b184dd26ab39965c27d8a99ac06badeaf00278f61e55abfb3bf7896fedc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:212-239 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberSelectActivity.java:169-196 \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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:212\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:211\u0060 calls \u0060setOnClickListener\u0060, \u0060setText\u0060 and \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberSelectActivity.java:168\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d245f80648f0c727a917cd22a79fd30d03532989b70c5a79e19352bcfa79e606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:256-282 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:233-259 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:256\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7b59c8f550e7daf59d783f046af2c9ae56dbed3e423f35ea9ecdae1c4651b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:87-113 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:134-160 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:161\u0060 calls \u0060searchFriend\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:114\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4206eb45c5488e2af266da5d52e42d552135eafbfad00d2b09eb77549396be7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:159-208 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:159-208 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:159\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7938e592e7e9abad2ed871c15daed9c8611cb7945d8c02c088de97500adc34eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:576-602 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:995-1021 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"d402dd5a9111fba0f17bfdfa6de5fd848a098f819525397a03d951d5c3198ec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 4): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:91-115 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:71-95 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:71-96 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:71-96 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:91\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4940b9e9006f300ecd2baaee380b42faeebdd58c6d0c9a05f319229dc1a8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionRichTextViewHolder.java:52-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionRichTextViewHolder.java:52-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatRichTextPinViewHolder.java:51-76 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionRichTextViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionRichTextViewHolder.java\u0060 as WHOLE FILES: 88% 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionRichTextViewHolder.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e2886de81399459662cb15b0611110fb37219402ea9158cfc24b1144fe866a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:169-200 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java:170-201 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cc3b5602de0e2010d4e94c40679579fb8609c3b79460d61b37e21b358d2d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:173-198 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:127-150 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:173\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6558c1669a99087156a20234f7ed8ef227ddee6f78a95c0eb122e1bd8b4859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java:53-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java:298-323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3e4217af0b981d6d0dc40f4b0df2247f5ad8ae1dc9d517b04c7ffd25fd4a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java:27-48 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationHeaderViewHolder.java:36-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060AIUserBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.AIUserBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.AIUserBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cbc256ef0ddb0265fc75eba5c9f60d0edc3c91a9d58a6301ed947f1dba8841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:347-372 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:330-355 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:347\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e820796765675e25de166641f21113c9e696a895f87f131e8a0925b5c1047d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:731-756 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:444-469 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f71c43f3248b10353b0e4c126c933fbd41d04a17b04d09856323366d5dac6ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:115-139 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:114-138 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a662976fa8a15550cb771a3850c028d3466910b90209ab0f9f40a1ceb795c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:474-498 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:328-351 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:474\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79a412288d9a8f488dbcbefec580edaf07cc164cfec414f53f1c76e215f235e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:901-925 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:757-781 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:901\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f26973bfc649354eab5005592d2846c031afe7ce58b76e3a839e8943bd08e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:61-81 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:80-103 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:61-81 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:76-99 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:59\u0060 calls \u0060changeStatusBarColor\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:59\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc77cd1952d957aba1f629c860edf6fb1889e9b052850a3050a0fb332e391fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201324 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionActivity.java:82-85 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:53-72 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:172-192 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:199-222 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionActivity.java:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionActivity.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb7460aaf9d0e200d5f904b19170048a8784daa8d90e0b48448ab99885f1fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java:100-123 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:423-446 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java:100\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2c3fbcc35ce80ed70e17e04c0556940ae6e86bf07666029ccdd18a2f7ba3f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java:89-112 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/ChatViewHolderFactory.java:82-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2538c30755b7bd0e4c933aee2fdeb13c1bf642facdb251f58d46a8203d645623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:143-166 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:142-165 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"38efa63d573bdad0477e2ff98f559ddae370520963da89d49f6dfafdd2054b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java:244-267 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:352-375 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f55ba16ce556618448aff80f249bd1022373827d204fdb95d08011afef30123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:175-198 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java:202-225 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 122 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbe989b4d2c502727e17b208dc5838e8dc4a0a2774fdb9752edac15f0d5e1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java:37-75 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java:37-75 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2488c331710273c3130dc3689fd5470dfc6167bdc27fa39bdf5bb9d2bfe287c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionLocationViewHolder.java:51-73 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatLocationPinViewHolder.java:54-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionLocationViewHolder.java:50-72 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatLocationPinViewHolder.java:53-75 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatLocationPinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatLocationPinViewHolder.java\u0060 as WHOLE FILES: 83% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionLocationViewHolder.java:51\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionLocationViewHolder.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60fe5ba27fb46d8c9e957cf70e799d7cf3b69da57110b4011bbcd4e524177eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java:149-171 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java:158-180 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java:149\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"008c0f277ad9ce2b1bbbd71f9095176818026c58f19de3dbde573b69e4adfaf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java:64-102 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java:64-102 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060IndexPinyinBean\u0060 names \u0060com.netease.yunxin.kit.common.ui.widgets.indexbar.bean.IndexPinyinBean\u0060 in one and \u0060com.netease.yunxin.kit.contactkit.ui.indexbar.bean.IndexPinyinBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb2db4c1f5ddd4ab89c22ec1af37874b9815cd609ad65ca32c8c84b155f2487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:206-250 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java:233-277 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 122 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:206\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"242b31bd5ac40455796a33a4fa8c4c3c62efa95d8a993d90604debeb5303da8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java:62-84 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java:49-71 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"30897b901d3d36ff547b8856e4da5a26d7d4a4d2d7c6005b3f42a3fccd4d44d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java:671-693 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java:699-721 \u2014 both copies are in the same file, so extract the block 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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java:671\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"335a97855eba75f85186260c26b2e81a4bfc44d0b8b2168ae7efca8c1a5ddeb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:173-194 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:109-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:159-180 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:109-130 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:133\u0060 calls \u0060setStroke\u0060, \u0060getColor\u0060, \u0060getContainer\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:197\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac310748e4febccca1b22a9a9b6b738dafd11c1f1f611064f1b43509d3bf05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:865-886 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:723-743 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:865\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cbd63730e83b719f2a61361e24af8ecc8c57e9bbd1d959f56d1a359aa03f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:186-206 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:157-178 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:186\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f77768f37b60723e567afd5bcc0312fe76f0701853185a7337bc297c814dd16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:263-284 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:155-176 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:263\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c4b2890728285fc0abacf943ff652ea9065f39c6bce52a4af6f786fb3beeba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java:39-60 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java:39-60 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060IndexPinyinBean\u0060 names \u0060com.netease.yunxin.kit.common.ui.widgets.indexbar.bean.IndexPinyinBean\u0060 in one and \u0060com.netease.yunxin.kit.contactkit.ui.indexbar.bean.IndexPinyinBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a25682d3c82134bc95ff4efe3ca9f371e707adf1c7113eadd8b6029eb5ca7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:65-86 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:45-66 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 126 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:65\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9694bcad0c8bc69336225402e4f1356a3a294730dcb8d1e543ca1c9b4ab1d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:45-66 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:45-66 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 126 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:45\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d0df8912bf466ada4bb2fe5035cd44679e2a56d2df1148ab82116e4df17b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunViewHolderFactory.java:31-52 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunViewHolderFactory.java:31-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunViewHolderFactory.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e9f895be4d59b204b94cc82ad7b87b964e2ac3ccbb9e7375da8f0fd80e8953"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ViewHolderFactory.java:31-52 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/ViewHolderFactory.java:31-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ViewHolderFactory.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfb56f1ba888a05fcf61e666a15821f583f6612b13fc853f2ab6ac22528af64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java:27-48 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationHeaderViewHolder.java:27-48 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationHeaderViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060AIUserBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.AIUserBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.AIUserBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f2b4efb6adad53cb3622af5735cb84b75ffac2f7ac60a5647b4ce27f616bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamSettingActivity.java:41-62 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamSettingActivity.java:32-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamSettingActivity.java:41\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamSettingActivity.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9e02a3fb1de7d51873e64008ee6fd9fdee38c1bfdce291eadbbc3fccc66a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:447-467 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:505-525 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:447\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"21571dc3f5e13e2a6b189c8eed29d450a2a100119fbdd5e4c0b4285018bbb545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:246-266 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:256-276 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"741335320c568950bc66e979c4af3096bdf9ba071e625cec731de67cd97c11ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java:82-102 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java:83-103 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"131e0d03eae72753eafb6af2e0a87fd55fdc13e6e1dfbfad6746f4184dd1f9d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java:118-138 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java:108-127 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java:108\u0060 it does not close everything it opens, so those exact 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, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java:127\u0060 calls \u0060openForwardFile\u0060, \u0060getMessage\u0060, \u0060getMessageType\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java:138\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c65ec056014b288733108bfe1ba9aa08db6e9179e416214d488cc054066f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java:96-116 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java:74-94 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java:96\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8c60fe45ff2d102e50652e975cf433959dba432bda5862d852d3060e2b31c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201321 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationTeamViewHolder.java:26-39 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationTeamViewHolder.java:38-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationTeamViewHolder.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59d53308f1970e73c374d143c8f1cc9e95263b86b5919720ab8228396247634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:759-787 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:832-860 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:863\u0060 calls \u0060hasMore\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:789\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a704602f2eaa055a33f25ca3e9ee0634e84c5961a52c3e8bc6ea5ede53ec640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:171-192 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:109-130 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84bfa4eb6059803efe4c4f6557bbe7bd5ace7e18d657e2e9bdcdd12e1b80918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java:79-97 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java:79-98 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java:85-104 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ac0efd82c0c66d5a9c8f8b1868ddd026d060bff85facf387a728236a8d7fc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:104-123 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java:105-124 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4830dc48b0daef541ac4b02693037b9fb74824b5f22f8db7a0886928a578c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:57-84 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java:57-84 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79343aab2f7c1e43d1a0c369ebb37f60ed1f782d0329c30793332cb154f31bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:336-355 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:328-347 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:336\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e6d7d592ccd33bbd76ba87fd918b7ab73a8c89c68f5558b2fa3e395f8494dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:143-162 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:163-182 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:143\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88886f25029461a7b897d25e772976b1ff214bd1620bac0c2be535500af7f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java:56-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/ChatMessageViewHolderFactory.java:58-77 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/ChatMessageViewHolderFactory.java\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ChatAudioMessageViewHolder\u0060 names \u0060com.netease.yunxin.kit.chatkit.ui.fun.view.message.viewholder.ChatAudioMessageViewHolder\u0060 in one and \u0060com.netease.yunxin.kit.chatkit.ui.normal.view.message.viewholder.ChatAudioMessageViewHolder\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b44f7f0858480fd905a93cb0f5ad2c86ddc7c9d3d15be2f74f5dc3184dbd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:125-143 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:118-137 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:125\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2f1d5fcc056e68974214f920f228ea8e48365108414d456764379f7c9f870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:403-422 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:285-304 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:403\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2f9f53a896616e238c96817c8c52def9c552d1eb0ce68942ba504e80f406f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:358-376 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:380-399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:358\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ee5657a2fec97589c2568daf55da1739e3838494ec1b50c447664ddab50e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:67-85 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:74-92 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:66-84 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:74-92 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:67\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1c7b4d9b94b73965414d85656af8df79e043b680f4323d5e22e90d233959c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:323-341 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:361-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:323\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"be805fcd479ee369e1ac5e4e959cab1aab6014a3a7e96ebb18464be42fd6024f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:107-125 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java:107-125 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7ef93ae0e67d5e330e4202f7452e46d2d8448d0e06df50253adceb2ca19b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java:84-102 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java:84-102 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"38463d6b2c46594e8074c46b0bea0739dd65b5097eb383824b2e9773eb8b3f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:285-303 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:277-295 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:285\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060view\u0060 to \u0060View\u0060 in one and \u0060android.view.View\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab45d2f27a1257a5cea147914d3d16cab28806f23368fb82507c11bd59eba892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:707-725 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:712-730 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b49c7374f432d1cda3ea7a4e2e2ed3eb4b26f454d5a30ce2bf85ff70c887e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:682-699 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:517-535 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:682\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e72f02b91af1fdf021979d777ec1ed62967a8b4fd85be47df5f026e94c6b963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:60-78 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java:61-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:80\u0060 calls \u0060isEmpty\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java:79\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedd9e1d99d0c0db1f6a36c6707bdafb0f8a37faeec939d43679578230489e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1498-1516 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1898-1917 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1498\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7056624e8a00fa11398973c32d88832a7aa8802083a2b16febba916f26b2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:434-452 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:466-484 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:434\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82436827b808a7bd59ee24a57224c524e3bd76cf7f5c54995d95fe27f66de5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:43-61 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:102-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"058bb4ab70e4bb9c6c28f2864d62e30083b3e7a1e09ae1a485d74005e9ae90f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:48-66 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java:54-72 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 122 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:48\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45ffd5df67bdff247597758d193a3facd8878dbfc2e14619fb79b500d09a0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:307-325 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:332-350 \u2014 both copies are in the same file, so extract the block 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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:307\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e35cfdc55e882232d6f9c51ba0d8205ec002f34866d293ae78a0d0eab0123a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:160-177 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:160-177 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:159-176 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:162-179 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4671e3e5cf3ba13cc1dd2224d0833ba38a499dee4cad2c340bbc0485f8dc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java:54-70 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java:70-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionTextViewHolder.java:55-72 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatPinTextViewHolder.java:70-86 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionTextViewHolder.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java:54\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf699d71e55b876140a38d3b811ca7cc567d6b77b4823d3e35b42d5bd692b2e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationTopViewHolder.java:26-40 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTopViewHolder.java:28-42 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationTopViewHolder.java:39-56 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationTopViewHolder.java:28-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTopViewHolder.java:28\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060AIUserBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.AIUserBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.AIUserBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTopViewHolder.java:25\u0060 calls \u0060getAiUser\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationTopViewHolder.java:25\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationTopViewHolder.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"829dac5a795ee7ffa12383d5415923192bd9c58eb23338d1eda5a5eba8733b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:226-243 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:180-197 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:180-197 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:226\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b8e796101ac502d6af8e77825671532ade13e57dd05ac0726b20ab29d06952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:242-259 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:242-259 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:241\u0060 calls \u0060isEmpty\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:241\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"810d1e3abc13a03bec1d393abe85b0e17d541d49c187f445f108caabb5b470d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:730-747 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:735-752 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7795ef385a8b8f8224c50522a421736019be26ea1594f663950f5bf65e822a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:204-221 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:156-173 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:204\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee012a0d930cd2ea6a0010f225e96a6bda81af0176333d6c4c9506830682efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java:112-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java:112-130 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"498d389ae63bcff623ea80edee4e69753135e71d5e7738f9beddd051ff43ba41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:105-122 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:99-116 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:117\u0060 calls \u0060setVisibility\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:123\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2c6eabcf1fc5fee81e5f164d5e1185346b9a4267474e9b40e7bd28bb10a0dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:139-156 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java:107-124 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e8874442b44dc78ba8f8a6d8e0be921d398eb7268fd70f889e9a62b8c6e894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupManageActivity.java:393-410 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupNameActivity.java:188-205 \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 \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupManageActivity.java:393\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupManageActivity.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30d1021e083dc3ecc260c5a263361e3cc78172b13b4f541ac8fe9810278ac00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:142-159 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:144-161 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5caf75d569ca8ab7672fac9ab83c461226678c29ff47431fd032d959e1c90f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:274-291 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:277-294 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:274\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9811ef70f762e1bb295815e612704160940c346d09401edfd045f8e59844db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:447-464 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:432-449 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:447\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e837696a4096d09a737a6cbbc94366ba69f3ad06db16d6cdd8fee38357a7d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:491-516 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationGroupBar.java:174-199 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb61e8043bd6e2e1614c300a8088e50823e2a21c81f94dce3f77c0046301400a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:315-331 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:191-207 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:191-207 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:280-296 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:190-206 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:193-209 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:315\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060message\u0060 to \u0060ChatMessageBean\u0060 in one and \u0060CollectionBean\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"073fbbcb0e6ad3e448ea5716e7f7c8655cf0c367f23e5079a091c2d1aef4522c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java:49-64 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ConversationTopAdapter.java:56-72 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java:49-64 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/ConversationTopAdapter.java:56-72 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java:49\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060AIUserBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.AIUserBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.AIUserBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d1c836036b4db601a3ca401cf03ed98f6e482557f03c0903dd0b6364c90b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatCustom.java:85-101 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:95-111 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:91-107 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatCustom.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec90ee841605ea941c665e3c36a51b150a36338841e36227524097bfd06ed88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:286-302 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAIMessageViewHolder.java:89-105 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:263-279 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:286\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3280b96ca57de2fa0ade66ef976a9f00f79ec0e3eb69f36d348b76a29f6a795f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:372-387 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:438-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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:372\u0060 it does not close everything it opens, so those exact 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, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:387\u0060 calls \u0060add\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:454\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e94890a9495ea4e907eabadef989444039aaea9fc536baa00c3866290729a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:57-82 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java:60-86 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"08861f1bbd2a1567f12f34f7dc6b1ea085178ae7017ff0a94401488ab88bab16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:82-98 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java:83-99 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e49e928900ff1d230a8951dbeafdb4ab40d2d495359d76fe151d38b05ff69b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java:101-117 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionActivity.java:94-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac50095ef8d3f05a302ea32fc544c6415878f877f76f409dc3cc02be2bfbc3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:501-517 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:362-378 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"643ffbd5d55a765b92e93a9f30ec60933f208afd5aff129203ba90178b0782c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java:98-113 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatLocationMessageViewHolder.java:92-108 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatLocationMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java:98\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5322be33e82d8737ef3d23868adbf231930991c597c25804c94516fa37e61248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:424-440 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:306-322 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:424\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"885a898806d8816b75f498b922110245a6adacf4b323e0bf31de634b205f37e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:212-228 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:189-205 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:186\u0060 calls \u0060getAttachmentProgressLiveData\u0060, \u0060observeForever\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:209\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6eaf8fa8e57791163492115ec66d20ade24407494600ffa0ad37d244259f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java:18-34 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java:18-34 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060IndexPinyinBean\u0060 names \u0060com.netease.yunxin.kit.common.ui.widgets.indexbar.bean.IndexPinyinBean\u0060 in one and \u0060com.netease.yunxin.kit.contactkit.ui.indexbar.bean.IndexPinyinBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a18072554825e8cfa943b58afe6a709b103468025e04540950cee73cd7d259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:131-154 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java:146-169 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 122 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:131\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c057ba1ee504005ca13e8ce3109bc993c6cd704b015902132c822476213fcd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java:83-99 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java:144-160 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060TeamVerifyInfoBean\u0060 in one and \u0060BaseContactBean\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf3a36300a4c4436ebf680b2e7327f0573b3b254917658c93ad40543b37b121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:120-136 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:116-132 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d485257825599b72596231c6fc276fd79de711c82497faca6133cf966e70708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201337 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java:36-66 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationBaseViewHolder.java:52-88 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"54907228403312174f55af54b216f3b7229755edee90591b3c143232b7ac2b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/SelectorViewHolder.java:35-51 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/SelectorViewHolder.java:35-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/SelectorViewHolder.java:35\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/SelectorViewHolder.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22389c18afc4f0e3a402701ba5b1840ade32583a78d342163d8e4f4637f4569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:494-510 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:479-495 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:494\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d2af358481607fadb84598ba9399c28fb946e2fe600526a061cdcc08bf2982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:77-92 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:81-96 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:76-91 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:79-94 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:75\u0060 calls \u0060attachMessageOverlayView\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:80\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b698f2719e1f8f7ace85249e364555f9e2e175a89a987de2ea648322b44b53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:105-120 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java:64-79 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java:95-110 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java:64-79 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:105\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da1e011d96546cbea0663013c00defd1586994872fb9a1968346afa1c4c5bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java:131-146 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java:165-180 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java:109-124 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java:143-158 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"659b414240488fb83ecc4a4a82394dcd091b7a4dc3ec67476edc3f559057c670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:105-120 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:87-100 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:115-130 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:87-100 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b79455e970e85621978354e537db350b253c77edf9a47b66f1ed9a8dcf3114c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:743-757 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:763-778 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:743\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"3687b1d78c486ef40e5c530c00053116f84768e785f037619b8e6f52ea04e284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:210-225 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:210-225 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feef5cc648cb4d18d53a906ad91fda3c50b38c67c00e739d361c0f48b80908e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:204-219 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java:205-220 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:204\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9d2a1197222e62ffd4fc7b71b12c0ef99867f6e69391279a38a8f3de90452b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:386-401 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:396-411 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2231801876c8619e204a28950069433d9efc69dd0d0ebb4b2ee7d5cd0b21b8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java:60-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatLocationMessageViewHolder.java:46-61 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatLocationMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1250f430d24cc9d8598409e282bb376a96704e387b1299010056f84011d0b0fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:362-376 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:224-239 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:362\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:378\u0060 calls \u0060removeAllViews\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:240\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb93d19fb96818bbcc6cb291eb98a4c138c02c3da6ba46a3b4550fb993f13247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java:70-85 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:484-499 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"794436adc8d3896ccf04b91ad73a52f38e39e90f2f1f811a7128af8945867dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:571-586 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2809-2824 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:571\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d77221ce100c4e2694b0fd50bbc380c885cbb9d46f0eb8eb006737e147344f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java:150-165 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java:173-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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java:150\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java:172\u0060 calls \u0060startsWith\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java:149\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee5d56969fc73aa9a2bb51a90ff6e91371f4b7647565bb57d43e49a60d67ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:147-171 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java:147-171 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"309a7bb894ff2569a9fd6a00d806c14683a0705a4078d584368b300d95dff2a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:59-74 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:59-74 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a3ae3ac0901bf54fe914f922ee26809054935903aed6408eb5d33173b785f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:654-669 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:633-648 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:654\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa96d96c463d40eb3a901fb8cff8db4c17dfd0c561bf43b71859f6c28bb1bfe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerActivity.java:36-51 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamManagerActivity.java:35-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerActivity.java:36\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerActivity.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a890b2acb374715630d82190c275fc2b5025e9039c8f8a2007d18d2caee0b2b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:138-154 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:166-183 \u2014 both copies are in the same file, so extract the block 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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:138\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060V2NIMConversation\u0060 in one and \u0060V2NIMLocalConversation\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b303292fdeb50fa71cfe518fd681e189e19583bffc0685677b67c6b9d2a398ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:479-493 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:496-511 \u2014 both copies are in the same file, so extract the block 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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:479\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd59262481fe0509957d4ca21c5680d4edeb4028befbf4a1f158199e8d5cd3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:197-211 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:120-134 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:134-148 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:183-197 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:119-133 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:134-148 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:197\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:119\u0060 calls \u0060setStroke\u0060, \u0060getColor\u0060, \u0060getContainer\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:196\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c38b7398d9d46684c7ef88d351feabe592b9f0bcd5a005ba790746483414153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIUserSelectorAdapter.java:35-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunFriendSelectorAdapter.java:35-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunTeamSelectorAdapter.java:35-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AIUserSelectorAdapter.java:35-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/FriendSelectorAdapter.java:34-48 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/TeamSelectorAdapter.java:34-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060bean\u0060 to \u0060SelectableBean\u003CV2NIMAIUser\u003E\u0060 in one and \u0060ContactFriendBean\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunTeamSelectorAdapter.java:50\u0060 calls \u0060setText\u0060, \u0060getMemberCount\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIUserSelectorAdapter.java:50\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIUserSelectorAdapter.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d000052f31623cda025b8ab098d0cb93cfbafa14e13eb9bb8b67e49cc28ab69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:146-160 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:141-155 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:140-154 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:126-140 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0b96f5cd6f1203bbbb7650da72bfccc9ce4cc6255f8f8716c5db1d076e0154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:158-169 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:138-149 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:177-191 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:138-149 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060AIUserBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.AIUserBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.AIUserBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0329d39e881fefad00bffad8423dfe5f55e1f158dd79d8fbc0733b4e1002a549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:83-96 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:111-125 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f09b7d1a448e147ac8fa9bb816677c7302f2adc105185c2334b9222976d3bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java:88-102 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java:95-109 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af7ecd1fc10ad9e19ddf4b9226c66217cb23afcd5cf81d45aca56d72a7a9f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:288-302 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:277-291 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d77dd98dbbc0e6b4d2f39622eef6b72e236e6dcc2cb15cfce47fc4a6307afb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchDateActivity.java:28-42 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateActivity.java:24-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchDateActivity.java:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchDateActivity.java:27\u0060 calls \u0060changeStatusBarColor\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateActivity.java:23\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchDateActivity.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"54afc99502c3051e40acc52931e41090f2e3a456667c86d72d7fb65dc372f6ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:654-668 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:659-673 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"f764df3bf4d3ae7f2134911620b8593e70fb8c50282dfcbb2f74973b4d35480e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:353-366 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:416-430 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:353\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e44639f100a7e6a6c670e95ce19806f817fa936d8e5b5ce4fe246941b754748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java:136-150 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java:137-151 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"47aaf5e2e4570e3abaaddd26ea813a830d61fba8a854045f44af659c9552850d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java:66-81 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java:66-81 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"75276138e33deded147eb47fde3f4912a86105db008af78b5a05286488aa0027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatPinActivity.java:61-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionActivity.java:54-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatPinActivity.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c78c1414414969b0026fecfda818d70e31aa22aebe834049e6a6252cdd7b538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:215-228 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:298-312 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:215\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e5f2b2d75c4f9664f607a63e6b30a91814e7ff48e3d93b1da7c416695ef374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:94-107 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationGroupSystemBarHelper.java:22-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:94\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5692a02f385353b0e42fe0042ebc4d5fa844f21985853b7a23feae32982d7893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatReaderBaseActivity.java:84-98 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/VerifyBaseActivity.java:72-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatReaderBaseActivity.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5d083075f5e75d5d3f2c35e1a23f93e627c7a28b087a97d360644f17e3f5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2866-2880 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2913-2927 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2866\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":2866}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dc92fa1d2365455cf0995975c9a55b39dc31e4aed63a15fac6ddf56cb47562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:726-740 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:757-771 \u2014 both copies are in the same file, so extract the block 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59897776a80f59e7822e02917caec65ced2090359ad4b53ebded001a36c1e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1238-1252 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java:132-145 \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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1238\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c895a6ac5b7f5d4ff4be611538bfb4c409532aaff52faf0bb81212bfce48d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:49-63 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:65-79 \u2014 both copies are in the same file, so extract the block 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 \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:49\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"914fcb8d66b44a7127e5283582acd90d18577ec1e743884ba413292b53c8bd30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:348-362 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:352-366 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cefe116afb066c9c40de49df33840ab9fc486a750d8048b07736d469a7c7334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAISelectedAdapter.java:33-47 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AISelectedAdapter.java:31-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAISelectedAdapter.java:33\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060holder\u0060 to \u0060BaseSelectableViewHolder\u003CFunAiSelectedSelectorViewHolderBinding\u003E\u0060 in one and \u0060BaseSelectableViewHolder\u003CContactAiSelectedSelectorViewHolderBinding\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAISelectedAdapter.java:32\u0060 calls \u0060setCornerRadius\u0060, \u0060dp2px\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AISelectedAdapter.java:30\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAISelectedAdapter.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab8e4ca1d1d0f2710bb349491e101d73b20e97fcdda6658db43fde47edcbb88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:50-64 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:30-44 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"590b51249f958e67da66990f05e8ef69a7fb7a6904a41e9f33800eeca30b4be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:30-44 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:30-44 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0bdab34cd702fd047c885feb52e1adaeb85a9cab7be5473275179ec9c8ab79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:47-61 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotListViewModel.java:40-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b805fd895b798694949f19a64f15c9acb886f346feef55c2be4bd8572a04efdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseSelectedDialog.java:37-51 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseSelectedDialog.java:38-52 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseSelectedDialog.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseSelectedDialog.java\u0060 as WHOLE FILES: 98% 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. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseSelectedDialog.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"29efd358123baf15bc8f394052772d77ec4d2ebdbaa96575aee5a348d8e606c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java:141-155 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseForwardSelectorActivity.java:267-281 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6ea67d44937f4787ae9b2cfc1dcd25236bf4aa966f957f746928071e3b234a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:190-204 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:209-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:190\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1222ca05287754372d9c83f37d01c4794294d95a1df49aca772827c4b09852df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:66-75 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:71-85 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060FunViewHolderFactory\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.fun.FunViewHolderFactory\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.fun.FunViewHolderFactory\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:63\u0060 calls \u0060setConversationGroupBarFunStyle\u0060, \u0060setConversationGroupBarBackgroundColorRes\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:70\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4486da6e8e4fba9b60e89264bb23fe7e5376d8132c7ca73c3d0db5d11a334b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:80-94 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:90-104 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060ConversationConstant\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.common.ConversationConstant\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.common.ConversationConstant\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dc09d8b5f73a753343fc77cb8a1cd713d5b40db4bc9ec1edf9a9cb95e7a0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:202-216 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:154-168 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"90446feaeda8061f96bcecd671e1f23e62766b2d4089dacf8a260785a39e5683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:132-146 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:139-153 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d78ebdbe6c11d3fdac69889f8b1fbcf9b854653c55cf55a93257ee219a58fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java:66-80 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/viewmodel/SelectorViewModel.java:66-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java:66\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c72cf70d2b75ad870ce7209bdca47b6d3b90b87c4ecdc6875476e9b0767b9e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:121-135 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:123-137 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:121\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"677921261f7bb6a8891ac04c2cb942bb71284d463319d2fa441caad45f000dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:470-484 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:455-469 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:470\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c93c5946a0d8ebf648e9f43a827d5a08e2fc53efdfc0d36c9edf7d1c47f19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 11): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java:85-98 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamListViewHolder.java:55-68 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:153-166 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:125-138 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java:82-95 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamListViewHolder.java:52-65 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java:153-166 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java:122-135 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/AIUserViewHolder.java:56-69 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/BlackListViewHolder.java:61-74 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/RobotViewHolder.java:60-72 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"54489aaded7d6b39fdd58c282feabe323bb728093c912d8617813561bf4ec5e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:111-124 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java:52-65 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java:58-71 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionForwardViewHolder.java:52-65 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java:55-68 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionForwardViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:126\u0060 calls \u0060setText\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java:67\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"884f7b12ef6eefea8a42c54c6b31ec36b274e4e816222e49b8f8478e1e2ed0d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:117-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:59-72 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:66-79 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:58-71 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:66-79 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:117\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d94eea2701c15c3787fdf0e3615a86de06a8086a9f7dac653f7a04fecdc3668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIUserSelectorAdapter.java:75-88 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseConversationSelectorAdapter.java:80-93 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseFriendSelectorAdapter.java:73-86 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseRecentForwardSelectorAdapter.java:71-84 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseTeamSelectorAdapter.java:75-88 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIUserSelectorAdapter.java:75\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIUserSelectorAdapter.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"636a4672e03fb18fd31162e02745523073f77479929c4401950ef2ec66d8b80b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:304-317 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:388-401 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:303-316 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:380-393 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:304\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"593a49c93c59fd76755c780d9698dea5fadf73b883d6055850223a5ccddb10ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:95-108 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:102-115 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:94-107 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:102-115 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93f3a8589a63b62340e0f41a500df33cd9e2b75c096562cf29196773d0ce963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:223-235 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:177-189 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:261-274 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:177-189 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:176\u0060 calls \u0060showRight2ImageView\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:222\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e27c3fbc0a6bb8b77126fdb635485246a897de2a1955ed17bad3419ae78574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java:44-57 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java:56-69 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationBaseViewHolder.java:63-76 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java:56-69 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8386e99f43e6d666c95cec4d28b5912507b070367c22544995fbb6598adf7e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java:64-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java:49-62 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/SearchAdapter.java:45-58 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060ChatReadUserBean\u0060 in one and \u0060ChatSearchBean\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"479a5ad513e70c45f25c8f57f423041e258ec455bb6bb536ff7d7a620a9f06af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:49-62 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:65-78 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:108-121 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:49\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"138b1e87f991d2997a36c2557b2201245e34a036353a466356649b26ba60394c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java:68-81 | app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java:111-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab9c0ec19b6216d4677b25a6a9a25bf68456e1125a972aef083429dccf4e43a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java:90-103 | app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java:135-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java:90\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":"app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"792b91c866f534e440645ad1d03c00bf0858f603d91b571cf2c386a5e3a88e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1017-1030 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:862-875 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ef9c1cccf9a5b0559e1ca2e583053abe5226c4197b387816b2c0cdcc5e9798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/FunReaderViewHolder.java:30-44 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/ReadUserViewHolder.java:30-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/FunReaderViewHolder.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c69d0d29b3b8be00f10d5eaea9366ba49f60da72470d61bdaa405d7f98ddd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java:185-198 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/CollectionViewModel.java:130-141 \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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java:185\u0060 it does not close everything it opens, so those exact 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f071f1153c4048b45122b19b3d88f99acd5aaf3e1967e26d8a6bb4da56c3a0a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java:75-89 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchViewModel.java:97-111 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde3b98cd708a14c78ff30f0a2db593477842e9bf228e819c6dc809214d7079c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:135-148 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:135-148 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:135\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"df20636768b6b3810e62d03b8281a3fcb19327ad5cf599f2e3d9e5bffbb15259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java:316-329 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/contact/ContactFragment.java:73-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java:316\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/contact/ContactFragment.java:73\u0060 calls \u0060getTitleBar\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java:316\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cf68af89d6ba3a8689af357a76fa96c402eafb9df81e3a2fd7b6bc1dbea4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunEntranceViewHolder.java:68-81 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/EntranceViewHolder.java:68-81 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunEntranceViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/EntranceViewHolder.java\u0060 as WHOLE FILES: 87% 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunEntranceViewHolder.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7b87e04f31062bcbbbf9c172d5a63b1d59402ef4fa70e718d68d68cc9836e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java:224-237 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseForwardSelectorActivity.java:359-372 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java:224\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseForwardSelectorActivity.java:373\u0060 calls \u0060getVisibility\u0060, \u0060setVisibility\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java:238\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc85a4d2de78301bb4166f076dabfb3afe90a0dfd13c07c45263c574b13bacf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/AIUserViewHolder.java:38-48 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/RobotViewHolder.java:39-52 \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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/AIUserViewHolder.java:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/AIUserViewHolder.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1724d3df5d5557b04cb023ed647b4b5f4a6979916be000819a2a8c13b26715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:237-249 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:272-285 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:237\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08cbee8660c516eaed90c349b5252b33e08937eda334c71bca8a1a5527e1b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:116-129 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:124-136 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59cf6f7ae8fabc958e10b2951905fa72cb99e7098dfc79b68f196ae8529881c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:172-185 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:198-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:172\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dafe9817705f398b7bea5804bceeed1bf838c4812df74a93ecefcd0693f7b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:60-72 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:108-120 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:40-52 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:88-100 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:40-52 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:89-101 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:40-52 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:89-101 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a1749cf1f681273b6795d24628c9f9b623f9e76cfff55fe9b2162d92fc937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:139-151 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java:79-91 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java:98-110 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java:129-141 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionFileViewHolder.java:78-90 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java:98-110 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de9431cfa75b307d0c8fad679a251cf6f4aa908f717d1ec668d9c31d6ab62dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatP2PActivity.java:56-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatTeamActivity.java:47-58 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatP2PActivity.java:56-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatTeamActivity.java:59-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatP2PActivity.java:56\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatP2PActivity.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7642a7206d05a7b8c2ab6822307c8c3f2d98933f08147e0a04109a97098a1fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:257-269 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:143-155 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:222-234 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:145-157 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f066a5e9c13110217ad349947156d482a6570891982f8e2a2178d39efc1c111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java:28-40 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatImagePinViewHolder.java:26-38 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionImageViewHolder.java:27-39 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatImagePinViewHolder.java:26-38 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionImageViewHolder.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060message\u0060 to \u0060CollectionBean\u0060 in one and \u0060ChatMessageBean\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ede3e17f78249a3ec5c2585fa1e5dd2e2962af0cf1528f730b14631651ff42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:849-861 | app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:883-895 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:849\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":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"b760e82e9ec9f6f0a209324b4054be2d4be7a337093e70684a3bc73145e06c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:475-487 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:532-544 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:475\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cc96e9fffcc59ec078aa4fa6e1270862e50c02f2c63706e1459794a1039164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionChatActivity.java:42-54 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatBotSubSessionChatActivity.java:42-54 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionChatActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatBotSubSessionChatActivity.java\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionChatActivity.java:42\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionChatActivity.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdede57cce123e7c77604a04b591ac0152cfe70e285a05f30e068a29e2829675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java:51-63 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java:55-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0500288242a50a3a110c16bcd5d8e8661c2f246f0cd48a3c456761b199fd202a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:158-170 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java:160-172 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f36594cfa5fab71832e8aeba2285ea55b61aa456357a531a80bc626cd5975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java:50-62 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java:50-62 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f16918495b098910f68b049e031311dc6481c1082768434b9ce524d498fe4c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:106-118 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:105-117 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:106\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:105\u0060 calls \u0060i\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:104\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2c7ee7fd07b5f61fe1f7e8569a3db781d8acf1fae1ae4bfdbdd156e6ddbcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:191-218 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:190-217 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:191\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe08ab888b2889bb085abd3210012e88e30289f24eb04d0613bdfdb92d4f681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:589-603 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:444-458 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cd757ef3b2912b6cf053e36592b48b12b43dbaee3d0ff5ecfe1bd93511552b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:610-622 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:465-477 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:610\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bcb63649c06a273727bda8d33cb5a899676ceb2b92e22c1973ea984993a94f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1101-1113 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:1028-1040 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1101\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ecbbfcb9dd81af73371b13069e7717724e2225c78a9c8d0744d626ae2c6507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java:55-67 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java:52-64 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"226ba688e52faa8c46e7a1cb0c7b6e7611d7bebea634acd301d4df0f01d4e5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:51-63 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:51-63 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"946cc295a26456147eea57eb7270ed16b280b96e1257c10daddda71f80222ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:143-155 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:142-154 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd20825327c7c4c9c0e08a57fd060bd3ec8e08514bb9e2cb2e19feb37a2f8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java:58-72 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java:57-71 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73ba02395f65cc398c34b33d30d0e696b418ce9a2e2e88ccc77eecb2872b65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java:83-95 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java:83-95 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"326ce3aca730803b612bd68d48923b45b2dc443aa93734c2a6a0b2cbc2818381"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:1057-1069 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:1077-1089 \u2014 both copies are in the same file, so extract the block 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"733c47827fa6da7ed425fadafa7eb20de78fc612e3fd619fa6c163f37254e352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:89-101 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:166-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59bb4908fa57065c79a60da441aae86b251bf669ccee738ef0a19f127358f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:370-382 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:374-386 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ba9331484dc3feaddf044d14d81be078fbf138fc077ecbc70abc7ea50d655a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java:107-119 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java:107-119 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060IndexPinyinBean\u0060 names \u0060com.netease.yunxin.kit.common.ui.widgets.indexbar.bean.IndexPinyinBean\u0060 in one and \u0060com.netease.yunxin.kit.contactkit.ui.indexbar.bean.IndexPinyinBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d310cb38d394677e61dd461aa0968c0451635110098df3b4d845158bc7992aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:93-105 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/page/BaseSearchActivity.java:234-246 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:93\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:91\u0060 calls \u0060setTextColor\u0060, \u0060getResources\u0060, \u0060getColor\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/page/BaseSearchActivity.java:232\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ce0dce5c8b730a8b02d9866fd2a0c431751cd3021c1570d1e71af2e4808ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:216-226 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:519-531 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:216\u0060 it does not close everything it opens, so those exact 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4e381e900cfdbf8fd2c23e04874b698906da152910bd2e85d22349aa721b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:68-80 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:65-77 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a87c748d09aee2de46ca051767f61d512439ae8ecdd8d541eb60523ccc560e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java:97-109 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java:97-109 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java:97\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3eded5158cb82630336fb5d811c6921c60ad2338857cfb2294043a871d8c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:74-86 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:62-74 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedcd8f1bb1966c64c953c64278740b67d7283989b4cd1ec9511970137cf76e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:36-48 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:36-48 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c00645fb3e79f0dbc51fcaf632f5214f6fa22870754ac048d10e53a690636e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:735-747 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:813-825 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:735\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"6472b08408a67319bb3368380a131db74ddddb0f794ceb7db9477d2a87aeacc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:84-96 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:62-74 \u2014 before extracting anything, compare \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcbf82d4b13254fa1c16cd8cbbbe9494ff81da5968b7dca3b8531ee0e4a5e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamSettingMemberAdapter.java:57-69 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamSettingMemberAdapter.java:56-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamSettingMemberAdapter.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"351edc2f9d5152c9f9048a6fdded12614404500763599a21faf44e87bb185f25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java:45-56 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/dialog/ImageChoiceDialog.java:29-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08fcafd13337733c8ad1f5c43d4a6dc87b7aedc839a450a2a1a77ffa60fd396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:185-196 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:107-118 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:121-132 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:171-182 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:106-117 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:121-132 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:119\u0060 calls \u0060setStroke\u0060, \u0060getColor\u0060, \u0060getContainer\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:197\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a5599c46dc2deb450e3455aedbedb83d6726be4392b93b0889dd0b92ef0a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:83-94 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:71-82 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:77-88 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:83-94 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:70-81 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:77-88 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:96\u0060 calls \u0060getAttachment\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:84\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad6c1b6f5e2a1bf26c256d67ff34f357c32dba2e5a37b15f92686a509c4bbcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:75-86 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:55-66 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:55-66 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:55-66 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:75\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff8e5c7a5975d1edfd1f2e224130880940e1f87df4688b2067e4055cacba201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:123-134 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:103-114 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:104-115 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:104-115 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:123\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"db131f50b850d6703b9441bd92d344ecc1117688933935751f15406336b2bc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:152-163 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java:43-54 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatPinTextViewHolder.java:43-54 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatPinTextViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:152\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced958a31c7bd179f167707b6e0dd0bf06faa3b5328a1f9bc1e37775004d7436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigActivity.java:72-83 | app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigParseActivity.java:39-50 \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 \u0060app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigActivity.java:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigActivity.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d087dce789d3a5ce04f40ce18c40943664e74108fc7e019acd8b6228e47550f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:464-475 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1513-1524 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:464\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a80470e9d9bcad56b43e0f3b356351b951b6f2aeaf45d2533c6b20dcaf22551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:145-155 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java:146-157 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:145\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bba4081e75c6dea2451b698d70a6de51900d093cb054d8d99eee925c541e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:235-246 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:235-246 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab245e3855f0e91ba187ff439d6ff80fbc4495af85ec40dee3ac7f8caf1cc73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:330-341 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:322-333 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:330\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e1154ca6564ceddda67190babc7d36a05a1b5f4de8dec9273657b829546c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:119-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:114-125 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:119\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:117\u0060 calls \u0060ViewModelProvider\u0060, \u0060get\u0060, \u0060setMode\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:113\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee5ab92ce5dda331df324f22c9bc108c6127322ce1e549e72445f003789a70e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:172-183 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:192-203 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:172\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"61986a62b3462695711941f80de2003597082305fb50ee17276bdfb7e2ee7c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:567-578 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:580-591 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8c8606f5b642d8f44d155ccbdb24b498786177279e5d233ce1c756dae4c557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:691-702 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:696-707 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88ca25b6b121c6a2ab1ec9f9c6491acf1e32e12336252b71b1529dbf7c6fb1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:546-557 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:402-413 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e5a423d0ad051df36f7b58c755b078868382abdf3f2cd73bf58708e43adae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:561-572 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:417-428 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"755fbebbead9c4410415bbaa447c5ab986d540edf00913d4d4d101cc63ca8796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:631-642 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:486-497 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"52177d33fb73b56c2e9a6229602241e7304e1fea3b211a78b25928d6d726aaed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java:85-96 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatLocationMessageViewHolder.java:79-90 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatLocationMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"084914e151ac0e23197d29f83105864c98759e55b562899d83896017f2731985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java:38-49 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java:39-50 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da80ceb0434c0d429a6aeb8b74a71d03bc625a755e293771cffec7ec701f30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:216-227 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:184-195 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:216\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:196\u0060 calls \u0060setVisibility\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:228\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a410debe026d3230c6b41a03b517558610d2e2f76d214405e8fea78a89975f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:237-248 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:141-152 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d56cf50c30d1b7b854c275a8b45d2a6ccf32b8cd74d6cd282c041233158f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java:157-168 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java:159-169 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b7dc22a9a4f1e55d44a9493dfc9c91478e664627c27e3c6e70abb01c47c5e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java:44-55 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java:41-52 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java:43\u0060 calls \u0060setVisibility\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java:40\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"75457f1962cd1a2d89f9e9e30addeacd2936ebfd0e481077e795e9e32ac7d6ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:165-176 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:170-181 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:165\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4bcdc7d3c54c5fe41d23d8c3ea5e5286ca8913b5294acd4218c910f20f3702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java:237-247 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java:184-195 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java:237\u0060 it does not close everything it opens, so those exact 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f4ea360fb6564c14e64c107761fc3501ace389fefb120482ee11ae07ecce4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:803-814 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:820-831 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:815\u0060 calls \u0060refreshConversationReadTime\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:832\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0e5e2734d9b86ef2a53edec7162ebfbaa4be83eb4a9ce442fe978a2fd507b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:129-140 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:145-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:129\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"74079f0d4b241c95013f6dc4894b90ea956e99e3d2492c72a0f1a03437b1148b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:131-142 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:187-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java:131\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfec60e79d0ccb525a8e47e40ae88856428535770b9ad7cc870891ff25d74277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/AddFriendViewModel.java:53-64 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/JoinTeamViewModel.java:51-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/AddFriendViewModel.java:53\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060param\u0060 to \u0060UserWithFriend\u0060 in one and \u0060V2NIMTeam\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/AddFriendViewModel.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f237466843215e1cc2beac0a6227cc827653c115a3b6a5b28e7dc73667b370fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunSelectedListAdapter.java:31-42 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/SelectedListAdapter.java:30-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060holder\u0060 to \u0060SelectedViewHolder\u003CFunFriendSelectedViewHolderBinding\u003E\u0060 in one and \u0060SelectedViewHolder\u003CFriendSelectedViewHolderBinding\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunSelectedListAdapter.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"017e9d6c0140eaa0a3b731a66cebcafe694add0d43aef025b794f8c3e91e5d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamListViewHolder.java:41-52 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamListViewHolder.java:38-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamListViewHolder.java:41\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamListViewHolder.java:40\u0060 calls \u0060setCornerRadius\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamListViewHolder.java:36\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamListViewHolder.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff30de34a3dc6575bbf4fbfe6588ceca0bca17a4ebc32965aa0c72e66269d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java:182-193 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java:201-211 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1f4dfe61d394e00480903dfbf6ca9dee3b3fffdeaf6616ce3996fcd2aa07a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:56-67 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java:56-67 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f80953eae77e9f11d6f1a17d254b52cfb2b61bb6869d57b204d42e0ebdff0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:87-98 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:87-98 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"44727e178db85c5e1e29de01656261b147d225aaec5413108abde6b41ac2e311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:110-121 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:110-121 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"32120bfb6b675294574293c62a51de01dae394e16758f22ddafaa4ec9cb32c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:68-79 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:68-79 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:68\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060ConversationConstant\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.common.ConversationConstant\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.common.ConversationConstant\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf9ebe0c9ee5f01f49a6e77c94245109e3aaccb29498e5c1fe3b8553ed312de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTeamViewHolder.java:25-36 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationTeamViewHolder.java:25-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationTeamViewHolder.java:37\u0060 calls \u0060setVisibility\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTeamViewHolder.java:37\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTeamViewHolder.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"56884b7ff86d768d6adae90e982460289773cb30d0cad21ead59d2612a89091d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:760-771 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:473-484 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060ConversationConstant\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.common.ConversationConstant\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.common.ConversationConstant\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7cbfc74e9c6e5f1c8ad4a65504da504f22972ae3113fe3b1a32da3702aeb57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:173-184 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:175-186 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:173\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec462cba12dd6c5ba730d7bf9edfa5b91f4784cc7a16f3a62b224d364379f364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:232-243 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:156-167 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:232\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad0495c4a310f9d158286589e7b2fb81c93a0ceaba67406b15c7cb159f02173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateIconActivity.java:33-44 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamUpdateIconActivity.java:24-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateIconActivity.java:33\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateIconActivity.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7b645b34c12bf58480fbe07792da0865402b24e83faf233cc67375b3000d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java:204-215 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java:251-262 \u2014 both copies are in the same file, so extract the block 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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java:204\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8781b379c41eb8486f15be8f76712b519ab64c01b5ab93f58b3c636a4e35e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:352-363 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:388-398 \u2014 both copies are in the same file, so extract the block 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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java:352\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdebbbd28387f57c4493e49604485a1bc2107deaaf4bac743939023cb7a7de4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatImageMessageViewHolder.java:45-55 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java:49-59 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatImagePinViewHolder.java:53-63 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatImageMessageViewHolder.java:46-56 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionImageViewHolder.java:48-58 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatImagePinViewHolder.java:53-63 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatImageMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatImageMessageViewHolder.java\u0060 as WHOLE FILES: 93% 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatImageMessageViewHolder.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd2ddecb4ad6b64dbc65db0849b48e1b8a55e96bc779076c0cdc734e4f54cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:158-168 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java:49-58 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:133-143 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatPinTextViewHolder.java:49-58 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49c57eff836e43cd37c669d3e04e44f75fd512b849fe6a3c9c98d1f9e41e4d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:110-120 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:104-114 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:110-120 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:104-114 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"853f1f3402cd9aea6b21c7a49fc5507b1535c755ead2bd71c8009d6360f9212b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java:52-62 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java:57-67 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionFileViewHolder.java:51-61 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java:57-67 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b652efd37eac48d183ce74c243b65d63d0317fea21a3bde47e521510115343d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:42-52 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:45-55 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java:42-52 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java:43-53 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1db8519ff206b36e87f36276c9c53d07da3e2db38c7ed002cf06c4f9145a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java:55-65 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java:56-66 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java:100-110 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ff8eb835dfbc919a8ec9a4d9e9a510d084ba794d669cb5030e1321cc81f654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java:60-70 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java:86-96 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AIContactSelectorActivity.java:47-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0aaa51d32077e47869e5d2947fe30868abaebd02275a40757eae0d0700e163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:255-264 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:309-319 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:334-344 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:255\u0060 it does not close everything it opens, so those exact 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f0f61de3a53624d27fab5619e4118a6c3cef3364c20272fc84c96d303fa1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:497-506 | app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:509-519 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:497\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d044f45450b37f1c93ead8eb81a4d744aa518a2af9143491abc134ca5ef5d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java:87-98 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:409-420 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17f48f548072c76b286025bf38add3eb37ef3da8669192c4899f1e6493f5e5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:44-54 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java:44-54 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ae3ba0aa182ffe818aafa25ea944db737fe0cfed3d3344ea5533c64f1a67ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:169-179 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:163-173 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ca590bc4d613633826e382e69589d6abcdbc1611a8d9db19bcea5ec3bc5d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:156-170 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:141-155 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:156\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3b770c372636ba4f5e55828b65d06c827d7b043e45476b026aba213a306b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:132-143 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:136-146 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:132\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a6267af53fd1b1d48161d8270efbd73d938a255e34c16e7731b443251dcbb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:219-229 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:273-283 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:219\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0ab9bb716f149e9a17400b1d232be15c152d96b3fd6fb52dbcbe3ef996d82a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1064-1072 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:988-998 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd342b7ed225d9867c0c89169e99e91f570d525384494cb6de7cea5a435aa51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:89-99 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java:79-89 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75228eb97777d3b6d4a45b656fda6b65e590a148bf363cdf4542a248675cda5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:175-185 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:205-215 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:175\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e5a1db101bc04a67ece6e56b88b4b2efec7185ad88aabb1c04f7c8481d1cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:35-45 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:34-44 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51acc9d7977c1ebe9e2eb0161f67ea9852f56067e0acd2a8b52938d99767b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java:133-143 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java:133-143 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"857e206c3aae00a2fcf5e759b99887b6a1ebc13972886479256cff5931a6d55b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatForwardActivity.java:31-41 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionDetailActivity.java:32-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatForwardActivity.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d65650be61fdc344f97f4542d7b86c70e2db584ad7b88fd6506350034089933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java:96-106 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchViewModel.java:118-128 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bfd48733f445c717ca5a3252e235b02e3d979cbc252b6dbdbeb0646644cf79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:236-246 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:284-294 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:236\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:235\u0060 calls \u0060d\u0060, \u0060getServerExtension\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:283\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64af7ad18a669ddc6bb1cb2e85026625a8b9f4d86ecf6b8c79569a7b7c888f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/popmenu/ChatPopMenu.java:236-246 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/popmenu/ChatPopMenu.java:371-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/popmenu/ChatPopMenu.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"97421da9647f795fc0b170fb6e0981ab2d1cd4c625b33c637373049c48418a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotInfoActivity.java:23-33 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotInfoActivity.java:19-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotInfoActivity.java:23\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotInfoActivity.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e01b955ddd2938bbb23841a6aa4718cba90e9a0815491434fca26a2dcab4223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotListActivity.java:41-51 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotListActivity.java:40-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotListActivity.java:41\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotListActivity.java:36\u0060 calls \u0060setImageResource\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotListActivity.java:36\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotListActivity.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b943bca996f7bef4eb799ab454534c82c3638931860ede2c6a0326e1c623b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java:27-37 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ForwardSelectorActivity.java:26-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java:38\u0060 calls \u0060changeStatusBarColor\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ForwardSelectorActivity.java:37\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf49a5fd47db36bdd0b02dc840a79d263f90d90d9a368359b01ce5e1bcf6dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java:218-228 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:147-157 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"78135d98a403aa81f6baf9a91723540a9cc9ef35dd00f8a6cb9d6349afbc3a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java:88-98 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:127-137 \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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java:88\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2d280eb689f2c1080f667a32b7e23f4813bb6656dfd683d14887a76a4c5ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java:125-135 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java:133-143 \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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0728c90734bbdff52df2d65be2be4d8a83804e031cf6f65923b196e8e4a32d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:66-76 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:65-74 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060conversationInfo\u0060 to \u0060V2NIMConversation\u0060 in one and \u0060V2NIMLocalConversation\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fa7c77dcc678b4641aa9f0c6c0a91bf5ac578a0dec8ade55dbdba2273a2d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:77-87 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java:77-87 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbb5cc55a1841cca5df489039fc18d58f3d8d5d179a5ed75430ad7053d47f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:149-159 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:156-166 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:161\u0060 calls \u0060getConversationType\u0060, \u0060getType\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:168\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3969c482cba8855d2aad9aad0f9d41e291978c45ede771f7523787e96eedbccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java:81-91 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java:81-91 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca363281bd91ac3eee338272afc1051b311494e9f417626ebaf30dff712aa88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupAddViewModel.java:216-226 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java:389-399 \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 \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupAddViewModel.java:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060callback\u0060 to \u0060SubmitCallback\u0060 in one and \u0060FetchCallback\u003CVoid\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupAddViewModel.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c687d8c3ffd7cda9bdfe539fe13cdfd1311758f9360f5b09996571e890119a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:714-727 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:720-733 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060List\u003CV2NIMConversation\u003E\u0060 in one and \u0060List\u003CV2NIMLocalConversation\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e491d89d008d7bbeaf9550c98fd4b89a0f8018cb844b30754450c84b3fd402e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:301-311 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:235-245 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:301\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f549eecc4791ce84406dae373da5661d676acc070b584647a981b574f9df20c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:326-336 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:257-267 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:326\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0cce2c805933c707f3cf2e133ca7657d384794b8654f97b27b7e9a3c8be740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java:133-143 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:191-200 \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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae134f7c5dfecb907aa90712196d9b51c7e970275f98c9f4e71f55f07bcd2632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java:118-128 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamSettingMemberAdapter.java:40-50 \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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java:118\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"25acf5627d763221cbaa2e35f8bd81ff8ab82e48702daeb0f539e9fb648b861a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java:110-120 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamSettingMemberAdapter.java:39-49 \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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2ad067d044f05f67953f3c80f31871a63257737c44cd8008588a83a885f583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:59-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:65-74 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:58-67 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:65-74 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6642da3a26856a09fbe337422156636d33626777b5aace17a2603552f48dae29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java:169-178 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:141-150 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java:169-178 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java:138-147 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"081fab0bc46544ffb770d9e1b6f77e494ce192910b17950d880c913e9846a45b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:123-132 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:102-111 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:133-142 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:102-111 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06028da21618fd271c763749c4332237d3b0a410c549ea9a2a7cb6acee88ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:741-750 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:761-770 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:782-791 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:741\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a115dfaaa03423e6a834947a1b2ce2125377dd33cfe500fd4d13ab1be52266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:805-814 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java:92-100 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java:92-100 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 84 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:805\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"a884dc27ae4d0497539546d8d64eec3f53f1611017fb26043ab6e18d4fe80903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:191-200 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:210-219 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:230-239 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:191\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:201\u0060 calls \u0060getUserWithFriend\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java:240\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9feb2d7bc9304d51c16f1cf3185e42cc09c3df84c6df5dcdadff025543d616b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:656-665 | app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:678-688 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"293345368000c4fc6e4f2117aa584e925a968cb4c3e7d8109745892a72ab8beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java:168-177 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java:202-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"400da128944df630844d257553f3c951e85c93616ba15b5dcefaf7a250db4ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:182-191 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:181-190 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a6e7b22e28447e462737ce660f47173b83e849df0210c1704f2b7144da306c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:263-272 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:263-272 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:263\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8e0b41bee122cf8490b24e419d8225d41f62144a293d88a05334968455f424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:345-354 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:337-346 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"98623f92e846507452fed62d744b582f86d4bb2a69b59e8b5ed9dec9fefc267b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java:20-33 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java:20-33 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74177a0a0e31ec477fda6d72313074470017fab973b1bbd1af8c6d3f072e513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:194-203 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:193-202 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3e0bf9a21b2585be91e586fdea5937043881e014ee9370168912d26f3572d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:305-314 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:297-306 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:305\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"64eb9a6d835d7154e3e1e160f2fa0bd9ce71c9a0860154a50a83b848c1d585f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:757-766 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:762-771 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"23de29b2236542d22a32f2ec05eb0bb8fbcc0f73681c740937a82215b9532810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java:67-76 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java:67-76 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d30eef57e68b67318f83b7c5cb07ea542f4ec5f45f324332130e194e51077d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:229-238 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:198-207 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:196\u0060 calls \u0060setVisibility\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:227\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b09ee1f1624ff63c04387eb4a17d1c04348fc8ec50c6b4dd382af40c248ce5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:245-254 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:219-228 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f12710aa3f2afcdba1c73918f4a4c9b8962598326e1e671bb5f8eb7bd205d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:339-348 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:201-210 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:339\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc78918b554b7de4004ea13ae019a112ec29b8bd0137e030667870aac84b7aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java:40-49 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionForwardViewHolder.java:40-49 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionForwardViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1121396104f6eea2f75ea0cd1c0261394f3d01bc82983c4da98c0f2ab6d6d7e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:46-55 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:46-55 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a073ff072341cc65958a85cea37d3a1369e48fd2d7180542d1bf22ba6be326b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAIMessageViewHolder.java:51-60 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:123-132 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAIMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:122\u0060 calls \u0060showReceiveUIStyle\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAIMessageViewHolder.java:50\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAIMessageViewHolder.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c481f9b2fc1f569f5fc7c14825edb99432047e09edfef4ad827c83e4830754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:347-356 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java:2255-2264 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:347\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29b007370f167c7493b0a6d0ba025ae4b6b58dff107ee9bb758f41dafb2ec8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java:97-106 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java:111-120 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af3f76cd8c372d181981ec3b83966b02f11c16ad6048225bf19c8fed267aeaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:116-125 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:413-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"025254b7703c66cd5b99906c0e712c0397cc6f4bd1ecb710c41d6b888180e040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java:92-100 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchImageViewModel.java:118-127 \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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb284445021ae8f473a935534ab11766a277efdd403ecccb2dbc505dd0874a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/WatchImageVideoViewModel.java:172-181 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/WatchImageVideoViewModel.java:191-200 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/WatchImageVideoViewModel.java:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/WatchImageVideoViewModel.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"95da5326aa2ae021bdb567b1c9bb2f115f0058f09cece370537382b70ac1001f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:205-214 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:218-225 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:205\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f3dc32d8487baa12d8f7a24417bf54c5a5ca9de29af7c2dba4b11283508944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java:162-171 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java:197-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d167f9b025a2c4ef9ff222edc9852eeff3908ae5a5a9ccdf94b20590c64311b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java:50-59 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/team/TeamListActivity.java:27-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbb53141e4fb4928ac8d961e6772507393d96ba71d3a955d64d7a7875c03fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunContactBottomConfirmDialog.java:31-40 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/dialog/BaseTeamIdentifyDialog.java:42-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunContactBottomConfirmDialog.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a8a9f1ed851bb7711ccb582858b42ae129ad10e3db8e1545da42049c6e9e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotCreateActivity.java:16-25 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotEditActivity.java:16-25 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotCreateActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotEditActivity.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotCreateActivity.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7150057d95a3d73581f3e08bb86a840d7b5ff27c70c1bac26a1bdd33d59a31fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/page/BaseSearchActivity.java:127-136 | locationkit/src/main/java/com/netease/yunxin/kit/locationkit/LocationPageActivity.java:203-212 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/page/BaseSearchActivity.java:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/page/BaseSearchActivity.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f750deafe7af057afe6e874d1042e43e4b52aa1b9f4f5539763842dc11c528b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:76-85 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectorFragment.java:123-132 \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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd41675206dd4e76e04a3e226c8d70b224ae94cac7764a24ff457b4350fc694a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:135-144 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectorFragment.java:104-113 \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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:135\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"be74255433c6b01593eb18822804d9a4183fec6131c2e3d9e836b85e254660ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:111-121 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java:79-89 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:111\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"27317abfbe9e9b5eed96dc8d7cde0b70e8c9b96d8efa145325e48ed4ace1478a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java:69-78 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java:86-95 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyBaseFragment.java:89-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java:69\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dbb6d1173145f9f9942adebf13b712b976c5b4e6e855b1f4a7b1221962ea73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:36-45 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java:36-45 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aea3bc075b2fb8fbc123ed6d249d41c59c99845f8a21a882f2f42d33176333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:96-105 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java:112-121 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"242c0cfcb407fff3cc3f7797be8de3d88c517fdff2a8f848daf81099d67c1c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:326-336 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:301-311 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:326\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060ConversationHelper\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.common.ConversationHelper\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.common.ConversationHelper\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"61737ec59f76b9d8c81100d4de714ec7d7867fef1d833d070669294eec9ac123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:396-405 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:381-390 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:396\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc56a7336c95b72bd6a9167b9131ab6e42e864c7321f83ca1267dd6584c6f420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:220-229 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:144-153 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e48fe9cc7c9a073ffd858202ad937f0c041e3a734a4997762e7f56cba648e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java:277-286 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:325-334 \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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java:277\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3766ef600d11ff08e6d888160636f0babc61cfc1abf329b78fbe0f0d1bfb2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerListActivity.java:62-71 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamManagerListActivity.java:59-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerListActivity.java:62\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerListActivity.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad3bddeb068cf60d4cb898cab9ea63988209b3c00373ec490798eb661be3513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java:114-123 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java:106-115 \u2014 before extracting anything, compare \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java\u0060 and \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060binding\u0060 to \u0060FunTeamMemberListItemBinding\u0060 in one and \u0060TeamMemberListItemBinding\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2af576594d2035a9a9accefb2c9c9cfb4d95aef8bd6576272dad8d52479ac66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamSettingMemberAdapter.java:36-45 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamSettingMemberAdapter.java:35-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamSettingMemberAdapter.java:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060binding\u0060 to \u0060FunTeamSettingUserItemBinding\u0060 in one and \u0060TeamSettingUserItemBinding\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamSettingMemberAdapter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b01be8bf3061e0f80aa446edbd733a9b8f37e4cea26349c98de3c508960de02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:115-123 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:57-65 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:64-72 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:108-116 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:56-64 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:64-72 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2248a1730b4b380dc4ad84e1c9f9bdd0c0da80c1da368c53a3c55b9176941dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:502-510 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:363-371 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java:134-142 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/BaseAddFriendActivity.java:54-62 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamSearchActivity.java:51-59 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:502\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23e4a183f161787b9f7ee10fe8008a0fe19abc24a5419353a34cdf942e1804c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 5): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java:51-57 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java:57-63 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java:76-84 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionForwardViewHolder.java:51-57 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java:54-60 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionForwardViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java:85\u0060 calls \u0060isEmpty\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java:58\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"df70bff3f54a5d5105c270ed70243362ab65365844710ddcc3feebbd6e77e136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:123-131 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:241-249 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:122-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:226-234 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3647da28a0f15b575c7ace897f98b4e66e08e7c11435760f3e829e34ac841322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:266-273 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:289-297 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:321-328 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:346-354 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:266\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6edbbc0a07196ede0349503208aa94bd2d9cdf5d4c059e525655055db3b52bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:84-92 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:107-115 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:84-92 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:107-115 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5364ac5e92b8b73c22f6214f105ba3d60e2642f5355a06ec018fd5fa1e5f50a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:621-629 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:633-641 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:587-595 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:599-607 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a70db4b61b7be7ff14c844df08a93b2bf5f2d971dc853a7a4148d4bb3f668f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:389-397 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:409-417 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:428-436 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java:389\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e2d32a464fd7063c6d4a9ad6fcb9a7373ac4620806f49f793c44edeafe0ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:80-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:80-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:251-259 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa003835b9b024f0e5e3c8c8b735fe1c16dca3e207bbdcf2739636377f368e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ConversationSelectorFragment.java:42-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/FriendSelectorFragment.java:42-50 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/TeamSelectorFragment.java:42-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ConversationSelectorFragment.java:42\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ConversationSelectorFragment.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ad49ee73cb49a960ff54d4c0ce691d430cf8cf032463b746490aa88b1fb924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java:110-118 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java:127-135 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyBaseFragment.java:141-149 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1321eeae839f423d45a64cb1b47747de82a526dc184b26120ef5ccd565d0d498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java:49-57 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:355-363 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"948e886ad1328bd09fd99edeb7550bd90937aa248824150c2d0696c15ba24645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:213-221 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:376-384 \u2014 both copies are in the same file, so extract the block 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"673dc0e7e5e8301b17697f80e816a61f42bf396ed097bf93280cfb55f476c5ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:601-613 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:649-661 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:601\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:600\u0060 calls \u0060getAitBlockFromMsg\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:648\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda356d406e824126905a6a122a867da5d59a1387e48b18b759ffe46bc7f6e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:368-376 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:432-440 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java:368\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c342be7aff41da5a959731b55e7d1059f94a9c81ab24981e8542213149d37603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java:77-85 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java:84-92 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcc39f5a9bbc7472666b4daa1e4af89eb0fde5b69211bac7007c6e5c871aeaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:65-73 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java:66-74 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java:65\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0370d0334c8eb1a2c8b684a95f5e44ab6e87cc6ee78eb4532047dd5e2d85e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:276-284 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:265-273 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ec0edc721f6e56c24428eaef9c659271e3e2edf228aec69c67b09e83b2293e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:309-317 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:309-317 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:321\u0060 calls \u0060d\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:321\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"741f55c0d32ddabc271f57332135e6aad27b99a0060c91cc909aff919d82600f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java:51-61 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java:51-61 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a811529eb4cb71c19ac69c725d2dcf27077608f67596e4f034c4443c61b23e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:264-272 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:263-271 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1116f9dea94f6a6f6a6d416a5cd82201dfd1ae5164308ad058912d056036ea78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java:50-58 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatHistoryActivity.java:48-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchHistoryActivity.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d252503882fe2f330f5aeb46c1c065f9463f1d4cede9637ba807e57c44ac0fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:228-237 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java:228-237 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51f2baeee622311caa05dd8eb4f888980e38f71cd120615dc94aaf80c7c7f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:206-214 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:207-215 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c997f543047f9822434b79150831278e37073662cb4c3c6106233653e743e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:254-264 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:287-297 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:254\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:298\u0060 calls \u0060setText\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:266\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe0d8e1ac5d9fa41e6b26f5aa222fdae1b749bba2b3a307d570e55bce9c6dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:275-283 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:254-262 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b74846e76c820f70e2d3fb71fa9cd2c4f5845352c002a81c04c067f0e57b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java:69-78 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java:59-68 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java:79\u0060 calls \u0060setViewHolderFactory\u0060, \u0060getChatFactory\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java:69\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f731be2dda09ab4ef7f3daf7ebf27cdcf33de624310eec7a314dee49214e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:245-253 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:290-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:245\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e32419fe130c6c34370fc2143a630240022656b4131511231171e592b3f0ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:130-138 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:891-899 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:130\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc36cab73473c9f44b1bf56dea5e7ad860b36cebb502faf17e7ccf9844dad890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:261-269 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:291-299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060callback\u0060 to \u0060FetchCallback\u003CV2NIMTopic\u003E\u0060 in one and \u0060FetchCallback\u003CVoid\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9f6c1fc1f0a60ba39d80485d39bac15aa447a87cd91a9b364b4839be823503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java:330-338 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/CollectionViewModel.java:169-177 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b0a0f72a643ec726dc4ac5bd1cc9a8dc8bc8cc16d50c02910dbbc1e28b1b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:142-150 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:164-172 \u2014 both copies are in the same file, so extract the block 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1468118b6199196e3be53a7faeba5ec4a8341913dafb7eaedcb28042cf0c8052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:152-159 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:174-182 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:152\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060V2NIMConversation\u0060 in one and \u0060V2NIMLocalConversation\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"609d02aa14f67a9ae45a6cc11a5c554d4c12b14732d2be26610503523cfe3ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionFlowLayout.java:34-42 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionGroupView.java:113-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionFlowLayout.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"541a413d544f27413527228a3f7070a03a1cddc4bb52ce738c742a77735b13f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:378-386 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:414-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:378\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ffc470f018dbe16179c9f9a4ce692e28f765220c0a5d1029cbe97e42b66439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/EllipsizeUtils.java:377-385 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/EllipsizeUtils.java:400-409 \u2014 both copies are in the same file, so extract the block 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 \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/EllipsizeUtils.java:377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/EllipsizeUtils.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"26791ac3046a4a0380f805d7fdfa549438c6ecdcbc20dc176dd8f2760debc7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:262-271 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java:289-298 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 122 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java:262\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2b4532c8f64755de987a9a008ee4dacc23663e1b574f515f0763d17ce9f941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java:21-29 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AIContactSelectorActivity.java:20-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java:21\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6291c97f8939647552c9ba1c30e829a981c044a93c273c6cfacd10aaf8c170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java:48-56 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java:74-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c58a75d9f9388f6e2c548ad2361a3dc5dcc97e822881e6aedf422b386243c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:90-98 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java:88-96 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cfa0e3a4d1ec0731dcbf6813d3faa12c7d49d5f2e1eedd7d3bdfdf8d6d793a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java:109-117 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java:128-136 \u2014 both copies are in the same file, so extract the block 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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java:109\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"906a00aed3a9df275cad1ecaab4e73a1e6761fdefcce2f760d562b11bb360cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:213-221 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:267-275 \u2014 both copies are in the same file, so extract the block 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eebc3d4231da8ed2214e3cf6a30b19cc5220e2ca9c10dbfc629f505ef2a70ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:223-231 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:277-285 \u2014 both copies are in the same file, so extract the block 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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:223\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060V2NIMConversationResult\u0060 in one and \u0060V2NIMLocalConversationResult\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5657cfb11d17946f6ac250d426ddb74ead2640bbbcf69f27ef840eb3b97272a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:172-180 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:191-199 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"78853a271cc494e5ef95fccae923f4db74f931e9004950b7ba48a21fa0603dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:386-394 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:322-330 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:384\u0060 calls \u0060loadAIUserData\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:320\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe97db00c7e2a730aa2e799b992c27c607ee1c3908b5df50afe68e2a06a8eb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamInfoActivity.java:31-39 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamInfoActivity.java:23-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamInfoActivity.java:31\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamInfoActivity.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5922d9b010f10f520b87b45168791a240b59531513858137ff2b478b88fe1ec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:78-85 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:126-133 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:58-65 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java:106-113 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:58-65 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java:107-114 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:58-65 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java:107-114 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d570c90be5522544f67dcd8ec294939befe9ab8e7d858fe149cc3732667445e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:104-111 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java:58-65 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java:63-70 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java:94-101 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionFileViewHolder.java:57-64 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java:63-70 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7838287d78299d9f1bf75b058475979f649e19348ddb73014ce2049cf702e70c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:164-171 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:93-100 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:100-107 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:150-157 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:92-99 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:100-107 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d634d4893206a3d42149d909271bc823de7b8550ac40ab70b1f7595fdad88998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:257-264 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:300-307 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:325-332 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:181-188 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:234-241 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:256-263 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:257\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16effb2baf389ab42ec9c066561287d3f2c61704f5c75153c7fed1d59cee94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:172-179 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:189-196 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java:184-191 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java:201-208 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:172\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:188\u0060 calls \u0060getAvatarName\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:171\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95e4dd14b66e3f07b75e61f8f19996d3fa00aaaa02d4d25cdeb1b475f84bc8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:256-263 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:279-286 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:310-317 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:335-342 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b880afd0a3cab7993106ce0af608f38e95e13db9e07131b54ee04a584014bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:215-222 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:350-357 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:378-385 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:215\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c5b8308f3b4fa6b561ad329f3debdfc3c961db7aa8e231bc5e7d3f000070fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:358-365 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:380-387 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:410-417 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:358\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3dbdf649108f15ad17d09716b276e5540f3f3b6a5b834c7567930bc95f0cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunConversationSelectorFragment.java:41-48 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunFriendSelectorFragment.java:42-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunTeamSelectorFragment.java:42-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunConversationSelectorFragment.java:41\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunConversationSelectorFragment.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4af3935261c1bba5e814cf85305ac5b2409d313fe4ea1fc96bb8990c874cac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:811-818 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:878-885 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:811\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:886\u0060 calls \u0060add\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:819\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"0396db37c21ec93b5c05e79fb70bb3f7725eae39e33656d166ff9c68a1a0d6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:56-63 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:56-63 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be6bdf7831988c02f537bafc2a755bcfaba3851be24cf1430ae10cebd227379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:78-85 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:70-77 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e12e79e36000cd49bbbe6f4a7d8cd3d5282ce2dee9f239cffadf9f6286e22a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:203-210 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:189-196 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29d0918864aeefe2f23b380cdcbfd35229ebef1bdcaa0240d02dd201e232b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:233-240 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:234-241 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:233\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:241\u0060 calls \u0060isEmpty\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:242\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4747ec6dbaa29b27a69db8dbe7e82749d36151d5dfdcd992d690c0b73738e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:297-305 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:297-305 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:297\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:296\u0060 calls \u0060d\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:296\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a724b437132a92fad7218b6f81bc0bc3f7227812038eaef43371c4f111de11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:348-359 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:347-358 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:360\u0060 calls \u0060setTextColor\u0060, \u0060getColor\u0060, \u0060requireContext\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:360\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1329b645dfe42aefdb5bdc25207795370af17ef487b98de19916c973d065c536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java:36-43 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java:36-43 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2fcc24fd73f0177f17f6e0094d3b30373ca0cc871667107ee19880b45498af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:85-92 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:85-92 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f7509997baec2ea4353c04b5a2c3c4103e9be9c7f7a9309e11fbe08004fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:170-177 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:160-167 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe5b0779176621846d206d463c3fe5375e790ce32b452ce7e0079227383d2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:94-106 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:93-105 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dde78a70e66525010adb9b0ff3f44b38977d8f01488620749cc20b08106441f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java:52-59 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java:76-83 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java:52\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5469d9b3b49dfeec58e5d6bf585b716a0266a6b28480e8b61ea6f9f64b13e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1560-1567 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1608-1615 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:1560\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc51d7a39ebf0206beb41dcec5e3f8dc6ee8811ea716e3b31a2e0a4889d4ef35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:264-271 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:310-317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa01b6e0a66738c3e4a61235e7bd28505e675222fe8381018f1877c53e7c3aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitService.java:512-519 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitService.java:546-553 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitService.java:512\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitService.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdf06922c2da3a5454d6cfd698985e25d06a751ec9550b09ae07e9062854857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:1002-1009 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:1021-1028 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java:1002\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"998cbeb36f6223d61ca7ed908f8f5d279963ccf5a3645e1b31d4cd7be779b479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundFrameLayout.java:42-49 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundTextView.java:39-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundFrameLayout.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd411894b4b991a1eb69cfbd790923b145fb45c55fd46e88c24843194b750332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotBindActivity.java:135-141 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotCreateActivity.java:141-148 \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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotBindActivity.java:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotCreateActivity.java:149\u0060 calls \u0060finish\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotBindActivity.java:142\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotBindActivity.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24d09e09ed8880504a4430a8fa0d4aefd9be900bf194d5b90a688469f24aa70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:117-124 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectorFragment.java:84-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:117\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbea3eca861fb99b8659e1340bceae5aded2ebd4291fcbe1dde84af232ca2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:123-130 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:120-127 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:117\u0060 calls \u0060setVisibility\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java:122\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"045025b1f36572bbd9b3432ef4c89197ef5e5115c9642c04a12b458478bfd12c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:114-121 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java:96-103 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cd8f02dcadf91f94534e51481567f7c062439e3e32a2c287148e4f752209a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:844-847 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:156-163 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:157-164 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:156\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e19d7d06a3f6b4bdcf0bc008d9ba464e78d1a3c6032b58f8c8b37851334c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java:84-91 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/viewmodel/SelectorViewModel.java:84-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb5813bfb01343ab4c979bc597104d19c97a8bbe785ac5be145aa1624e4a94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:299-306 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:276-283 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:295\u0060 calls \u0060setConversationFactory\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:272\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d0a3c61188bf335f6e2dd966e250d0a55a3550aa2731f72b4ab67f8eeb5278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:533-540 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:522-529 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"05afbd50aee0167b7ae209d684747deb7246c3938890599bccae9d94b94ed630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:146-153 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:289-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e94df1aa9f4d8ea399b9e0e9335bde3135f3dff1fdf4f43c899e1ae6b48568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java:67-74 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamMemberSelectActivity.java:60-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e120d1c7134a55fa8cf740c20810101c5fa2581d0c16263edd80ac67e3c2808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:266-272 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:289-295 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:321-327 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:346-352 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:411-417 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:266\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"be921abdd42cb18c166b9898bbe5ba36c8448fc30e0608507475f95f828e84d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:38-44 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:37-43 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:38-44 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:36-42 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5411ef0f5db0c89cb4ef258388853b6dcca2d6835ec0753ebb0923e253cdc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java:106-113 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java:106-112 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunCreateTeamFactory.java:106-113 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/NormalCreateTeamFactory.java:106-112 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java:106\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c99d06b476b2f3ec9b5d992422ec8280af01e02c79f78763f71b09c5ad8324a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:80-86 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:68-74 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:90-96 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:68-74 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060ConversationConstant\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.common.ConversationConstant\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.common.ConversationConstant\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9fe8ddf0f3c611d7e8e8fd1df6c78672c57c28413be921a893c3e383a10458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java:33-39 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java:33-39 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationHeaderViewHolder.java:44-52 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationHeaderViewHolder.java:33-39 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationHeaderViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060AIUserBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.AIUserBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.AIUserBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f38ddd620f1b4ca119010a55a21e43a11388ef0b2218ec546f73eba547245d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:230-237 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:275-282 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java:331-338 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2228bf270a09680332221732f4830e30a1e362800eb5cef419e32d7f9ff0577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:62-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java:62-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java:41-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c05a34d32d397a15dba250120dee3078055db9bfdfca8d3e8a59ae0c739e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1801-1808 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1831-1837 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1801\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d1f1f2d2f70a79e824cb014352f69df25c84b8408c2a6d3c229d862034e806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java:81-87 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionActivity.java:73-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"846548a8eca9c5b64d32b0720930ec9cda1cc2e3a905cee5752187a62fbd807d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:317-323 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:309-315 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:317\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"44615f3265bf2c52e7b01c27de56bf90065ed1f6c967c66ba206cdac9a3f2f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java:64-70 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java:64-70 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c84f6c321de4633e78ed9e9d75e86b0a938252718a8782b3298e3dae4516b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java:51-58 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java:51-58 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdca7ce5041d2f12f505af9011eef161e51a07df744702540e1e6eedf4429f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java:98-104 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java:88-94 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"295ae4cfd59e95f216c5461818a21d4e9917621164b6e298b88393540236cf1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:170-176 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:145-151 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:170\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e416ad1fb23fa624cf96a7a9821ba2ea56d0a45ea24ff388766ac281be5b14ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:391-397 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java:273-279 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 104 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java:391\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79f73d9a48105e3c753e6e82e11ff01afe1c7128f747cadbae118ddf36e6617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java:305-311 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:566-572 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54ca772c123fdd4d3fe43e86c78c2797b8a6f478574f1ebafacaad045600d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:371-377 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java:64-70 \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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:371\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"93176fb33d04f2c90df315abf5bee0bb572bbac6c60a37016405168bb728d11c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:217-223 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:269-275 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:217\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:225\u0060 calls \u0060setData\u0060, \u0060setValue\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:276\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5db8119b21c80179e0252bf9b02461d9166446ef935ed9b019fbb1b19d589f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:272-278 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/CollectionViewModel.java:102-111 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d0e70a79173a765cf062817835dd760406c86dcb62fa801630aba190619f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotListActivity.java:24-30 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotListActivity.java:23-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotListActivity.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0be03f7d74ed6f7816288c1ac37995a2bb1f19f2043ffcb54b41e82d1cc4868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunRecentForwardAdapter.java:33-39 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/RecentForwardAdapter.java:32-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060holder\u0060 to \u0060BaseSelectableViewHolder\u003CFunForwardRecentSelectorViewHolderBinding\u003E\u0060 in one and \u0060BaseSelectableViewHolder\u003CForwardRecentSelectorViewHolderBinding\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunRecentForwardAdapter.java:40\u0060 calls \u0060setCornerRadius\u0060, \u0060dp2px\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/RecentForwardAdapter.java:39\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunRecentForwardAdapter.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3188ddbe85bee1e03adc0b5b2e297c5b2a8d04a1b791ec6b899ed2be3db1370f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:103-109 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java:102-108 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1bcb5474f0fa5a6d4fc819ab2f8b7a6bb7d65d6b7a70a8fbe35a79742be65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:691-697 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:404-410 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ecfbee5b72e600aca6864b6710e024924c4ff717d54eba6a76e29b46e950d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:700-706 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:413-419 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"7635d4bad81990bb8bbfea6da2b2b5a922ca72dabaf5f5ca44f30ceafa175def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:156-162 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:219-225 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dea624e3050b0fccd9987f7c9acf54a47fd6ce29791cc4a456cfd8a3d474c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamKitTeamMemberCache.java:80-86 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamKitTeamMemberCache.java:142-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamKitTeamMemberCache.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d05041cb106ce1b7c0f5340150920018440259260c79ef554c46216edeccbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:42-47 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:37-42 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:42-47 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:37-42 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:42\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8b0bc7ce24a4602fdd16bf34673a0b025129ad20d3ccaef6714c008977af6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:179-184 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:179-184 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:178-183 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:181-186 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"758e1681ae73f748477705176347be7fe5b4a043bccef1f189c8188da13647a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java:61-66 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java:49-54 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationBaseViewHolder.java:83-88 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java:49-54 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da02917eccfbdc2e0d39ccb867a319c6abf7c8c19c41378b3b17fca56caf80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java:84-89 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java:123-128 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java:91-96 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8146a138a5ffd29ed511edce6f4e8808e98f5229947395947d237c5dc5072ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:837-842 | app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java:870-875 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d953521f7350cdbc436e06a5c63e52071befb392faa3cb3674c5838dcfbe8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:889-894 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:917-922 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:889\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce72edf813f546da010a95180676a4c77e998fcf828e4d28c483470bb563e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatTeamActivity.java:33-39 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatTeamActivity.java:45-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatTeamActivity.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1f3a82f766e443417e7581d7418b71ba95800f53d58a13b5fff0ff69af8576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:95-100 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:95-100 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:266-268 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:95\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:94\u0060 calls \u0060getResources\u0060, \u0060getDisplayMetrics\u0060, \u0060setPadding\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:266\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc1d5fe4b13f90c05ae67c91cff872ea61d5e5df88e11b9c22ad83e8b08a3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:266-271 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:175-181 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:266\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5136748e256f9239136844e357a0b155a2ffd39122057e8cc45634d7ee281c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:218-223 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:204-209 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:218\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fda0618562256b04875b9b5db8e30192fc93495ded72816f54865d0eabf05d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:81-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:111-116 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:118\u0060 calls \u0060replaceEmoticons\u0060, \u0060getContext\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java:87\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2771a93a888cd74cb81ac455ba88acf1e1e5a59b73e0f66a01fa500124ccddc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:89-94 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:104-109 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"271bca9ccf7f8d8b59f2b6eb58684bb1a7b87b751e9892b2ef9c0374b31c8f21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java:642-647 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java:909-914 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"8080ad40ce62835bb8433b7823f4dafec2d413b7c4c586c71ad407616a41e518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:229-234 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:278-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:229\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:235\u0060 calls \u0060d\u0060, \u0060getServerExtension\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:284\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a67b6cd1db4ca210ee4248aec615047eeda3d48336d6e8cf4e3dc50f7882af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:232-237 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:391-396 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:232\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java:231\u0060 calls \u0060d\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:390\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"755288d6ea656748eb535807ba0f13b660da0e957c13011f9b09d94d0644c302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunSearchTeamViewHolder.java:35-47 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/viewholder/TeamViewHolder.java:35-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunSearchTeamViewHolder.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7f3a884b63f22ecc541ad838e57995705541fb4c8343bed1db9417101f68e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:267-272 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:283-288 \u2014 both copies are in the same file, so extract the block 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 \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:267\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:266\u0060 calls \u0060d\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:282\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee84bb9e9d21fa5c70b1418190a09f2bba122301acecd1a1f89032f84aa5c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:96-101 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java:81-85 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java:96\u0060 it does not close everything it opens, so those exact 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4fe7281d86e59a0c8c3abbcf72c4f38519674340cbecebef8218a781c7805b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/BaseRecentConversationSelectActivity.java:152-157 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupSettingActivity.java:324-329 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/BaseRecentConversationSelectActivity.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b283397069c9dd4bf15d6fe4f60774aa586f8bf9041126607e425f5e35847232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:648-653 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:623-628 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:648\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"effe085d450795edad54a34a1f340bda650a1412de0e6bc27eb5d59dea5297a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:122-127 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:87-92 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21f2e1557782d137e7031a9e57c11bf2fb95378966fe73519a4c41566e411eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:106-111 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java:81-85 \u2014 before extracting anything, compare \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java:106\u0060 it does not close everything it opens, so those exact 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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27b9d8d462bc7145f5f0df322026740a3e9129e6036bc45cff1455856488f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:133-137 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java:75-79 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java:82-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:126-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java:74-78 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java:82-86 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:133\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0486518f143e18481daa01c784854d5c57f6a409b60aaf84a3a0fac1e53d6c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunConversationSelectorFragment.java:40-45 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunFriendSelectorFragment.java:41-46 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunTeamSelectorFragment.java:41-46 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ConversationSelectorFragment.java:41-46 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/FriendSelectorFragment.java:41-46 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/TeamSelectorFragment.java:41-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunConversationSelectorFragment.java:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunConversationSelectorFragment.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4b4d3f1848659bf683aa2d99ff11488eb1681c2fd95bde535839299d5a9fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java:39-43 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatRichTextPinViewHolder.java:39-43 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java:40-44 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatRichTextPinViewHolder.java:39-43 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b79818d444ae9ce5b348b62806fdba2e2fffe917674f55eaca62a9ebb2475c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:415-419 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:571-575 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:628-632 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:576\u0060 calls \u0060equals\u0060, \u0060getAccountId\u0060, \u0060account\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:420\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"954325886f0c2ac6d82c11711084c9ebc2e2880394debe5ef40ac3ca4aa2dc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:99-103 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:129-133 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:164-168 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:161\u0060 calls \u0060updateRobotUserInfo\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:96\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"02836ec4356455aea46379c188c9bc2b273a7a990d1894aca34443178d84d330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/mine/EditUserInfoActivity.java:49-53 | app/src/main/java/com/netease/yunxin/app/im/main/mine/MineInfoActivity.java:58-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/EditUserInfoActivity.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2a62c2800eee78d1f50c30903dd152185e9525cbb0c8a006ddcf3b4b4b51de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java:79-83 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java:400-404 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/BotSubSessionMoreActionHelper.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99062129771f0c6b814f9dab97a46b45cacaae0d8e7a8533e8b2ce9379dc7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:143-147 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:142-146 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:143\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42ce1abc932d78a2d1131ffaffc9c4a92b25ebdf194b3b51568154017583423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:90-93 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:88-92 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:261-265 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf3cdb5340cd9cb9f736e274829be020d75f70dbd03a04493ea222ef95dc609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:242-246 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java:297-301 \u2014 both copies are in the same file, so extract the block 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b47429171bf046ff55701d9afea9620fa9948a6b0069cec8ce8d726ea01d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java:44-57 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BaseBlackListActivity.java:72-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java:44\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1142b15d626d8602698d092b466327dea979397d296c3c4ff2239490bc02b5dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:65-69 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotListViewModel.java:58-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotBindViewModel.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54490fc3c3483d84f2ddc41703bd04a7a6f4b9ec2bdc24496e6d6274f2bd4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:204-208 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:235-240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java:204\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/RobotInfoViewModel.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd66340efa00eba92e6e45f0bb9f5f62b6160df4f0622fcfb7e893e4838547d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/BaseRecentConversationSelectActivity.java:105-109 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupNameDialog.java:135-139 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/BaseRecentConversationSelectActivity.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d664607b08cdc9ae0c0960f4784253f13c2f7f254afa10512381d8836a26d134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/BaseRecentConversationSelectActivity.java:144-148 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupSettingActivity.java:316-320 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupSettingActivity.java:315\u0060 calls \u0060setVisibility\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/BaseRecentConversationSelectActivity.java:143\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/BaseRecentConversationSelectActivity.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"140dd3d4f1e0e0de0a9eba1cba063c39d7d1da25486cc61ed4950236c94d5c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunCollectionViewHolderFactory.java:28-49 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/CollectionViewHolderFactory.java:28-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunCollectionViewHolderFactory.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"348585ac603316b1b91bcde7f41a32e3a5bc6731412ee36b93dc0f32e1579130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (91 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:151-241 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:134-224 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:148\u0060 calls \u0060applyConversationGroupConfig\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:131\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"247c9e834eee4f0954cf3cf516ae091d3c79d6fcb45e701fca65dfa57b7366bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/AvatarColor.java:1-20 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/utils/ColorUtils.java:1-20 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/AvatarColor.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/AvatarColor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41247e27f8525f30c185df56065faf7d7a78cfc2722af8aa168dd0123df1c7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunTitleViewHolder.java:18-34 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/viewholder/TitleViewHolder.java:18-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunTitleViewHolder.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"62432b5f53d14845a8be92ea6c27b6b618104680617e9d47fc2b0914b188b1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseSelectedDialogAdapter.java:1-76 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectedListAdapter.java:1-77 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseSelectedDialogAdapter.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectedListAdapter.java\u0060 as WHOLE FILES: 96% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseSelectedDialogAdapter.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseSelectedDialogAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b77a1ad5efd60f63ea8c878579236829b6e57e4a62aefdf998c270fef6c5d2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationHelper.java:1-42 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationHelper.java:1-42 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationHelper.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationHelper.java\u0060 as WHOLE FILES: 96% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationHelper.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cded128d655a77b0a7a42f8b82b80819efd4c2c1cb51ee69ebeccd027143b4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/AIUserBean.java:14-39 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/AIUserBean.java:14-39 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/AIUserBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/AIUserBean.java\u0060 as WHOLE FILES: 95% 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/AIUserBean.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6226a8e4cce81b573f6e80c35019cd73e15f0b38257fe64f8f0668d07c6b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationHeaderBean.java:15-30 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationHeaderBean.java:15-30 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationHeaderBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationHeaderBean.java\u0060 as WHOLE FILES: 88% 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. Note first that the copies are not typed on the same thing: \u0060ConversationConstant\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.common.ConversationConstant\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.common.ConversationConstant\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationHeaderBean.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"23de4bd12daa15b23a2a79f514e790cc32948866a847d0129246a9dcfcb45b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/DefaultViewHolderFactory.java:1-35 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/DefaultViewHolderFactory.java:1-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/DefaultViewHolderFactory.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/DefaultViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a13d2c21cae51da8e5dbfe54920462a6b959cb675228b488b8eab952406926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/AvatarColor.java:1-20 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/utils/ColorUtils.java:1-20 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/ColorUtils.java:1-23 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/AvatarColor.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/AvatarColor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaccc3400ee1844738d55b8170ed3922f8cb8063ceb7600b430f610afafb1509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatPinFactory.java:19-25 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/CollectionViewHolderBaseFactory.java:19-25 \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatPinFactory.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf873ec5441f21d1ecd50d5ff54f541fc593a35924e73c41bef815f49a52740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatPinFactory.java:51-61 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java:91-101 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/ChatMessageViewHolderFactory.java:94-104 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/ChatMessageViewHolderFactory.java\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatPinFactory.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5efd53101d4e4ed38e5083a63b13f12280389d2f8e8c6878ebf4cb5f4d726b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionChatActivity.java:57-63 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatBotSubSessionChatActivity.java:57-63 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionChatActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatBotSubSessionChatActivity.java\u0060 as WHOLE FILES: 82% 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatBotSubSessionChatActivity.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5b18e2d108160da8c43630aade0f983d2a58f8307bb47bd55c22e8d48b13d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java:36-41 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java:35-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c6bad33c53a23ff20b386ddd5893e9cdf4d8c96f9edfdc97990c87ace4e7ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:93-104 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java:93-104 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dffc0eb3fc314094c80231c55329994b7fa605232277b7f0d8710e599d808df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:127-134 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java:127-134 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3671f55e045b55d90ed3716a3a0e4cee5c02aab5ac26293c1c10e9fae0ab46fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:283-293 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java:283-293 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:283\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"143a719a74192e9f12aa5b255a63a672eeb133f6207f11aa5c7f19adb4bce5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java:296-303 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java:296-303 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5910aa381df0c6b6b93ccbff8bee6be3dcc2bd512da11eb30943d432c7c8db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java:227-232 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java:227-232 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0304b5f1f88961df0b933e41bd73276f1e42bec8bd922c2fec75b2564998e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:172-182 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:173-183 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f85f96ae09bcee13a09cf724d5f1ed6bafe746836e89bdae37c3e1f61c3ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:269-280 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:279-290 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40ef17e7e12cee32ab1caf269a731c143935613effcd00b9b5f45278db83747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java:305-314 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java:297-306 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2e9537afd5aa8c792f1e595d35baf672927b6e077cb45808992c3c56dd1f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:70-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:66-73 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d976beef2cdd6307bf12c1dc83fb8b00059b1c90553c9583a25948462f207e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:182-190 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:176-184 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e1a895ac54b4688879fb40cd66244399bcf33ee01b68de1f21a9e48b8aa9da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:263-272 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:252-261 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c83de1649b7dc369ee3538cfb86285b95d16cf7abbd813f7f8504c9fec8fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:173-177 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:159-163 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45adc358c8b55645d98aa2a28ceecf2be4849c2a1eabd21528933407be1abf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:180-191 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:166-177 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f157b9a46f0fd68e11336669742f32a60b126a2fe9dcb0a799c4479b84c94fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:213-221 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:199-208 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"79983f85ae5edaf538c8e6b0de86bd97d3c482b4faa17f1eaea05ccb8bfb8c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java:413-419 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java:399-405 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"36054048a59d20245f3f0ae51155b4960028684be42ecedf1f96db3054d69e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java:72-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java:72-77 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15ce7b497b87069a9830ec6158a6bddc504a0ff878e6a389ef49a9a1a32af4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java:41-46 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java:41-46 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060parent\u0060 to \u0060ViewGroup\u0060 in one and \u0060android.view.ViewGroup\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fb8d5ab434353c711a9e5d840f5434d0891657e8cd398605fab1af44e58a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java:73-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java:73-77 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060itemView\u0060 to \u0060View\u0060 in one and \u0060android.view.View\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"856f2c9a98e37df817c05e8706ae7c7751a31f8880f625427a6f439e19199618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java:171-175 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java:171-175 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1105f588298cc7343ad1e388054a3e81e1ab91ac44b1b43555c3e9355b65057d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:106-110 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:105-109 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"be434570618d81907c110358ffdd8a591037458d27346edef33d140a30558691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:71-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:71-75 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"637738d7463163043bc022a340641cb6544763f89c559553222f09bec4c7e38e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:127-133 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:126-132 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38abd767255c5e2a34f9265a3ea0b37706030b164670a4abb661ff4eca0a244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:148-154 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:147-153 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"487e51a6fd92ad924b612f98f274918080267cc4b591a852a2571cac10609a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:164-170 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:163-169 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9a50948ca55604ee00f989e590946011daf840dde4e438cff2594ef4db5e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:132-136 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:127-131 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0088207e326683d49d1d38ef7a0fc949444cb07c8f54c89de42cc7822e5d1b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:256-263 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:241-248 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5b46a92661122dde6b0ec1b814cb0f3661364d7692ce9a79d3d8d25660e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:357-364 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:349-356 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf4f0996c4f3cf797489e52a823c94754adc8a284f487e503273c07363cc76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java:372-379 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java:364-371 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 177 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cf30b7c49396ff503b0011e360f7432bc9b039d6f2e46d49c21dad6a882571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java:161-166 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java:162-167 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9862a4aa1a8ae20cecabcc77c2512c94230f3095ffdec553c9c94b2263a3cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:232-241 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:218-227 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc2aff4a99a9aaeff40600bf4fa48d21575e1fd8ea755b35cf9d3e36f3d84aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:244-250 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:230-236 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee64200b94dd585a2dc1e9eab2793506193e94a28d92d0dbd44c0c980a233a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:322-327 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:332-337 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d328cd9817f6a867c8c479c7a54570373c1810852028dc1d379b8be7804aeb15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:372-382 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:382-392 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed33774e93738fe9efcd961706973a93cadd82d6f86d6e9b38b26fdfb76f4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:404-409 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:414-419 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f630edb0fe7c547cbb58f6df1f63d4dfc4e9116efeb9b6d9dd41af280e09f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:500-505 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:513-518 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2619a182f8ac4406a5811651ff495d27dca5f00d80a28adfd670c07bd557c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:641-650 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:646-655 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb1f9be6d200cfa1fcd03bab7dd709fd15295e10e1893bcfdd91f3c0c42de10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java:680-687 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java:685-692 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 286 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4acb11b6eef11006cf07ecd0b9e8076f85669455b4edb1851246ac5ab54800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:535-542 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:391-398 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f629c19b48e64ca4c91878eb2eb8472cd98017ed8e83a4705509e4c9643d8790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1055-1059 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:980-984 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:976\u0060 calls \u0060clearFocus\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1050\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22dda70818bfb7326b1840caaa186e633fb424b25cf631e02b05785d1fbdf17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1076-1082 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:1001-1007 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 368 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java:1087\u0060 calls \u0060applyInputBarBackground\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java:1012\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"7037942b4f58c77e14db70176433c9d18ad486ebdeb405b754dbfbbb02c13cdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java:59-64 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java:60-65 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1de4605df05a12278ac7aa9edd1057b2a71083da4e7425225f59172546c7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java:67-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java:68-76 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5abb6cbf574cee572e09a29cd87461816df0f22dbf946c307945557b48f6f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java:139-145 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java:140-146 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb914c7a3d18c5dece52e4c190094f1234218761ea71b178ef1dfb90eed87a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java:148-155 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java:149-156 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7961a55bd7b2406ace78c2b9a4ea0ef549cafa420f2720ef4cc8393e99f1dae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java:42-49 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/ChatMessageViewHolderFactory.java:43-50 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/ChatMessageViewHolderFactory.java\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0244a8708efcf5150780a12dae70913c2befcc05faa2471419e1c49d7411d818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:68-75 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:62-69 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:66-73 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:63-70 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d72c0e54fcafa98e991d108d90f1ebf17cb68542c95fdf13d16104fd0057543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:78-83 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:72-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:72-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:76-81 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:72-77 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:73-78 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a682b22a17414ba97cd739adfd63c3b33e61271e862e0ac05a06202921f38db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:85-92 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:79-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:79-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:83-90 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:79-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:80-87 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e20a96d85b50f8c7099916147038299d2433a9e9a95adc810175278c69dd99d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:94-100 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:92-98 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab7c72310928248bc7ed322ad9affdabf73346ff37b14b85ab168ed5c231014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:102-108 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:100-106 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e571a012afd1b54d9ae6445509305bf4860a37cb2b2c6cc762455ee34c98ad13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:110-117 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:108-115 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc15b5a66ce26bb0c0e8fcf07f650642d0198e0a40628fcec62694016577a2a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java:247-254 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java:193-200 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f2f945e1efaa0bee41df1ca6c7be27a87b36d571a4ac9226e01ed744249273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java:174-180 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java:183-189 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4879ea1b2ab6abc1afdaeec88baed7fff792ab2d8880ad04a57ca6cab215b975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:123-136 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java:113-126 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d390b62287dc247d811b311ed081c74bfb0799fdd57df851f74ffd0d2db0fc8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:168-174 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java:156-162 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc0a90cc5a58e4c35422a09a692e6b43ec48e24a84d1465aacd32ed0b51fdcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatImageMessageViewHolder.java:24-30 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatImageMessageViewHolder.java:25-31 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatImageMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatImageMessageViewHolder.java\u0060 as WHOLE FILES: 93% 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatImageMessageViewHolder.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"142c70f1dd29e765b37f0be7a23ea081d04ab1734783e452727b149fe5496516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java:79-85 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java:79-85 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84a22940884b8f97b4584341919da9b7be8415b4c103cc73b26c2bf53e8a3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java:336-343 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAIMessageViewHolder.java:127-134 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java:317-324 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dae6bb77041b3a6e58e1cbf9b85849850341922bc233ff0813c78a51e5ed4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:267-276 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:253-262 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e31de12e65a10578c21a0884e789c0b99dc14381a05dbbf6a05d1756dc3d94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java:278-287 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java:264-273 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b4acdcf82774a2ac160dcb61475daae4c36d0ecf9bc4cdec1640d20aec9ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:66-70 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:48-52 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:58-62 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:66-70 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:47-51 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:58-62 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060ChatMessageBean\u0060 in one and \u0060CollectionBean\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:54\u0060 calls \u0060getAttachment\u0060, \u0060getMessageData\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:64\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c870504e98ffdf87438c6717df0d05575b78125b443b2a1a9f69aff15719fae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:72-80 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:72-80 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ed9b377900617235de32254815a7fb9e063f353304a682571e97c7f38742af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java:101-106 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java:85-90 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java:95-100 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java:101-106 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java:84-89 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java:95-100 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"075d295c36b3f1263a5bddc86b9091e971f9a886f7d976ae1f46f41024d0ec54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/FunSearchMessageViewHolder.java:63-68 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/SearchMessageViewHolder.java:69-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/FunSearchMessageViewHolder.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e72fe999cca79d3ef2b61c7db937cd5b4408e563b8f47f4e086a67cedeba7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:62-69 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:62-69 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1485f8ba308d334062c8d4ea2dd70fa7e7c899552b74fd228a59178f917c84b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:96-103 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:96-103 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2545c15ce5c397764f89d4331267cb2ee8bde6e3768ed42b0a2e3644dd45c005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:123-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:122-129 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1210eebbda49295295ab2a03eb7873ac30d7674944aa2dae6de49e0d699a6a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java:133-140 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java:132-139 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8348687c02765127dfd4a6a53146d7ecfa80170cee8aca9e16e94ffce610747e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java:79-88 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java:78-87 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ae9f00fbe65ab078b94b371983f2df22ddd6b81778ffe323bd7a269a86a58d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java:71-76 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionFileViewHolder.java:70-75 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionFileViewHolder.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a502a72a7d43447cdf3f7922f993bef6620d16099c21cda03022fafe087e3014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:96-103 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:97-104 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e9cb6613e12a2a95ed2ab01e060238f1dab55e399cae415633623d0b5ff9d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java:122-130 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java:123-131 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa1d57688005f7404851bfd61edc2c6ebb0d882f7782811d337333906dfb233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java:88-98 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java:88-98 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee2ca7ee2e6dc222d5b4a0f9370ffdc15bb57dbb903000a9d5e82a669a037b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java:100-107 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java:100-107 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35bc2f782a861ee8ae39815e3bc946fac345afe2e09b338542d8519cc220722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java:267-275 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/CollectionBean.java:75-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f394172839567eaff8fabebbc2abd7c446c09c5b50baa5549ca2445fd6d6e8e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatForwardActivity.java:23-27 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionDetailActivity.java:24-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatForwardActivity.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"702691c6a8a2eb2150b492decca89bb6a71f051cf9bf3b18ffd9419bdd2116f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java:47-53 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java:43-49 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23c9a7ef9b4ad26b4bb6c8c518a1a2e4b177b87a7bee1c12e1befa1bd9d90c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java:258-265 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java:125-132 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d620f1477595cec0d44e1225550f95495d68b0859645f3330608eff3d9df9829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java:233-241 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:144-152 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:269-277 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d296e9c5c7b33f4af95df83ad4576025021b83d7cadb04a422e724452ca228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java:278-288 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java:511-521 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f9763683edcca6e285a0cfaece0552c169a0034e67196671b13422f0aaa492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java:41-47 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:47-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060List\u003CChatReadUserBean\u003E\u0060 in one and \u0060List\u003CCollectionBean\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f89a4e22baf44dda13877ab41ea736f8e2e328dcf2d0239046ab34fb4e1d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java:79-84 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:122-127 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:137-142 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java:64-69 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/SearchAdapter.java:60-65 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"896c9b1060167b5e2c09475dba638015e8f91cd1c2de9aec025a7f8dcfa5bb39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java:119-124 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:198-203 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:213-218 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java:140-145 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/SearchAdapter.java:101-106 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ecd89e60d8c9a58ead3da62a47b61e46a50e75ae84ea08b5e32f73f74652f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:167-176 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:182-191 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e7954a7352151fba8a6743641123a7e8517f05d52ca301c00ddf976351c334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:185-191 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:200-206 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:185\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbec0f8f69b091743e211508c8a7f7f1d934e5da6b42cdae9d2028789d3b1dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatReadStateViewModel.java:52-56 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchViewModel.java:136-140 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatReadStateViewModel.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf79e666d88ec4d0b23bd9c958b32b0f53aa658e148e1fc96b4aedcda62e4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundFrameLayout.java:51-56 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundTextView.java:48-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundFrameLayout.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"20412201171fbc4b7c9e00cb903403af436888a332ec469f71d71a5e6094e895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundFrameLayout.java:65-70 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundTextView.java:62-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundFrameLayout.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af182f4524378f38ff34dee0d7a180442bf2b560f7d094fa2de02e919bfa6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java:297-305 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java:301-309 \u2014 before extracting anything, compare \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91013fb7a27fb072697e156ae54877b8998e099c4dc49181a226784ddbb7df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/AddFriendViewModel.java:45-49 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/JoinTeamViewModel.java:43-47 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/TeamListViewModel.java:100-104 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/AddFriendViewModel.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d4b09366b624c6d53661161a15fe428bdc9920718684bef4918f72b5f91e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/FunContactFragmentBuilder.java:133-139 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/ContactFragmentBuilder.java:133-139 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/FunContactFragmentBuilder.java:133\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/FunContactFragmentBuilder.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42ff3aa01787ce4333a2aa9960a7946f33d18fac14184563ca4ad51604ad205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/FunContactFragmentBuilder.java:142-148 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/ContactFragmentBuilder.java:142-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/FunContactFragmentBuilder.java:142\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/FunContactFragmentBuilder.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"02408cd9ccda243841ada92d4215ad2b0a628e917a2d03542e0ddd8c5824fa8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotBindActivity.java:28-32 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotCreateActivity.java:29-33 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotEditActivity.java:30-34 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotEditNameActivity.java:34-38 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotInfoActivity.java:36-40 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunCommentActivity.java:34-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotBindActivity.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f420f4b349c15622f10f50a97df281a8a8b493884a90451784dd4c0d919de537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunSearchFriendViewHolder.java:92-103 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunSearchTeamViewHolder.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/viewholder/FunSearchFriendViewHolder.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"83820d09bbd97b1d813bfd50c51231c475235d3af2bc2d329a51a326224f4dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java:31-36 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java:36-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0390831c05bb00880918f08d8a95082ce75f446fe62fa15ef3f715c2e3859373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunContactBottomConfirmDialog.java:78-87 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/dialog/BaseTeamIdentifyDialog.java:100-109 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunContactBottomConfirmDialog.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8069c3c1b676e1b77adafb9e19544b221e34e10f22b27054a822e357077ebf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/viewholder/FriendViewHolder.java:92-103 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/viewholder/TeamViewHolder.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/viewholder/FriendViewHolder.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65d0c563337625bfaee88073eac9bf75d1f4107ed4eadd7329e4e1eb1f94646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotBindActivity.java:182-188 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotInfoActivity.java:228-234 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotListActivity.java:107-113 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotBindActivity.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90a1babbdc79115a67d932440bd3516280abb71301ac9824f41915fcf7c6ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/SearchAdapter.java:77-83 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:291-297 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/SearchAdapter.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd3d7f100244b487fb2194c06047b80c984d70835e05257bc35cb1e9d92acb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:254-261 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:340-347 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed0a62c37db393e02d98dad12f059d91230d53a38f6966871918fd517b741bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:268-274 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:801-807 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf33549545b69855e146ec169af4daf1a13662b7611ca19ab951274888e30cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java:289-296 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java:688-695 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c94c3f25a13a2e68b6bbc3ce81050645bfd6f873e65a76bd7611ab8f7e8455"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIUserSelectorAdapter.java:56-64 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseConversationSelectorAdapter.java:61-69 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseFriendSelectorAdapter.java:54-62 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseRecentForwardSelectorAdapter.java:43-51 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseTeamSelectorAdapter.java:56-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060SelectableBean\u003CV2NIMAIUser\u003E\u0060 in one and \u0060SelectableBean\u003CV2NIMBaseConversation\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseConversationSelectorAdapter.java:52\u0060 calls \u0060setSelectableListener\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseRecentForwardSelectorAdapter.java:40\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIUserSelectorAdapter.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6be82c2dd9ba51348dcedd74b77781d629bf5f51e2ed0ea2441bc2dea1693a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java:189-193 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java:119-123 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9e1ecc604f59156e8ba357e4dcda3d4c56651cfc875bb2cd8c86109c22b778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java:52-61 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java:104-113 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"093121114e6959bb6bffb10e27859fa1d6b9c93b2dcc3f0b2681280c9d0d952b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java:64-71 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java:117-124 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060listData\u0060 to \u0060List\u003CTeamVerifyInfoBean\u003E\u0060 in one and \u0060List\u003C? extends BaseContactBean\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f467af1fc836fbf49eedc3d706faf6b0e37c5a0fea32b5177c03ea23aa25a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java:144-154 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java:172-182 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"df51bf1c9d314506804a8ec028042a12ffaef37185ddb5fcef202c91826fbf10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java:156-163 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java:184-191 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba64b57f4cf6139978ddcbf2aa5ef87b7ed6bfc6a22f591e5615317c81798b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java:174-180 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java:254-260 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060listData\u0060 to \u0060List\u003CTeamVerifyInfoBean\u003E\u0060 in one and \u0060List\u003C? extends BaseContactBean\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bf3cc138159a2196e2645f32c27617e872bc9def788b6fc922dca2aefd041a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java:188-193 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java:268-273 \u2014 before extracting anything, compare \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java:275\u0060 calls \u0060getContactListViewAttrs\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java:195\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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aaa1a465a7763faa56b9f4b2e1f7a9c6903c98073e0fdc25f0f1044e22842c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:157-169 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:170-182 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7275bf33f0a155484060c851a2109eaffc75cf8983d106998c11372a00c62abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java:160-167 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java:173-180 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"988690e0e1783c9463a06232d6c065fecd3b80fe0d22563cd09160f4c079913d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java:40-44 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ConversationTopAdapter.java:47-51 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java:138-142 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java:40-44 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/ConversationTopAdapter.java:47-51 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java:101-105 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060AIUserBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.AIUserBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.AIUserBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1d9c509a4b464801130a505642aee590bc019cd12018164d36eacdfa49f7c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java:95-100 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java:95-100 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060AIUserBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.AIUserBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.AIUserBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3b0d8a22cce7af3d0ee7f98a725be8b3b60741bdf1c28cea5584c9e42cb2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:179-183 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java:179-183 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14af32f33518c13b3c9eb3394d6a5c08a3bd521d6719ca9abebc8cb5b9e4a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java:51-56 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java:51-56 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationHeaderViewHolder.java:51-56 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationHeaderViewHolder.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb8bbe10ccf9d7ffcfe48ee14d9f3bfd3d9c405276d735fd8145f65e06c9153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:47-53 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:51-57 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:47\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060V2NIMConversation\u0060 in one and \u0060V2NIMLocalConversation\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc7eed766bf7515cbbeeaed4a7cccf2471aebb29dd860a1142309b04211f6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:79-84 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:83-88 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7062980bf329e56bff20757f86fda9fea51c1ee14aceeb84fd5553ace274448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:86-95 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:90-99 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"da857bd721c18f44b66acf481de60647e56cb23300684cd22402d61bf054a66f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:102-108 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:106-112 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:114\u0060 calls \u0060getConversationType\u0060, \u0060getType\u0060 and \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:115\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"031d71af103e615dbca978e214980b557b3a106741e7cfd049e4d18cf5763689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java:165-173 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java:168-176 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5359de6ebbfefcb2a8662cec3eac9565975aa74c9f5ec3017cafd53210754fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java:165-169 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java:166-170 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"557a1f535c7fd1cf549b521fef72b2d18eb8a198deb22b9cfe810794553bebc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:715-723 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:428-436 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ec989fd84fcf8678084ef69916cf26d35150fa2a26dab25341b8fa9b04036d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java:797-805 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java:507-515 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 243 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060ConversationView\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.view.ConversationView\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.view.ConversationView\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd35668833aa682db35d150373781e6a3ce7ce233f01b5d986063166a481ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:214-222 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:217-225 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:214\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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48a29b6bcbf11d1da8535006c9a7151f86403812a5b632698fd4c1d14372289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:553-558 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:556-561 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebcd4d86a55895f7f72a7bfc916f88aaa02515bdf64f826910874d6b1ebd022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java:704-710 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java:765-771 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 308 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060conversation\u0060 to \u0060V2NIMConversation\u0060 in one and \u0060V2NIMLocalConversation\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94ec5e19996db4247e154c1960c57f5b9d4e3f38cc3219341ee13c36910e446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java:202-208 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java:211-217 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationView.java:230-236 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationView.java:243-249 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"77edb862e8ae64ad9012b1c0b254094126e8432734790ad6f30aa111024e694c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java:344-351 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberSelectActivity.java:259-266 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060team\u0060 to \u0060V2NIMTeam\u0060 in one and \u0060Team\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d753f6b8cc700a558d66f3c7da80bb93c520e2fdf826919bc82754014db14f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java:83-90 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateNicknameActivity.java:76-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d619db7be442f799d342c6fc471f398e15ba4de6daab5cea6130b2ea263aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java:79-87 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamInfoViewModel.java:36-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f0a1542e2a9c89dbb662e92680c33a8bbd0e140554288ef742f7fd4999a262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/LanguageSelectActivity.java:57-63 | app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/TranslationSettingActivity.java:28-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/LanguageSelectActivity.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8960065268e2813248cc6191a9c8282405f9fa5a90153d050916da69442e8e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/PushConfigParseActivity.java:57-64 | app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigParseActivity.java:92-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/PushConfigParseActivity.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ded8a4b5534380f53e3b8db750ab865e2f2363ed9eb6c26691c45a67a5ae52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/SettingLanguageActivity.java:28-34 | app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/SkinActivity.java:21-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/SettingLanguageActivity.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8700abc002b2f2f6f68b143daef2d1357b9507260d74582946a3dca2a0715f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:116-121 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java:127-132 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java:116\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d39bdbe52b6d4d139a29dded5c1789858696c255cbd2689457d37f680d83a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatReaderFragment.java:37-44 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatReaderFragment.java:33-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatReaderFragment.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"86254725dcd116f9b21de762d02801c0587be1deaf11fbf92ead8428bd632cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java:277-288 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java:276-287 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ec6527427a2afb116f9fd0be309bfe0b7badd7f1f5351aae68164bbb4244b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java:105-114 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java:106-115 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da71efe10618b569d17cf5b5b304e0c90d9b582f79051e1db1072a6925e2a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java:129-139 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java:147-157 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c59f664725c3608fdc4aadf9e59a0a5c646c25ff780113a8e4372f82a524de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java:40-47 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java:40-47 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f228dbbf180030b86ce52565b7c08b2a55ec79719fc9a6be5618f95e49aa49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:94-101 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:91-98 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4005227023ceab8caf7a013646e538035cedfcffd09660a432a13a4b60e758b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java:245-251 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java:211-217 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6726c0f8473d21194f12805e3c80ed7cdfdbca5cbc15f980fb0dc64552594e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/BotSubSessionListAdapter.java:67-72 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ai/AIHelperView.java:175-180 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ai/AiTranslateLanguageDialog.java:62-67 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java:72-77 | conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ConversationTopAdapter.java:80-84 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java:72-77 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/ConversationTopAdapter.java:80-85 \u2014 before extracting anything, compare \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java\u0060 and \u0060localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060ConversationTopViewHolder\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.normal.viewholder.ConversationTopViewHolder\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.normal.viewholder.ConversationTopViewHolder\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/BotSubSessionListAdapter.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"936f27d7075b7eaa8fc4fedb10087070d9dfbe6397cb67fd25f73d355943a63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:66-73 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:81-88 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060CollectionBean\u0060 in one and \u0060ChatMessageBean\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"61008cd005803d28404c9fc2c84f055b6000f8b814e6384f7c8660edc9b4eee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:81-86 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:96-101 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060CollectionBean\u0060 in one and \u0060ChatMessageBean\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1295727c5d719e87310083cfdf5536ed4b891d15f73a36e3c1c61ffb67eb1695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java:206-217 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java:221-231 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a19a5f1da8c7ee6bdd57f2d6bb0324c95c9a9b69aae33bd33071b939a4ed8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoChoiceDialog.java:20-27 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java:35-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoChoiceDialog.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1530fefe288cb7890366d27513d89709d3920535c1790a0bbac67c2303acf8ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/addfriend/FunAddFriendActivity.java:28-36 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/addfriend/AddFriendActivity.java:15-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/addfriend/FunAddFriendActivity.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8c2bd40101fcbfa314f9ae3495964572f77e0e83a8d9820471670c23340175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotBindActivity.java:18-25 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotBindActivity.java:15-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotBindActivity.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"85233f71819c4309f739e55d04075c8264548af39637282887aff063fb28d635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotViewConfigActivity.java:17-25 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/robot/RobotViewConfigActivity.java:20-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/robot/FunRobotViewConfigActivity.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9b970885473cd0b4e436d6b9dc08d0c830ce2c22607c97be9a2607be53cb6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java:32-39 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AIContactSelectorActivity.java:31-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6605ddbd13bd251a2f5aa1ae044633590d9845cfb12081bb5eeeaf97318a43f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIFriendSelectorFragment.java:23-29 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIUserSelectorFragment.java:22-28 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunConversationSelectorFragment.java:25-31 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunFriendSelectorFragment.java:26-32 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunTeamSelectorFragment.java:26-32 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AIFriendSelectorFragment.java:22-28 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/ai/AIUserSelectorFragment.java:22-28 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ConversationSelectorFragment.java:26-32 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/FriendSelectorFragment.java:26-32 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/TeamSelectorFragment.java:26-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 10 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIFriendSelectorFragment.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65c982a27232d0f1660b2486a25010df446b78f3406bf68dff9ba5a546fc108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamProfileActivity.java:30-37 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamProfileActivity.java:65-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamProfileActivity.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf85ef3ca61eb018b2ffa70f1e3584cc725b202aece04f40415c8cc8fb42808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamSearchActivity.java:26-34 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/team/TeamSearchActivity.java:15-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamSearchActivity.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b449dc5cbd3050e2d86e4572b0cd52328709670a8f97c1d95a944168996ea65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamSearchActivity.java:37-45 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamSearchActivity.java:116-124 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamSearchActivity.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1fcd2bfeca70c55ec7f886bcff3e5e0e5cb8ee42ce0c8b1da6a35e94adfdf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunCommentActivity.java:19-26 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/userinfo/CommentActivity.java:17-24 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunCommentActivity.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb19c6b5f6a99339b5a1e1d4170ff5bb897f4f702eb92ebfee434f6dd779f3b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/utils/ContactUtils.java:33-39 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/NetworkUtilsWrapper.java:30-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060com.netease.yunxin.kit.contactkit.ui.R\u0060 in one and \u0060com.netease.yunxin.kit.teamkit.ui.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/utils/ContactUtils.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a442736095db78748047288c60a0603a767e3968978cfd22d28e12d3e5ac948b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java:122-127 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java:140-145 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9738277d5681631b8464434ff177cda82722eb01c2eb29e739083931705cd0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/SelectorViewHolderFactory.java:22-31 | localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/SelectorViewHolderFactory.java:22-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/SelectorViewHolderFactory.java:22\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060ConversationBean\u0060 names \u0060com.netease.yunxin.kit.conversationkit.local.ui.model.ConversationBean\u0060 in one and \u0060com.netease.yunxin.kit.conversationkit.ui.model.ConversationBean\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/SelectorViewHolderFactory.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6544b49baf54bf5ab6a6637ba9fa0aabcea2fd3e8cb675aba6398c406d7567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupManageActivity.java:484-489 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/TeamCommonAdapter.java:136-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupManageActivity.java"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"688a98ae87aef68d386a7bad3bb781c653bc78f0c333d0b3d74054263618a671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java:123-130 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateNameActivity.java:141-148 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4e304e73032eef14af41b5b2773a7944ebce6a28b708ec210babe4dd790fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java:49-58 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamMemberSelectActivity.java:42-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java:49\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2c4ad5001bc5f1ad5edcbe77513f36dadea83b60a7b3e13d92a880929151ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateIntroduceActivity.java:28-37 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamUpdateIntroduceActivity.java:20-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateIntroduceActivity.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"089d732ae4133ec4db13326d692cbe68f885e0103925c453bf480577bcc993a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateNameActivity.java:28-38 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamUpdateNameActivity.java:20-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateNameActivity.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f326127830c0eb03d4483f7389e5ba38cb98046ec8fe4c3697fc59e880213c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateNicknameActivity.java:28-37 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamUpdateNicknameActivity.java:20-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamUpdateNicknameActivity.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"47abcd225a40e9f06269d02ee91d8a0d0bf1f5d030d3427c72a3fd2c08d3caa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunTeamIdentifyDialog.java:22-29 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/dialog/TeamIdentifyDialog.java:22-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunTeamIdentifyDialog.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d0eb0c8f13076538fad788c7f369c9b52d5f5e04fca951bc957a77b30276d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:968-974 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:983-989 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060replyMsg\u0060 to \u0060V2NIMMessage\u0060 in one and \u0060V2NIMMessageRefer\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:975\u0060 calls \u0060put\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:990\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"47accc0f2b5a8f576ff25d76692b2228a0abf91abb095362d22234177aef255b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:139-143 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:133-137 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java:131\u0060 calls \u0060updateInputHintInfo\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java:136\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6928e15e038cac75a0f0114c823be6391d4dedfe591c842479521f9c4672f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:182-188 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java:181-187 \u2014 before extracting anything, compare \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java\u0060 and \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java:182\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b0c3d25a4845992b889a223022e8dd440b12bd2b4dcd84856e69ae9a2810fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:207-212 | chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:221-226 \u2014 both copies are in the same file, so extract the block 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 \u0060chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java:207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"83714d97f7db3f77c6f00c6480e64cb33a9fb5893e8200845a21794f99345228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImage.java:235-239 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImage.java:261-265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImage.java:235\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImage.java:241\u0060 calls \u0060putExtra\u0060 and \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImage.java:266\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImage.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1493fca076ac094d75c76966c622e1fe721e7a5f70ce0ff58f4455e434736de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:82-90 | contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/page/BaseSearchActivity.java:224-232 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java:91\u0060 calls \u0060setTextColor\u0060, \u0060getResources\u0060, \u0060getColor\u0060 and \u0060contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/page/BaseSearchActivity.java:234\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f7766e034da4c05683108a0466a8533fba5e9e82557b62157d7e0e7add8c06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java:125-129 | teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java:147-151 \u2014 both copies are in the same file, so extract the block 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 \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java:130\u0060 calls \u0060notifyItemChanged\u0060 and \u0060teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java:152\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d6b2a011f446687eb1bf710166b6e84187f439a568fa3cabac205791190cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/ContactAvatarView.kt:89-109 | common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/ContactAvatarView.kt:126-146 \u2014 both copies are in the same file, so extract the block 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 \u0060common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/ContactAvatarView.kt:89\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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/ContactAvatarView.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9705d12bf4e657fc98684ac278e996212c3e46efb0001b8ab3c21698f51075"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :chatkit-ui: :chatkit-ui: abstractness 0.11, instability 0.00, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5258c8c95256659de65b6eab88601d7e7e24ac3232239b980a237950734255ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TeamKitTeamMemberCache (LCOM4 5): TeamKitTeamMemberCache\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamKitTeamMemberCache.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6212a57a5e169f472224386f90f7e96c85866001d67587be9aaaec220cd5af58"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BotSubSessionListAdapter (LCOM4 4): BotSubSessionListAdapter\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/BotSubSessionListAdapter.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a478b40974ef8269ffd70a6fb9e9252ada89798cd97a616176aaf9888de36f41"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TeamManagerViewModel (LCOM4 4): TeamManagerViewModel\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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1be60825200a3b709f41de0997aa396bfb99770e4eb9715ca93f18c79e8266"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java: chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ChatTextMessageViewHolder.setMessageText at line 120. 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-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 19:55:18 \u002B08:00\u0027 --until=\u00272026-11-04 19:55:18 \u002B08:00\u0027 --full-history --no-merges -- chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a26025c566eadb567fd7e995efee904823cf99e386b4e67f37eeb316e532ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java: chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in MessageOperateUtils.buildMediaMessage at line 570. 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-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 19:55:18 \u002B08:00\u0027 --until=\u00272026-11-04 19:55:18 \u002B08:00\u0027 --full-history --no-merges -- chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java\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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"452bbd34c0633744cda2496ddaf0b4d122aa4eaafff5adb769ff0c39f012877a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u6253\u5F00\u6216\u8005\u5173\u95ED\u6D88\u606F\u901A\u77E5 \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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/BaseUserInfoActivity.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e170c76b374435e72e1ac9501c806e6caa914abc053ed11340869b5eb54711"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo show toast sdcard not exist \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/audio/ChatMessageAudioControl.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1368d3749d574a1d7006c2a40cb01d6433a6ae751b5d0dc6c32ffa60f25220c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo if you need suffix play,set here \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/audio/ChatMessageAudioControl.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6280e49ad8005639513a8c34004e8ae476a7dd64227ddf0ca04e92617623c703"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo date change \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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/input/ActionsPanelAdapter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15c09fec78d853dbcbefa7b74ec86c03d21925a72f6eb952502a3d8d58afc68"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: ////////////////////HACK BLOCK//////////////////////////////////////////////////// \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/textSelectionHelper/TextLayoutUtils.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d444a98a4efa10a143a451fb6d7d7fdaf74e73893dc2d32f6ee13007176af54"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // by 1 to compensate for the change made below. (see previous HACK BLOCK) \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/textSelectionHelper/TextLayoutUtils.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d50bac8bdc7cfad0569d5deba9330e1f3243a0d22357e58d75a40656c934252"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /////////////////////HACK BLOCK/////////////////////////////////////////////////// \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/textSelectionHelper/TextLayoutUtils.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0915b47a29a6ac258f47fc47725612dd6194223bf1a26697ad4ee9afb01dfbfe"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060app/build.gradle.kts\u0060 makes this repository a deployable product (line 7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b7e6affaa93ee6bb19a08419940b0b329e278f472a33ac0b60c64caa16c5f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060isReceivedMessageFromAi\u0060 spells \u0060Ai\u0060 where 55 names in the project spell it \u0060AI\u0060: 55 of 56 names in project chatkit-ui spell the token \u0060AI\u0060 (55 of 56; unit: names in project chatkit-ui containing \u0060AI\u0060). Peers: IChatInputMenu.onAIHelperClick (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/IChatInputMenu.java:80); MessageHelper.getAIContentMsg (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1632); MessageHelper.isAIResponseMessage (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java:1891); FunBottomActionFactory.assembleInputMoreActions(isAIBot) (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java:19); com.netease.yunxin.kit.chatkit.ui.fun.page.FunChatAIActivity (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatAIActivity.java:8). Rename to \u0060isReceivedMessageFromAI\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"f181afc3c8cf5f9b7c5e36b5bba8e68b19f23599e93cfeb182d216b4ca6fdcb0"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060fromSessionID\u0060 spells \u0060ID\u0060 where 203 names in the project spell it \u0060Id\u0060: 203 of 204 names in project chatkit-ui spell the token \u0060Id\u0060 (203 of 204; unit: names in project chatkit-ui containing \u0060Id\u0060). Peers: IChatListener.onConversationChange(conversationId) (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/IChatListener.java:17); TeamUserManager.init(teamId) (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:76); TeamUserManager.getTeamMemberWithRoleListFromCache(teamId) (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:466); TeamUserManager.getAvatar(accId) (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:700); 1.onTeamMemberKicked(operatorAccountId) (chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java:739). Rename to \u0060fromSessionId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"3768a44f4a38be205efaa86a3bacbe05a736de0965cef62b7a5c4fa06c33c595"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getContentDataID\u0060 spells \u0060ID\u0060 where 51 names in the project spell it \u0060Id\u0060: 51 of 53 names in project conversationkit-ui spell the token \u0060Id\u0060 (51 of 53; unit: names in project conversationkit-ui containing \u0060Id\u0060). Peers: ConversationGroupLocalConfigHelper.removeConfig(groupId) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationGroupLocalConfigHelper.java:117); ConversationHelper.updateAitInfo(sessionIdList) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationHelper.java:23); ConversationHelper.hasAit(sessionId) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationHelper.java:37); FunPopItemFactory.getView(txtId) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:146); FunPopItemFactory.getView(drawableId) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:146). Rename to \u0060getContentDataId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"643fc8410b8cdc88c8e3109cd84d417e16f06075ffdf4f472d5e69bd0ba5e059"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getContentDataID\u0060 spells \u0060ID\u0060 where 51 names in the project spell it \u0060Id\u0060: 51 of 53 names in project conversationkit-ui spell the token \u0060Id\u0060 (51 of 53; unit: names in project conversationkit-ui containing \u0060Id\u0060). Peers: ConversationGroupLocalConfigHelper.removeConfig(groupId) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationGroupLocalConfigHelper.java:117); ConversationHelper.updateAitInfo(sessionIdList) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationHelper.java:23); ConversationHelper.hasAit(sessionId) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationHelper.java:37); FunPopItemFactory.getView(txtId) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:146); FunPopItemFactory.getView(drawableId) (conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java:146). Rename to \u0060getContentDataId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"19639fe5fcd059c7e0dc34f45051a344778390f4fcb65714a5a4ba0a1be99af4"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060chatkit-ui\u0060 (58685 LoC, 372 module-visible types across 57 directories) overshoots its size bounds. 5 of 10 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.8/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":"chatkit-ui/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f99860a7fe643cfe5ca9a0aab661373b975bf57e2bc416ef47ee031da6031fb"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060contactkit-ui\u0060 (19398 LoC, 240 module-visible types across 60 directories) overshoots its size bounds. 5 of 10 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.8/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":"contactkit-ui/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebac02073772dec6216acf67603aa14b55e5ea9c0a4c6715c0f1fe9ccc42dc91"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060common-ui\u0060 (13694 LoC, 153 module-visible types across 20 directories) overshoots its size bounds. 5 of 10 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.8/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":"common-ui/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e973d3fb7d93a03a0ffb703c6d62cb6e5bc25100d3f5ed06f36da72050860bec"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060conversationkit-ui\u0060 (9531 LoC, 71 module-visible types across 15 directories) overshoots its size bounds. 5 of 10 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.8/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":"conversationkit-ui/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e753bbf8ccd65b834f66cf93fbc74e4e00f3ddf901c4d9930153988afbe1c5"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060teamkit-ui\u0060 (7521 LoC, 58 module-visible types across 14 directories) overshoots its size bounds. 5 of 10 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.8/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":"teamkit-ui/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caaa563cddee669a97324e378fd3f35959b50a70c00d28e556af2bcf3400f9f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"818fa0533bc5033cd8e43e45c421ccea07fe5f3e4abd2de8d088e55c65d48454"},"properties":{"commitSha":"a00fc5eb5dae38d8a07b2728fe0f94a1490320d0"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"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":"3b0367e7ea9bdd389991714fe83002077989c3eac9db9d8bdc3becd4dd073aee"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 418 of 519 significant files have no living knowledge, while the repository is still being changed at a low rate (18 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 418 separate risks. Counted over 519 of the 901 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84bb4bafda62376ab799033b768aa3af83b588e657c57c1d0966b6b1b872ac2"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adfe7c6f8b002aabf61402c52132a9e0886a9dcc314bbe76840f0524a5f2409"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5e91bb4f225a2ac0d5ffae96de6bec79c8d49e6b8a8eecbaa835b7496034d7"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed97691f7f15ca4fb6b523dd7d7fc7d55db90fc2d6c5d0aced159db5a54f82b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/ChatBaseMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f682de696fe739ade2fc0f5d15b0aeab8a37403164080f7d6edf3dc58941d5b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/PhotoView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8882cc6d55c549a8b30e606a9d816f2ec586ecd070f053648ac11b7b071c1c"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/MainActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b85f94cb1a7bd35ea5f9654cfe0591a00b335ab27996935edee2597a35dbc0"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26200c1f9d4aaa7b218233361bdb67d1ac3d1eb32abc31815cd023275a51d797"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf359d5a0ad17a474dccbccd4b20e3aa7602a0603d5306c8a9dde82bf6dabc5"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f63b749108bdd5ace99c9ed91a047c085c5a25be1abc657895a8696fc200aa"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b44d2a643aef18712c0d76024640ba1406693066d8ff519b8abce49b741413"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropOverlayView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b989865d5ea78c74bbd44066d8307405f2242e5746f9447d67442f459ff980a8"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aec5c60eec57349b6182bd4032daa36d39eeac3f7cfb863bbbd10651e88c6b9"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"341ad73259e37f843660ce39c9b384c1c463fa6a78f652657ed97b022aecf474"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeae07939373dd390b847d764fc6261d48ab6e8fd30fe6fcc4a1519aa5a94a9e"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/ScaleAttache.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0056dc4db5d4413f89c348e27b888e8a21cdff521deef125c995cd470641c362"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37f48f27b9ed31892a96de69ea192ffed01c54116247158d5284de329b98094"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eef21a4ef4c64c1ee8d698611c94da647f2ab6ae39b3d5e00f1af0f750e453"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e9331a8f161c2834b731568654f01f73fd90a9b20d0cedbc2eee4cdb8c0787"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f0754397a9ccef8e19c332a64d725837983138013321233dfc7d92c1d9c04a"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4395fd6a4a4f1aed25e2c3af753d162485e0e55711db418566c1f685eea2b1b5"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac22a79e46740654d32c2f558ac14746aee02dcce5a37c6c7ff35fbaef8cc60"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowMoveHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d646d971b997064adfac057ac2fa1c44ee8c5bd18d0a66fc7e6432ef42a871d4"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"268ec29905132dbf0742e7ecfe8822cb75badbb2de6a66c58c424260a3acc643"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa21b6e63587f1bebadcac21c2e0a7289510e783a52fa3732da455573a9e903f"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fbcede3a589570fb581b11c37b976848e05fd5b0ffdf3ee02349aba5c07cef"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatTeamViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f49786a007d09c4b917bc31d8ee36efa39d0ad73ddcda779e41327363fa14d"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/ContactViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d5c30ffabde9a428d3ee488d76398566dde218ee9a7607f79a8439d41f3158"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ChatMessageListView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c1d5c82b9b0e8a9ae98a8d4500f2a6200b9a29f3c3ec5f8d32bdbcacc50e06"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/factory/ChatPopActionFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57c89faecd75db7b89f09836f045001c8be153696091d96835c74f871d00c63"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ad3d2dd626dfcc72398028d87979980489cb1bab3638bb60802d80ee9f5c02"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05b9d9c05274bcba84343559457757a9e111fd744a04ce9cf2b7d8a14c9b3df"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatPinViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f3b6f9a2aaf0d1f656549c9e53318ede5c4be72bf234416623156ec1aa0fc2"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e79bc3c3420a074bed1a61ea4fed99262c7798dce6312abc15e488bd9341e5"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fa223addd0abf91e58b2d31abc6eb614346568bdc0566561e1dd3b95e14689"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSettingViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"147952d66feb5696940a223f157d6f3718d5be32c5501dad7b36614486683c25"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/TeamNotificationHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58839661f1b3d528d3e0f691cce2411d8fe8410adc953000dc1ebca850f8bc0"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b126376a3e20884457ef4ac8ac05b3cedb55c37adcd016ba0ec4ff12bf71d8"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1e3afb51695f6c6e55b316b0c9161f7bd4f284c7c949a0220c5b06684ac696"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6542151021cad9140bf95894d9519317ca6f6b635180c7d158c4602df54a1879"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4898f0a8932cc1fb16d56e6a405502402c100165320456aa5290de7b9df0847d"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatP2PViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccde2f68ebda7bf08441b4e665d45ce4818a0d011a82711f61de453d618b667"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageOptions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6650b790ef36ec4556dc4f016c51ab5ab883003f1b1def1e4019a90f7a6e7a04"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf3315b4558221eaa7abc3b90a77d66cda3480c6977105b3c706ea2c3cfb0b4"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6337250d725197a333f4c0d5c4eeefc86e3e78ff63064c881f17f082209e3c4a"}},{"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":"locationkit/src/main/java/com/netease/yunxin/kit/locationkit/PageMapImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0b269b49254a0dc6c81de9657254cc742c8e41461c36dadf685b80ef673e6e"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/EllipsizeUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e409436645b62494246131c99402228fefcbbb549e41da01228e34c673bc6ec"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1587591b16caed8b7588467c9e929701a3ecd60774549c8827eb9c0410c342ca"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamMemberCache.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10ce30b5c307358d1641f2a3f6682f0cbb1c7775e8ff930101238a02e8ebe2b"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce0f2f4506796bba6900588bf3b1e660f45395ed9a471cab2343cf95fbe9498"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/utils/DataUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b0ab3c3645f7c85e63d11028c4b5c2350072fb0e99659ca8fa7e27e151b860"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53523c3bfd6e59eef1bb1dc1738cc6fdf0fbc0bce1577f26176ba3146e29a5dd"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseForwardSelectorActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafeffe67b5650dc280a71cc2414aa9c33335258fc665f86117792a1974eb3b8"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropWindowHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a5c844233ffc9bde3bd0d39d2d36a96b3f581ea6ae8b794afb0f7515c4d887"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6970e14e4f218df5fd2dd57a71205b41a0e3cde9a52b663817a02d4922894d"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/CustomConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ea0c4fe06400540933eef2446c39b004dba84b3095592dbbfa7195564a7943"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/MineInfoActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fce9cb5c1bd1973192a0ddb33634b1a850b7712aa8d457ea39a968ea12d4cc"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/welcome/WelcomeActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25624930ab3ed2f57212cec3b5102bd0bff63b97e9c24216f6f2afd0656e269"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/BaseContactFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6c48f014fe0531ddd0004d03665d5416e139edcadc74ec5c0177c5568a0e6c"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/EmojiView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df3a7d2d743d30db388ecd52ef97b2bb572212a29000e80912ceff214248c27"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64af3c4696d29033be984b9c20de353a29907f2ece25504c92eb3d499049475f"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf748190850f5042e220d7fd8dc96fd7358f09c5f63debfa9d1c73340112a7d7"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/ContactListView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8ba9c31d7eb6dd8e846d80312f1b9a300f3ddacc8f9db7bd10afdde22d28ae"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/textSelectionHelper/SelectableTextHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c292485ce4ef6dd1ebe9d9ba2f1dac3db5060ba5085b09d4307f9e644c05ebf8"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamBaseViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bf7f725e738ffeba128b825c892ad94c0933eb8ee24a07cdea03fee628876e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/EmojiPickerView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c258da3a0258a724ad1cbe2b514276dfc35fcd0a0c5b65a13df637dec313ef6"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0672cf170a50185787a0743a7840ce592a0a4b895994fbc743dc4d6f04820ad"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"630d041f84dedde43b8155722c6dc28a7b452fdf1b62e5bd0c3fc881bc797a95"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb894d054e97b1816e3d709cd254303d8eca23546104c97a4054a57f47b7b5b"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e6a19fbac954784c1c5556dd23ffa24ed8a11aa1603682a417161092f8a462"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/TeamUIService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6872e46fcc190ca1dd7ff4a5313aa1a9c4d85e1a5b68795d74ddb0fb89cdf3e7"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffccb3dea52c5513aac4b4052b9dfc453018f0ac2976dbb61bb4cad80395f5d"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatKitClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0ec799a4bad93c1eb6c7b7c175c8771a139b3029c5900c3455a70ca8d26a86"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf9ddce58a7b2a23c0cde1ce06e0772748c5173919a5cc5bb00235784fe8c07"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/BaseUserInfoActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bb6aa7f7d23104f8e81eaa05686758aae1cbf8e125fc86b874102223da5c53"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7272cb38d605e697b7d9fbd82475b610fbc39ad1fae32ba8addd325c1005406"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/SimpleVideoPlayer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3d47fadfce380856abdb484b1aaba9d2cd532e7d372a85f06e78a1a41053b3"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb26706d8c093d993a2aedb3b73ed75eb345121f1bfeb68236654f1b3bc4223"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"038aa0b4be0337609cb267fa813527ea88b74f845b489bc17306772526c2a222"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69499e012471a66dded35d5f684dcc94993326f21e58fc6878102b46fc11f864"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6fa294e13f931978ccac27a9eabb46523f3318a94f9e539618d67d591f8fc4"}},{"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":"locationkit/src/main/java/com/netease/yunxin/kit/locationkit/LocationPageActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da15da0cb9fac5898ad5257f55fc0bae05a756d1b72c6e22046abe56cd920ad"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/UserInfoViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"536ca75871994e1ad7d3e76e6d7efcced3311dec98f6b005e465065be77f8025"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f518d9e870ac507f715fc8318681cf7e81e5351eab012321cb8613067817ae"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cbfc4622c5d899b3908f9f54c74b9505321e18b781b93c121222b0ebf4725d"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7283a5084d3a296f910984e058a31e20e16681e86805165ff06aa725d6a054c"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ai/AiTranslateView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"054b271a977858b967f7c6e0f97ee852c0078b33ab5b954ca9f61dde904a24d8"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"168831a35aeee4e65e8cee9dc175a86a99aacfdcee25a93caebc6d896176d922"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39652efcdab7733b027a0afc5acfa5d40a2af7d5553ffa9b59eea2d8e4a0ff6"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcb9c98d050b35cff51544a99862e57fa360d6be4b699b4cec8e68fa2c9bfae"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3099bcd5f37ba072e7c6e27a171d6c5fd42948847deb77e750d78bf297aa06c4"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabf948e6ede08bba891526099ed3235e1f40483e28af9c006a179d1906b2b46"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/MessageProperties.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0f0ac20dbf81d5f9f3bcb9147cde88ce24838b7c8346319b2a1714192b20e5"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa8b3ce008de6ee9c606f15bebbc20ecf4ab40559e9b404c091f0f944a19388"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/PickerView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b6e3b135aad8e6c4228cac6946b0cc5f45d7dfc1b34b20cea140d994b7aac6"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamMemberSelectActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3a1b3b914876364e97c892c8a8699312950ad251e283e60e61915e731c5dbb"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c1b6371ef1703768ab45b7dd892cc7c43f2b3a5ae73ae33a16c7032bbaf358"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/audio/ChatMessageAudioControl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc13fd6ca1b7c03ef93f874cd23cea14470415960c0ec4045d2fa21cab6ca1ce"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"708dc6fadfe5dc0bb31afa2648a06fdcecd05e10e28e3b9ac2dd37eccc4b6179"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/SettingUIKitActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"213f3858e964dd5e5a5359212adc4ff390c93cf763ff766622415d5aa1d5534d"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIconActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6de3a36c07afb27ff1e93074b30ebce74f09c9b03b82ab3b8f41c76d8fae72"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca18990ec4c42d3faa14090db7fe2c3e0837adf4a9e2df06af0286621e6879d"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f439d098aa9ab809fa353691101a32ce84191545ba8843c86fc10eb16affd3"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ContactUIService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fc3746c20373258138107504615aee3ec40e0e986d39927f3d9cf6f67208c6"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/AitDBHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc92244b1ac00d798b315b85eb8b56bd0616dbe1ef181608b923a9a52f3b4f0"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIContactSelectorActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b317ce079e706c073727faf54b428f7dbe069e607bb3cdf08809a2391992bd6"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/CollectionViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"456af2aceca8a198852bcf945d76e31c074af3e2c2bb75b28d848e493d51a863"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/page/BaseSearchActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2653fde4c8fcf23b4c2ad5fec6d262ecede588e56f97710c1333df5f9a547056"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba291ce4896b03ef0b7a8e0d339786ac5d28ed09fef124912a9ba1f3baaf662b"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"193e9d183e47d84a608d38a91d7772ac4509c1669d596fa220589f67788207a3"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamInfoActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf6beb347a1048b795287ee9e24af2418a042e1707ccbad259aa4ff5a4bf296"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cc3bbb0b7ea35519377f257297970a8424383c64762d98803e2a1dc8acec59"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"433e738173de8066c33b85cf061b6d3bcb8d0603a71a44fb578cbe3d611add30"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapCroppingWorkerTask.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ff50dea33032819488f7a39b8a333ea64d54bc18940e7782e6b59a5656dbd2"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/contact/FunContactFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"337a8d93c76929276ef4c59d3c0f20530adf16e9a01b6e3be4ddd1db68506325"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5cde4eda8ee15cdbd79ab5bcc2c07e4a1e5baa78bcdcb3ba4dd4ec2161932a"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ai/AIHelperView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9125eac31e1adea4370aa38036879fb634d8666d884adc410d8995d6dadd7f2a"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c2725f02248beb0365299e8e4236e5068f05411408ad53fcb658034e0f22a9"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaef32a099c3d46321e3e20b8a46ae94c26a37a4adab3b1ef2838e0b3622b3b9"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/WatchImageVideoViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f6b09bd71c36d906df938f67b4f6336266efb341b6f784cecb8debc3a46ffe"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageCreator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4778d2bbf714642b9a9d29b7f33791eb39c03bc0ef7ed8f249e98e35282da06"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/SettingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ae043163895e2437226b5d71767fe80f00599165fa0fbe957d5c2a2f708da8"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/EditUserInfoActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6eb52c6db86c2230c4971e580bf4ba9493590281cb6ad401ec9d3cdf4ac570"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7cfb659f72dd45318fdd8d0a2a0524ffa08a44cf3db960188655c0ae4b7cf7"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c99093df294e97a65efc59bf02fc0234f6d8218e3987b4fff5ab46f67895733"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2e8aa1309c07259522b63e25ab8c1d54a6fdfcfaf3718d7fe5d419189b00bf"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamVerifyInfoViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1f723559c23e28d185ef0e4309006cc4be597e9aa617ce76ed53a2499f26c8"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamVerifyInfoViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba81dac20b88aa8688b1722f9bf3550c0ef9c8fa877cb37973dcfbab376702b"}},{"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":"aisearchkit/src/main/java/com/netease/yunxin/kit/aisearchkit/page/AISearchViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be59cb46d0a9dbde45eea9f9906ea580be46dea090f7568f7dd9083acd7bff0"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/SearchViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5334aa9ade175588cd6dc0b2b232a76957191956e0bbe4dcb8634bd1a5a2771e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatAudioPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffdb8e6029168a76a7e7e35c109fb7ee30a633b725a0a127e4ce41ec4a2f00d"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93a1cac7c5f38110feebf164d6b29a57dd18e7caae9e49fe2370a9ea697e14e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b691ef44ee3471e4418310461691cddf6609dd93f1e31866dfe341eaf411ea0e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ai/AiTranslateViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"459e22fdffe7d23d6179159d17caba9e8a4b4a9fbd8a5045a3f152742b0255fb"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb22744de32b7046740354ab72cfeb4181213e592acf5fde4bf147e408f8bd28"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionAudioViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e7b84352283db6a48f50cb740025130bee9f881723044a059d6102e6aef3fe"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/CustomGestureDetector.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e51890be4fc9cbd814d528d5fe120a560a003656ba965642e5fdf66ecd2762"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb08f59f48f53532acadc17471fa87829859a03661f33c56265cb6694ff7e66"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/PhotoPicker.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdab87e5f038b7522ede3f4bd0c90d8cc7d4f2d6d59a9b51504156bc16a9fd1"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44427f7726dabf7a0f56f4b26097536209febd7fca78f7f8529d08bf86ff916d"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyBaseFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abe6641445e5233a64abd4adf31e5509feac7e9eed3baceaa752cf29b6ea120"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/NimSDKOptionConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0431f613655e387d90395440ce8488605bdf7413a4a0c166f100f5986076880a"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/WatchTextMessageDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf56dba50b67999f930c2f47c2c63d202fb8218821f86ea17e550ab76a58b9d"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf5884eb3abf6bf45c183fc42bf1789bcdb124eff125bac629f4e12a43f9e88"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyListFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c214dc90d2bbee43d2dbea8e22212853184478ec89be748fd59b42834346f51b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunAudioRecordDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df84fc165908827bfa14ab7786660783fb4ac893c80854225756ab46969c328"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunPopItemFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d8c4dd05cfe63438845f8cf6e8cf187be2a1db06006dbe402d4be35fa2ed3b"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/verify/FunFriendVerifyFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e367af2713fab4d319b4145ff01aeaa10402181a243c93488f1f1496ed6ef3"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/verify/FriendVerifyActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20cd1945a932e88bbd8c26433960bde9ab8c26c8ea8b53a9c36848a7fea211e"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunPopItemFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5ff1f1ad30fe2b66066f0e694aec1330429b0e44207b90a114555342d12814"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/NormalCreateTeamFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0db1a97e4dcdf494d9c0c4e62d1f4bea52abeec414bcdbe35531751b0142d1"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b14d98cefee4c0ee32d59cb628c4058ecd18b4190cdd2443b1f8ffc87de313"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0c2b685b70079450f83ecbf2c6bb3810a3c01d19f7b4062d8df27f8927f78b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f284d5a5d36f8a60f5a60b29f6dc6e9c0667c00364a3e13dfbb69b1e15243a"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunCreateTeamFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3a60b0960e126a5cbb65ce789c8b3afe71f4554c2c55df55a6c7b6711b141b"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/ContactAvatarView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fede8f4bbe6cd4cc348439c3fe9d3c72d715e815edbdde824b756463a8ecd9"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8188f83d5cfe47407b47481d16b6a8ca3e1ba9dfac37b052e05035de153b21"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/ContactInfoView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e9bc44b144c499cd1d22f1f7083e826b0f5ff3352259a402347217432c3929"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e8126c0ab02e3d33f4c96ad8eee9e1e55bd78323f99a4f2d3b31c0da684695"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/PopItemFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc28a3285dc2c42bb7d8694f01bb802b91150dc0e1dbab1cb24e36c8b080e9e8"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateNameActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6f00b9aa27bdb981824df4d9b4f22004b3448713e245caae36dd6f1e26f6f5"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/PopItemFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"582dc88fb2318c04e7d3b948b7938e19b8ff41cce99b34d7bcfe44d2a275b66f"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaddd7ce4715e7c72db4a07e78ce957a6fd1d12b91aea04381b60101ff9ea7e"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/TeamListViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e269350090325f09098bf92214c1af4091cf1f89a4c522f433822db9a558a90"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/BackTitleBar.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5140cbb906025efb8d6f557ed208ca592c8bfd7a171bd10c09b60cf8d235f8"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bf150b0045fee2cbe7434027cdeee2c4dfb38aacd4c9169a1f0a3d636530a1"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f5fe6fafdd31811de830cf91c630721eb8e66795a710f7430dd331ee7e2f51"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunVerifyInfoViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8963af9198240ba3f2b340df5e7ef354bc8bf44c8ad5b1c7f992a607c8efde"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatViewHolderDefaultFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34370b455958bb066e10c6a3b59ca6d762cb49557ea441d59f17c4f6e45dad35"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/interfaces/IMessageItemClickListener.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6d1dc3f5e60f643f3db185b37975093361662ab1e72e52808e023d08649946"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3f114917e6478e7566f0a110775368c2b999202cd3760fcdd68f4ca178741b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatThumbPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f76ed85fbeb9c795e0f1612a66e0188870e2803b7c273012c195c43182bddac"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/contact/ContactFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fb82830fc6b5eb690ee6874ed93a5000102a962c99908a2d12dd72768755ec"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2aca8039d49bc0d3986138534736539a314ea186eeed9ee355c6d3af3ba5b4"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0190833ace56b1a6b5b6b3f9ef815d949e6cf8fb59a6f17232d5eac17d2fa7e1"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/VerifyInfoViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"245e17537407979a416b99862ff2bdfcc5adc9551fb683c0e2d279aea4110581"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatThumbPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"479586d213d4a371aaab2652e97505c69da078003fc280a4ad61acca4c9b5e44"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/ScaleImageView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ace2a8d89de2ec20097cd580cd37dc61e5c65f76cb0283590b7ef5c359658fa"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/utils/MessageUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05d8ab304c3e316d3e7c089afee47007479c81305703c77c807a12f0cc2271e"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/TeamProfileViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cf7a861924cc6cfac3f34dfbd2ead4645f11bfb6eb89499c95dbca59f2567b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29de6d02f835852dd116621aeb1f6194f65c5bead625b8b899e8c870982dc444"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/EmojiManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e28fe70ef111222401c4c4ddce8f78cf73493ccb406806d4a09a74efe8acac"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatForwardBaseActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"389d5b0101b2b3af3d9ec3c236150669f125a7b711bcf8db651a658f6e63e81e"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/IMApplication.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e5b0a53c20e6cd92143a796bbfc52dd549906fc176f7dfb348d231a8457bc7"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"445b49213e8538cd96b9d6ddb689e100ed031fc769f01f3e3bb5355a5acf5da9"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7165809befda70a8cb9895cbac88125a80c52e6fb4f4edc210b576e2a4de13"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionThumbViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abdf059fb2927c87a17eadee60096195da342de8abacaad2b917f59c1b55000"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionThumbViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf5e810c342706d9a529a63ce44874bd5ba0e77228a7788076d3a4fe1639aa6"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/CommonConfirmDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87a3e7223de61b14341bd3b1c9cc638f8c3ca608263c0ff0ad39833394e2f78"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BaseBlackListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e44f18bdb72f02c033b3c5b12ae2758afd03c93f3ab69eda88ef88a074d9192"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/WatchImageAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8517f14f49710cbef3ce0078f597896d06fdfe713a6e98c2fe5ea871932a0302"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatUIService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"325f8eb6c1788204493168d19091ef5d3fd1351ab3a5d63375b7084e9a8bf688"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca8466eaaac080cae6baad524fb6c94d95136ea9c3963ceef79ee03d6f7fc55"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateIntroduceActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5019f94ef63b14a40c6f9d0616eab95779f4b9387a27e8f3679a66667d681aa3"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/PictureEngine.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ccffc8495b2dce6233ae3f3c23ff34a4ac23dd02b027f13e8639db3ae187d1"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamProfileActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"245cd858404ce71c3d755f85e63b052fd236ea856116967c3dd963496115ec84"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43088ea0f63dce141af109247bb1f55ecac956532f40a006bc02597ca6394501"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/custom/MultiForwardAttachment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c861903085c9ee2a6c3aee113185b8100676d1ebfeda55cd112ca313c7280a1"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b88b9c13e0109cec3bc38d492987959e228d8ffcaca26771f6bf3e3b06a076"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/RecordView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ad4b07d76f2b44d612f2beba9f8d3d05dccb1e5bebbadcd0c15661cad84d07"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4c20ebb03ffc30500132976ae2f7f638ffebe01b42401a22172b1e9df09490"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionDetailBaseActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa839bc266d042fc5e5368ae85d2ddf7f8759f3fdb1ea7860a8fe76e1040f13"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/ChatMessageViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b5a823ed27f27b1ee523ae62786dff962db47d303a4e4ec48a0ddacd5f2b7f"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseTeamSelectorFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94499ef5868d72f0448d7b5aaf59d990bca8f106aa427fe5145dc6be28e797e"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8351085f5f46275d08c12e4e6aef04541f6ae5f0ba4975725b48e0bfbff56e95"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/network/IMKitNetRequester.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf37cdb1dc53f3123957ea415f2eb849d0d03c1cdd733893da15adcb0c151ee"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AitBlock.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64c7c61181de79f71a4cfec1478f9127e3a21d57fb6a884c6c14b40625b4a73"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationBaseViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f70ad9005440db0358bb61332a96756d26b7197db10dccbae8f15dd50201125"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/input/ActionConstants.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f7defdde514eb88970bb363c8fd14e6917b27c139e4bb27705faeb78e3b296"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/model/TeamVerifyInfoBean.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf0239d2121e4cfc9814c10d1c8360ba0812c0169b3655f5521a23779b4f7ce"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/ChatMessageViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6499ed9ec2af22b7e5d64b321a5d5ff1a5b455b6dbe8a5e2b1992ba5ef770675"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectorFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abb5ada059d151ec0cb71983d45520a2507e66fe1fe32a14e9bad2bae1a9922"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationBaseViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cce5b0c03ff475c5405d6d37dd4cb954857671a7bf415a3e36ce374a53c7e8"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAIMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4ed19c80af64c943a64f78d0d614a254a633b073c92a9d7c5e2572d359524a"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatForwardMsgViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac83c3c834463b9cfd76285814056913240b7020ee16d6b7cb2ffd75f8743c27"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationBaseViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ba0c06c1c9e3935b70ed72f87a677fd790611b329117178c598e1846f9148e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatReaderBaseActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6531d351884a22fd958e0f42ce6475928a586acaf47effaee06b71e5695034ff"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b66e96fb17fb18345c075c590ee913a61624d37841a8a6f2be50c20c102bd3"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/utils/ViewUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7de9fc0aad971be7beb9d9cf99325eab92b40ecaf8665945fa993a7b1003ad"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ait/AtContactsModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8261836b8e617e3d251c9b70bead36bc9bc296966d7eea997a0a32bff2c5d1"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d1f2d6ba3831c2bf8d31f565f02f16d290cda401773377c4680995562725b4"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/textSelectionHelper/TextLayoutUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8009103004dab42f1839c0b46754556d4a601d8729814830949b0b059ba25e69"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d745e93bc15fa477c97e28b7bd5b7b686aa01d76fd60156905ffdbae12c833"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamUpdateNicknameActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a54a723ef34fc68e60142853a1e7daf9875989a4935b68a138d50c47adec9d4"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatNotificationMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"030fc1584bcacb41fb94dc3d67ec53e055a59c43fb8f24e13f619431f184f414"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/ContentListPopView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad59aeea287b1cf6cf310e19f73611509c6542b8c3df8af34dd1262b9be9c88"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/SettingNotifyActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3287a7e92ea8888cd735d7fe5c2687be424f9d8ddefd5e9a87f6648db01adcb"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/ChatViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f41afe766196f069382b8bf87fe9bea7887ef63042bc4c866778abb7b7d7ad"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f19ba37098a3d9c863f2cb072ef97158b92533c6d71df77cc18314fa98f2d7"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatPinActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"841cf7109820aa99a474958d492fa022835eb8263780011e40a0b11d48ce5766"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatNotificationMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cbe62683d7eb5a874dcb56290b55eeae9021a79a15307133098b34134b3f87"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/TypeSelectActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f10e79e9a7f22f1cc6e266bca8b1bf6d2f0644a3d63713bb5c482589959a5a"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb28f0b136938870ddb45423635f41dd0343ddb6ab229c30f2aa0b4db1c1224c"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/CommonBaseMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af27e7d46ed88b07761b099d14f40fe6a0907b1ec9a4bba369d9a75ab435be19"}},{"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":"aisearchkit/src/main/java/com/netease/yunxin/kit/aisearchkit/page/AISearchPage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5c1658fb061c67fa1b964f07bc070423aff045cee18d82a8220f188d574cbe"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/Permission.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0135dfe0990005934067cc56344c90dcf40f4e25a7d343717d8b831abbf702"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f0b5deb3639f506b5317e08b2cbc6b6fd1e461160a3e6703fc86fc4692dd0a"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cad1ed857ae39d112c910cc19892ce60682dbd435f45807b995e9be853ec31"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdce503ed3c1ef8f301dd973f84f9eb9800b6756a2b35d1e25a9ec47ab98b810"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/TransferHelper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e59344d93be7896eac1b6027a1d2067d252ceafce854284c20f9e110e1e1fb"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c274a0dedc1c4d382bc330cf11d38bf5800d3a11036cc441572c194dfad7415"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/MineFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e9c3b499b2fa29192b844a2926cd6f586693f4f44a5dfce966bc63f6ee8295"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb032330d59fd0684b2197b920c81dcdbea56570adf4f13403accc90fd684857"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18e4aa7008da7aecf67b1b421b18821a48bba646d7735c4a1bc59b88a885b96"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07e25cf2113b66a4f26e5ba86bea88b8be2ed72413cecd79d1adf93aa205ff9"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e93fdf90a739a0a031093dd7bec9f5bbae6d6e83c04f456a1a71a837842d63"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/activities/BrowseActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5aa82b81e58d92d7cc90dbaf1327dbc51bbf3800cbfc927c634e381af91f56"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef586eab2f9b74009b988c7932094858d0b9df6699f4c109fa800a3dc7a3a85"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/BaseAddFriendActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da13e618ca19c896f6176317187b8ec210d439ac012a133dc7194d376a2f0a36"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatLocationMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a04335df3190ca3330dcab822beca0fa9e953c7305807f9bc78719923a6b1d9"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/CollectionBean.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6688422af78d017b36d9e8f0c43bfb12ec7d44cb476ac5abce97c8fb036f6c73"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/SearchMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e087ad819568d4085eafd65f03494b073970632750f5a9ef7e6b624efcd4432"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/TeamCommonAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"018a97a9cd8e7147b1059e5cbdd1a4e561110bb668c155c4946751a987d3d57e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatReaderBaseFragment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"425201a7786e0ae8baebfd79ee9633b59a6258daf30c0d165b992bca76802e88"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ai/AiTranslateLanguageDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b1f8331b40a20b5b2b5ee9f8f98aae45ffbfb9d7ccece0627a46ce5d3e36d5"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/options/ChatMessageViewHolderUIOptions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28e339b67085f00212013c6e319738074549a9e2e2972e22b7a391aaa5dec6b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6116538181337eb3ec79466a45c4e7ccff5fea12b37ff8cdde0fc2522fe6da"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/FunContactFragmentBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaab99fec7cbc42ee71bd4015f65b8e2a734d459a220e1ea2950d2a8cc2ea43"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce04d2cf770ea196524c9da8509cfbec3073421589598cc53060731dc610016"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/search/viewholder/FriendViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9adbb07bd72b388f8e6a5e3b2767354cb83f9c2cb60edb719300185a874fca"}},{"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":"locationkit/src/main/java/com/netease/yunxin/kit/locationkit/ChatMapWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dac3f975abb32f13b03b68841e3819d2ef13d5e9918778b0aff52775bc0d00"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/ContactFragmentBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05593894ca8bc2024d2cb80a3826a63da56da0d3b3610231c203f110f10fcd13"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTipsMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79d708e704ef629c0b1905af5fa1f8c66bc10b117a749e2f4d6ac6735275e48"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef581a906540244fd3d63656cb572e08388ba2dbe17d75e5ada87d4a6867a1b"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"682c9bd425da657c683d8fc65d5a1b9117155bc8e01353099b6aece2e851224e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatPinActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d159112056b215c831df5753c0392bd0ad68022a1f46820dcad86bffa73b5a25"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e9e0ad4f66cfbfe31079dedb52ca7fcf8070316927265af79e17ce65ab5080"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/WatchImageActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3ba8d6e1b9ec8f6d47fc38f31ef1172d4fc198ad18d9c72eef4c68ae7991ad"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatKitUIConstant.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2d0789e437aecff5b9b3d5836d5ad11aacaadfc5f9860691c783e8489d5fb9"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20bb1cbca7adb307f1592682d98d54a675704cc80b163ee7221d61635f7f8af"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"274d02fddc37694d2498efc6fa9375b3d8b675ad6b314a85d5c357e99393886d"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0489b50beedc11bddd7c84e2b8cabc6fa568072c38ec1a932693fb07e15cd97"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/input/ActionsPanelAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1f6a53dcadc20b47b6ab754c4341c5fd5af13c0b2c54fde267a35c53c7f429"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eada35284e9457bca14e9f823ad644530537a6aa11186204aa46275980d0110"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/SettingLanguageActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8828849090816f1b7f621f1de084771dd1871107cad224591c92170ae927a6e"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/ContactListViewAttrs.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c6e7c3048d44ee37c1d9b71ad071ff66fb17921cec917f4f8ec2ed705f03e7"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3730d00c11e520aa47355fa90f6418e128f52c42a83da48b8f08508600f8ab8"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamSearchActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8900535e44e233892a360bde81ace490caa2158147264512f05254ca259147"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunPinViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"865f35b75e375effa45d46486160acf852bfc1884a3e073d8544714c6deef56d"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapLoadingWorkerTask.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a1d803c62ed40e26a4fc27db91a364c9778ca54e650d67b032a211ce1e248e"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86dc705ebf4b985cf0b73349ba5d3b47e763eb9c9c71f5d2add6f3fafc059cb"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/search/FunSearchActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7540129b18d5957fedaab31197be7540ad76b673febb8c554c95398afd7d8848"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a617cdc7e691f510712d69b7b844fc91088327b72974564a84ad541f43e91c"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/ViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef87f94f22273053109c3687dd8b7eb94feffd3fdf0674b6e6be6ee65979b7e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatReadStateViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"032f2d8bed313c0e23af53cee4f68d966cc4ecb8a43340c17b6677e1af15fa53"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab21e3d304af571654bef5f3bc0dde7ce912a611e07c19d13a0db857fee0294d"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/interfaces/IChatView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f047332cf91bc832998a3c16a97857525ac313689005b2c5ac7e767aa446fc"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatCustom.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80678046d2f1add1193b6b24ab40be9a69b98ef20d857b016157c062c77eb7ba"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/ServerConfigParseActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c1b329d9ec662e7f0ccb26b372332c7b24ad96aa7442570713bd633d0290f4"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43360f33d5bb979dd91e6a8e41de5f1e251b9e2ea0dd6abe3b15cfeb88ce4a5c"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseConversationSelectorAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"236bcf9807d86f3aba672aef1336c7ea1d2898c51b46677158ddcfb65745846e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96e2a039136a76ba2b91b702b53452763a29699ba120be562fce05e553218b6"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/TitleBarView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad43638efc341776f691039873fe0081f94bae701120e83dfb83d2aa803314c5"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cde73db0e9b31f228c18e0c18ed6828479d627fcb314c06e64ff31989e7949b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"594ab32c1214a9c3e39b4af047a6c902275fee84b66649fc40cfa1e1a92f4301"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTipsMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de880a9cad616839d9212979c59768dab459b1ba8b841ba4c50516d03517247b"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamManagerListViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cd6d1be27ef9eea1fdd855af14db492fb0d69fa909613011b98e42f9471007"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/PinViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15079665b642eafa49157f201f1c525ee0a2f0d4827e06da1da0fddead8594f4"}},{"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":"locationkit/src/main/java/com/netease/yunxin/kit/locationkit/LocationPageLayoutHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"421b980aa2b283f4791a9724adca131a7fc4cce7111465884d0b9d80f415e3b5"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/FunForwardSelectorActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2c53c88c1d797346613df6ef1950d8efb825e50f641e06ef71c729ee3ee654"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImageAnimation.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d30eee88290df20fddef75a5a891ce4fd9ec21389dbc08e584e8fe571156c2"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatTextPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8324f192edc387b2980c56bfc1d60ad3454a0e46e5b9b8c0d5b8b9e588ab2bcc"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatPinTextViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28411e5e339a172885c251aa695392633318d319d159fc2205fe2ca999510840"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunCollectionViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5e6057e37b5901550d464b2f80806fc44e1f467d68add28b767b6ae79f6a36"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/push/PushUserInfoProvider.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf081002abf555fec668a53f82dcb6d79e05bdd1e5cde01f2ef1a15cbc3df78"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationHeaderViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3832af079ab985d1667f781f87c14ed482f90c9e28f9e4eca80096a544432b43"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/CollectionViewHolderFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3b868182cad6dfdfa275d47dbf656d38f28188e9fcc80710e86ca55aaa433c"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"703655fa587aae10c548ad74576014a70e150ad26ac11b4747ba81aa1cd2ab16"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/ListAlertDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6673b5ff81b9c36b9e89f52c9e66a3b6bec46a60aaf075a9c7d57a14819500"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/ChatUIConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f640a8ceb2317caa072a0149fe5cfc75d45e1e9eaf582e14f6f25bf43f946f"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionRichTextViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6336c282434fbfca2a631dbe295da85456167b1fcb090d4ba2587085e1c7447"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamSettingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8aeba924a9cadb6a0a28d7cd8a5a4b5f20ee8058d1d0b41052940b8879a75b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionRichTextViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee69ef3c75d1fbcdebd764b45850d3ab6fd28e35895a1439202699e72961aa6"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/BaseBottomChoiceDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6a1f3eedf179821db9f23ec8983f5f58195785fb8232e1da349fd893249f28"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/CheckedImageButton.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c9fe9b21fdd4d9d9e9b99676fede77b60aa987eec03d640de0fe33e95b9bbd"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/viewmodel/SelectorViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9c44022e40f5ba4a8086bbecc4b460ed47744abb06fd616b5b5af3e9555427"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/VerifyBaseActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5adbf7cf4b0cb5dc5eae1248e665ae98c027eb02e90f2d8bd4c97be1f9c495c"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionFileViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"379bdbc43ceb7c799eb800fbca85895fbf4f1f46b3a627dc94d8fa3ee857ee15"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/viewmodel/SelectorViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9348c6f258207b4587eb9e33a578f5594bd30e9d87313b85dd320c4e7ce5e2e9"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionFileViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58be73aa0ea755eb51b033e949988843eb0e90927ec5922aeaacc4130df77b2"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/welcome/ServerActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a2fa75656b528f7f7aa3de7fbabbfa753c5ac81a1213d54891d7b96bee2b49"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/utils/MultiLanguageUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bfbcb5e5339091d4b5d9c22f8096de74aaefcf27421cfb77b4b643c7089546"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5592bad1816b724063643792aec2eb5e63183256d4d12d034ed1707a1ef3d4"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/ConversationTopAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beccf12ab98ce61123a451cca6b9cdd3418e60408e7af3c1180f8e63bcb36ca6"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/activities/adapter/CommonMoreAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c9f90a252b937d252234aaa30b3666fb4e111d4740468fc397bea0cd461f45"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/input/InputActionAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a73ad9a4fd5146de644d433a1540b18917372de9d0a1769e108bc5dd711bd1b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/TopStickyMessage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d61cfd5800398122f0828d2fb808f272dde905f64a3482844174d739e05eae9"}},{"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":"locationkit/src/main/java/com/netease/yunxin/kit/locationkit/SearchLocationAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a68094b1afbd991a2f8fecb07201a7909d81c35a8aae9e8c8f5e577087dc1b"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e353d29c28bc7c7f4eb1b0d883353572f5eba209508b1098bd072a074cd27a"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ConversationTopAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ceecdde696478eeef47a5af2e8a5ea093b2cf8fd56affb7f9f0e6cde2aa9d7"}},{"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":"locationkit/src/main/java/com/netease/yunxin/kit/locationkit/MapNavigator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e964b32499e7feb6d22da93ded46656b4fe1cf5d39d73006696fd2ff234ae3"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatRichTextPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb197fcf0eba8513447619c274f4575484cdd794b4673d595f3d6acd895b5d4d"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb28e7bc4bc48ecec88dd5bc4c29060b71cf36d5a5936945fc11268d4dbda5a"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamSettingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"684f8fdad67ab8831275a0d9cf495b4d0783c04adadf5c8d5e9805ba415f24f8"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec10ff4ea4de39aaafc48c5dbfb9f9fe1286318238860aab54d2a25a75f8a99e"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationP2PViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0f1159c3780294480a5cfba211a32d2f117a4c0c750a386eb1610fcbe7f397"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionTextViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabd7252264853219882a1b6ffc579db544cde038ec1136b60228930c374f246"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ThumbHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5526fc0b3c06bba972e46c26c74d0d944e92ca57a031dd31f2e7fc3c9e1b8d25"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatSearchBean.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edec63536a1095835d3e26a46bdf65ec7994bbbfc479e38b496b7add23f9f70"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatLocationPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c704e1deec43bb20a1b1a9f40a7bfa22918068f142b9fb26791b7837ffd9e57f"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatTeamActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb849f7d3ad56c6ef0699ed1fa381892c1161721f5e6f75e217ec6b53e4a287"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/ForwardSelectorActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"068bb193bb082490207c4ac34ea4341c41001c9115161b0b41b596c4de34a427"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/utils/Constant.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d017fc1183b0ef2f5e69db1a4223c3bc37024adbd2b179c72515778628d4a0"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/dialog/BaseTeamIdentifyDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7dffdbdaa8710fb3bff2dad4dcf364873d6ccc82781f6fcbf19f54a16bced6"}},{"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":"aisearchkit/src/main/java/com/netease/yunxin/kit/aisearchkit/AISearchKit.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee332481319f3d4512cf1a1a0002d763ecd9f910bd61ef6c82086d75ed84fef"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatLocationPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ce53b2607a9de41ef684611d5dd9d44b3eadedd237e6c2602d6cab2d80d411"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6a095a27be1f2bd300eb7b41ba49970023c38a735b21412ac3d69460786e3d"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/FunSearchMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25346ff2adfa5c19047193008ab103c18c4739c21a9b634d137b26d39b85f7e"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/WaveView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a75402373be7cef513685ad9cae07b55fc23ef1e2ad56cd33db9897b494c50e"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionLocationViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e06f8aab148c3ece6f4c8b1abdd2a4a8b7d81893c3018b2cd56107c17be4d43"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamManagerListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c33112bbd79055dd54cfaa42b853cb81809f9e6085fd10436fd899e91c756b8"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunUserInfoActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"514b6a34d3f1f65ba07b9ea91e638e4e0c682727f94205386d2c7f409ef5e351"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatTeamActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e3e7cca615b48c70a7586a65a9b4402c99d6e702616058fec9dd9d12b5365c"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec030be67f2668376441aabf244f821c63d4a4fcdeba41775bffe3f233a498e3"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionLocationViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab8a533a174a3c5e93e7d45ce1dc79c116cfb56038ef2c7d4b7f371e7f5c5dc"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/forward/adapter/FunConversationSelectorAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb75c85a8f6748e87f3c15755c79de7f9c8d81b908296d4445df2ea68fb243f"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b60a8a6bb4a0e116e6254f195c4ff36b18b6c66ce060c4e0f4d54347604d229"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ae46c7ca76725df9104d986ab4e0f113cf6de0b535f5b263ad67c841ad7000"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionForwardViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13828f5b31cd840b0588f4a68f983cc15e8dc4a37382efdd660bef08a7e788b6"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundFrameLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c310bded130085f2f4d457a6ea628ece8eba7c29370c883f16be471177b3dac7"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/team/FunTeamListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"291c56faad9ab9d47a6f2f30713d51ba836996182b3a0fbf60c6550ff5251cd7"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunEntranceViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15a4d50c15e0b2441accd531a37cef5cde964c1b2f701588991ed4ed9144e68"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/EntranceViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b958f82f40983b923bfa6cc9e9e8265fbe339ffca386decc067167e3a947bf2c"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseRecentForwardSelectorAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"067ba14c5dc7f147807fcc2ab716ccd95feee5a153ce770ff9026acd6ab70f7a"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIUserSelectorAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b801f38da9266ba11bbcc5914b236e3baf06d6243e3733bd254bc4a9df78de"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseTeamSelectorAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f33d747197b9ee345b1a816184f6f6dbf30034b49287c309db909cce23b7af4"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/CleanableEditText.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66496c8f0c1460ba2d29fcd50a56b05fbf7531bad22c3fb8fead4fa3d5413fa2"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/activity/TeamManagerListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fca7c7808d33c19e754fe0230065303a5cc670bf9d24c301128a7043dd786b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/impl/MessageObserverImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79be794465aeb019910a6abac8960a5d542e0de1c67cf181c8abe17fb08e366b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatP2PActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"931e0b416d7c9c1f37e156754a07e42fa6fa405360c8a425ab68dc9b9b62c5d7"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/adapter/BaseFriendSelectorAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59081e68b589e1765766631392755ba227736006023832b03e9e64575fef7a5"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/model/ContactVerifyInfoBean.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17584b302ea2a19f05ac2363910830ea7ca25b010160a5bb8bf1cab402bbadf"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/search/SearchAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db24a2418255c8e2075ea46ccac6d3c90212eff090119eb0f6a6b7cba6b593e0"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/BlackListViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"057e2bbfe17c12864d8ec49ad2fe2a5db61486b8815250a696cdb682783bfd88"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/selector/forward/adapter/ConversationSelectorAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45f23b3bcb5962d7f51d9d1f0566921d2445ad0029d25d85798b5d9dc0f6d21"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d699630a280f0283701719469370330889536af00dde900b4fe17f5c72fb3ec6"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundPoint.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"587610b1ccd0310532c6980565580d3d849fc88723a93426aa0b3920b906b4f8"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/LongClickableFrameLayout.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e456be5f58de5681eac1ef89f894f0e75e094d8cb2ae02d4047883541f140fd"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/RoundTextView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a0099145976893b878c219e6684f07dc6f47276f61149f19a9be7111e1e67b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatP2PActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d3d1d04f9b55ee499c58fa8e702617e48e443de280367a071e8cfcd9544fd6"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationTeamViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5876d99868b64375af35b231d89aa8111ef235d193e35a1e97f3008a2cd42a0b"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunTeamListViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97fe6a3f86c97b7b34ddd93e7afd2d35e3eb22a2d6b6566776b271257b1e814"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/builder/ChatFragmentBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c26063cb96cf9c3037d93c896a931c2c6b6ae73646e04a84c55821b4042f977"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamIconUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68abf19a55d3d10cb78c83b94e05ec899e4901ae6144d329f955007e56c5a27f"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamInfoViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2041e71af53e0a7303579632369879511ec6a4a0f7032204934ec02dbc0ec21f"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/viewholder/AIUserViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5151f239d01e6b6b130889c02a4bd016ada6cc2d60f1fed6107b520d790b515e"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/blacklist/FunBlackListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28b91cc066ec8cee9d7cc446f41b7c890cefe87e81a524bd545f812fb387bc8"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/AccountLoginActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc8c81e7f72be8338fd4f5ab7788de5174fbf637e5882b2786ddb73e15bd258"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationHeaderViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d0959dc163990b7cc5969281f285242abe0cb34ea42a18d5c6d292084fe288"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fa8c09fd61c4d6ba78eeb773dee68d0f4c5d97d3d9c3d32439a4f93e5b7677"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/media/GranularRoundedCornersWithCenterCrop.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1b1cf203de6a4bf2f6e4d6aebea6158160387cb9efe7eba7a916721cc139f4"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseSelectedListAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"450183192b7e07ea6501a015bc00edbf48cbee03fc7b1cad2d3995424913994e"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/userinfo/FunContactBottomConfirmDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1fc3f2821330a64c96baa3a54a3513c41808496ca1eba21b800148448d1365"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04000a2c2b7ace9d963505529f15e16bf807e0a82d6fa64dc54fd7da7704b9b4"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/CommonChoiceDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb21868b0bc9b09d18f1e3037515d40f2be6a69fe507e601d6f8207842187cfa"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/ai/FunAIUserListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"627b0b5ebd25027c4ab1abf86f52da053b2717580609fa0397fe43ea9ea2286e"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4e2f76553e8626dac0942d6200e0d362ca5c07b59465c580219b66cc12b824"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatImageMessageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0375106b172a1d0156ec8b527014a5313c0c6c80bafbf4f37afe22efd60fa93f"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/userinfo/BaseCommentActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f1085482aba5c39312b8ca7123d1b744821666e6d5c0701c542e135c094494"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/TeamListViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a2d3f1c3dc01c5194bce7a30c36498c9898adc19614677c9ff6e310c77723b"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/ai/FunAIContactSelectorActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe67c4b3ed950e69eae8be3d4e1e756a6f98865050fd5afe653a17db7717550"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatImagePinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce4baf09a90d667a3edb1e36ae7ad170a0952427e1dad1e9cab30cfbaf3095c"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/activity/FunTeamMemberSelectActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c6708be2c52358096c22a3b1c2a3edcab9bcabc64067f8690242966c8e00d4"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatImagePinViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48869c4ec88434184ee5b2293debf34450b2b54ec5e5d3c1091e91dc47e5ce8"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3bfb92860b0de80a079100989eaeec952f8381cd938bdfa257ff239a710101"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/ImageSpanAlignCenter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad5097cc6af5fcfbc09d28c88b144fc5188e7b663d7231ddc9365dd57ce2ee2"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionImageViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d4a1c51bc5306b10074b1ed8abd61f7e727d7d4c0330a0fb5e15e6c074b09b"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d609774d106f5e60e9e0dda7ec01f1661753383c4a4f5c20ab77a4a44aa9673"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamListActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e6bd5dce5b85b6677a3f1b51264f85f4ac2509c1a44cc1058c77467125d7b1"}},{"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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamSettingMemberAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99418544b280ff4d5b9737b6aeaf52e7f137337a4e07fd815ee2b80d984313b3"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/utils/ToastUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a340489e3ffc0f174e8ac23717c4aec9e00d6a0ade91bb0fda2367bbacb1ed4b"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/addfriend/AddFriendViewModel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a298d8c676dbede98853c596139167b0cb1484df32f01310b412e3709a6001ed"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectedListAdapter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50655ba077442a8ec44aaa8dfbb5aaf95478b44dfc150faa3f4ebe87f031331"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/IChatInputMenu.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b567791f4588d483cf772668746c0e5502ceb076784ca2122a60db187e791421"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatMsgCache.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f95e9306561d4a9d522abc289ef189575f8604d545e288dc3d0264b20f7036"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/custom/NERTCCallAttachment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fb80e8c702de7bd5deda7b925b140a92ef55c67efc582c9f10cb05f7268595"}},{"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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseSelectedDialog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c969c52454a901f4787324fc167d185554126cf33dd7be8e93b82fc35b0c0472"}},{"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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationP2PViewHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3636ad92fb60813914cc304f2b7b82f9c282b0d61ad37c8a549c140b86088e5f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IChatView (49 abstract methods): \u0060IChatView\u0060 declares 49 abstract methods: \u0060addMessageListForward\u0060, \u0060addTopView\u0060, \u0060appendMessage\u0060, \u0060appendMessageList\u0060, \u0060appendMessageList\u0060, \u0060clearMessageList\u0060, \u0060clearReplyMessage\u0060, \u0060deleteMessage\u0060, \u0060deleteMessages\u0060, \u0060getChatBodyBottomLayout\u0060, \u0060getChatBodyTopLayout\u0060, \u0060getMessageList\u0060, \u0060getMessageListView\u0060, \u0060getRootView\u0060, \u0060getTitleBar\u0060, \u0060hideCurrentInput\u0060, \u0060hideRichInputPanel\u0060, \u0060isMultiSelect\u0060, \u0060notifyUserInfoChanged\u0060, \u0060revokeMessage\u0060, \u0060searchMessagePosition\u0060, \u0060searchMessagePositionByTime\u0060, \u0060setAitManager\u0060, \u0060setChatConfig\u0060, \u0060setInputMute\u0060, \u0060setItemClickListener\u0060, \u0060setLayoutCustom\u0060, \u0060setLoadHandler\u0060, \u0060setMessageBackground\u0060, \u0060setMessageBackgroundRes\u0060, \u0060setMessageProxy\u0060, \u0060setMessageReader\u0060, \u0060setMessageViewHolderFactory\u0060, \u0060setMultiSelectEnable\u0060, \u0060setNetWorkState\u0060, \u0060setReeditMessage\u0060, \u0060setReeditRichMessage\u0060, \u0060setReplyMessage\u0060, \u0060setTitleBarVisible\u0060, \u0060setTypeState\u0060, and 9 more. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 49 declarations carry 46 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 46 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/interfaces/IChatView.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1b44f420fbbafdd6ea039631b50e719466786b8cd565ebe7cb50293cb11c42"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMessageData (21 abstract methods): \u0060IMessageData\u0060 declares 21 abstract methods: \u0060addMessageListForward\u0060, \u0060addPinMessage\u0060, \u0060appendMessage\u0060, \u0060appendMessageList\u0060, \u0060appendMessageList\u0060, \u0060clearMessageList\u0060, \u0060deleteMessage\u0060, \u0060deleteMessage\u0060, \u0060hasMoreForwardMessages\u0060, \u0060hasMoreNewerMessages\u0060, \u0060removePinMessage\u0060, \u0060revokeMessage\u0060, \u0060setHasMoreForwardMessages\u0060, \u0060setHasMoreNewerMessages\u0060, \u0060setMessageMode\u0060, \u0060setMultiSelect\u0060, \u0060updateMessage\u0060, \u0060updateMessage\u0060, \u0060updateMessage\u0060, \u0060updateMessageStatus\u0060, \u0060updateMultiSelectMessage\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 21 declarations carry 17 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 17 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/interfaces/IMessageData.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82e58d959d7d8ead3aff72911bc0f760968b75ec409c20272830271050884b2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMessageProxy (21 abstract methods): \u0060IMessageProxy\u0060 declares 21 abstract methods: \u0060audioCall\u0060, \u0060captureVideo\u0060, \u0060getConversationId\u0060, \u0060getConversationType\u0060, \u0060hasPermission\u0060, \u0060onAIHelperClick\u0060, \u0060onActionClick\u0060, \u0060onCustomAction\u0060, \u0060onMultiActionClick\u0060, \u0060onTranslateAction\u0060, \u0060onTypeStateChange\u0060, \u0060pickMedia\u0060, \u0060sendAudio\u0060, \u0060sendCustomMessage\u0060, \u0060sendFile\u0060, \u0060sendImageMessage\u0060, \u0060sendLocationLaunch\u0060, \u0060sendRichTextMessage\u0060, \u0060sendTextMessage\u0060, \u0060takePicture\u0060, \u0060videoCall\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/interfaces/IMessageProxy.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0218a79d26e58521ce87996dada8c7290f4ef6c4e246ea9bbaafb80841e705e3"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getSuffixPlayer\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/audio/ChatMessageAudioControl.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a17a1160304aad5cb5f8ab55e1cc9cb758d3e44479e1ddf3358c9bb5226b21"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060aisearchkit/build.gradle.kts\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aisearchkit/build.gradle.kts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdeebefdd72e8447e056e7829d1cefe125740bbaaf5b41c29cbeca6e2557f75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!TextUtils.equals(actionType, ActionConstants.POP_ACTION_PIN) \u0026\u0026 !TextUtils.equals(actionType, ActionConstants.POP_ACTION_RECALL)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7643b88750bccb90de23e1c032bd0825c525974aa92cd13077f245f2b37645a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!TextUtils.equals(oldGroup.getId(), newGroup.getId()) || oldGroup.getType() != newGroup.getType() || !TextUtils.equals(oldGroup.getName(), n\u2026\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationGroupBar.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d58fc9261fe0f919cb36b837d7c7dcbf4c6d8384b79fd9137c06c1dc2168866"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!TextUtils.isDigitsOnly(lhsFirst) \u0026\u0026 TextUtils.isDigitsOnly(rhsFirst)\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bfc82fcf548cdcd3bf1b412947a9ce1e7dfd165c3b01573338a340359cd1dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!TextUtils.isEmpty(mBinding.chatMessageInputEt.getText()) \u0026\u0026 hasFocus\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"945d70a0d064b7e9c38663961040744af6f95032573a5ee8f27d5114e17e2f38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!TextUtils.isEmpty(team.getServerExtension()) \u0026\u0026 team.getServerExtension().contains(IMKitConstant.TEAM_GROUP_TAG)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22c87e214e70f0d7843f8753ffa37258a74d648f548e2b5ec6d016c6a56968f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!TextUtils.isEmpty(title) \u0026\u0026 TextUtils.getTrimmedLength(title) \u003E 0\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80f45dd3f6da8722663e5eca527a9ac167d0a9adfdb61bf76f4fd3f2a29142b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!TextUtils.isEmpty(url) \u0026\u0026 binding.locationItemMapView.getContext() != null\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionLocationViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatLocationPinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionLocationViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatLocationPinViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionLocationViewHolder.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"877ee6cd43a14088959d6fe1cc23f766bbf654bb9b7f69caaea0658754aa93fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!allowAISearch || !member.isAISearchable() || (!match(member, this.query, member.getShowName(), HitType.UserName) \u0026\u0026 !match(member, this.que\u2026\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"65212fa4ec919f5c41337eebf02e9be5ff4051a4548b32dfadcc23c139066905"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!chatView.getMessageListView().hasMoreNewerMessages() \u0026\u0026 chatView.getMessageListView().isLastItemVisible()\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a4772a24995f27e98e035a725d19a6a3c3fb1e6a3354ad930d22921b3c0696"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!completeCalled \u0026\u0026 result.bitmap != null\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapCroppingWorkerTask.java, common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapLoadingWorkerTask.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapCroppingWorkerTask.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"449a87144f583d4eddae5c6c83d7556c17badff53c3997941e3bfdc527ef1893"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty \u0026\u0026 !searchFileViewModel.hasMore()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2ed4fbe5d2679b100c2382eedfd4dda69c2a0be6f8489ea4c3e3d3789a20c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!fromBotSubSession \u0026\u0026 !UserAIBotManager.isUserAIBot(accId) \u0026\u0026 IMKitConfigCenter.getEnableTeam()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d0c7b472099fce2fc8ef06f6df4ba642e30d004e38a25e83cf6f1869cace87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!fromBotSubSession \u0026\u0026 IMKitConfigCenter.getEnableAIUser()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f19ab4fd6ee041b9bd26b562ad91a397d964b8ff2b34ae4696a76d7f8ce812"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!fromBotSubSession \u0026\u0026 IMKitConfigCenter.getEnablePinMessage()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce2470098b77905956efe7a578929fc90a925fcca24b059eb00d5aaf8f6d9d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hasMoreNewer \u0026\u0026 chatView.getMessageListView().isLastItemVisible()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff56431debbfec532d73344accdafa670662a8d5ec4d2e8a46dc712d87baf197"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isChatMsg() || !IMKitConfigCenter.getEnableAtMessage()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df803974191a9d0afee25f20e9751d2eb6099f8be2d791560023d038e20e2ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!lhs.getIndexTag().equals(\u0022#\u0022) \u0026\u0026 rhs.getIndexTag().equals(\u0022#\u0022)\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9b742316045949203a3548e63c3cf6d80c9b5b1104205a48dee627ffa02cc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!showReceiveUIStyle() \u0026\u0026 uiOptions.commonUIOption.messageContentLayoutGravity == null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec1ae708e5599e2a596556652691959b9819c3c65ddf7247c6a91d0d2844823"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(current.get(Calendar.YEAR) == target.get(Calendar.YEAR)) \u0026\u0026 (current.get(Calendar.MONTH) == target.get(Calendar.MONTH))\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7081301b04b542b2b6f38b02915d4a9d71d1e405521a93793989b4a721c5ab73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(date.after(weekStart.getTime()) \u0026\u0026 date.before(weekEnd.getTime())) || date.equals(weekStart.getTime()) || date.equals(weekEnd.getTime())\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a824d1d77efbdd5bee5284189ad3f2fc761fcf29f36588e6713dd5508ff4400"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ChatKitClient.getChatUIConfig() != null \u0026\u0026 ChatKitClient.getChatUIConfig().chatInputMenu != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f8f9c6e0cebf81dda10d25c412ead4a37d1303e2b182dcad69754f733d4f43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ChatMessageAudioControl.getInstance().isPlayingAudio() \u0026\u0026 TextUtils.equals( result.getData(), ChatMessageAudioControl.getInstance() .getPlay\u2026\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b9aaf2611f3bd29161d230d0f6c3176c92dfa2b01666f1a874c04b7719c531"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ConversationHelper.hasAit(data.infoData.getConversationId()) \u0026\u0026 data.infoData.getUnreadCount() \u003E 0\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTeamViewHolder.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationTeamViewHolder.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTeamViewHolder.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a391c6fe358e5d2d955f12c224ab3cad182b4c758d58d721779ad19c82067d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ConversationKitClient.getConversationUIConfig() != null \u0026\u0026 ConversationKitClient.getConversationUIConfig().titleBarRight2Click != null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e13ffce78ec7bd0e5aa7f6c35c90e968a3a6c0edd7286a5f5f88719244e404"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ConversationKitClient.getConversationUIConfig() != null \u0026\u0026 ConversationKitClient.getConversationUIConfig().titleBarRightClick != null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22d7b0c515e68374b1af8e694d38e11aff79a387fd36232247ba8aa20a20860"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IMKitConfigCenter.getEnableAIUser() \u0026\u0026 !AIUserManager.isAIUser(accountId) \u0026\u0026 !AIUserManager.getAIChatUserList().isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6d30f24574e6d43ce6c57ed74df4f1697d1d416e5284b16420b2f09d2e01f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IMKitConfigCenter.getEnableAIUser() \u0026\u0026 AIUserManager.getAITranslateUser() != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/BottomActionFactory.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunBottomActionFactory.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee74a58386e4bcb044d568d5a690a948f9b7f1041ce986712e06f72a31640ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IMKitConfigCenter.getEnableAIUser() \u0026\u0026 result.getData()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/ChatSettingActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunChatSettingActivity.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"19df8cf9e647aff1cfd9080c0c59b376c46cb42a46b8fd4034aa07abe1db87a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IMKitConfigCenter.getEnableAntiSpamTipMessage() \u0026\u0026 data.getAntispamResult() != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"20367b6584116728fa1bdf67a24e033a3f2570932f47dec429d466b3cde9edb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IMKitConfigCenter.getEnableOnlineStatus() \u0026\u0026 !AIUserManager.isAIUser(data.getTargetId()) \u0026\u0026 !UserAIBotManager.isUserAIBot(data.getTargetId()\u2026\u0060 appears character-identically in 4 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationP2PViewHolder.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationP2PViewHolder.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationP2PViewHolder.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationP2PViewHolder.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationP2PViewHolder.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2722de638bdf9d5d9edc68f5b85fed973fcbaf817f400c0648819c628c5322a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IMKitConfigCenter.getEnableOnlineStatus() \u0026\u0026 !AIUserManager.isAIUser(this.accountId)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"089a26aac37803cd6de67880320e95d8d7042740c189c187912fbb231727b08b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IMKitConfigCenter.getEnableOnlineStatus() \u0026\u0026 conversationBeanList != null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"820fc3c69038552b183770ba08eb7326ca7a936439084bffef055c19e4c5266f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IMKitConfigCenter.getEnableOnlineStatus() \u0026\u0026 offSet == 0\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8574830269cb98c911010d7077ee9678775b627c940c2d6bfdeaa3c656d4648a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IMKitConfigCenter.getEnableTeamJoinAgreeModelAuth() \u0026\u0026 IMKitConfigCenter.getEnableTeam()\u0060 appears character-identically in 2 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/contact/FunContactFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/contact/ContactFragment.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/contact/FunContactFragment.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944c3bdacdb0246a80a510e5781ff0d400b99d6803e4f7fee0e438c7d658737"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Item != null \u0026\u0026 !TextUtils.isEmpty(Item.content)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"522e19aa76ee13fcda43f4d2bdfad2687b4a03a07e146c22963ec53a046a6e7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060LocalConversationKitClient.getConversationUIConfig() != null \u0026\u0026 LocalConversationKitClient.getConversationUIConfig().titleBarRight2Click != \u2026\u0060 appears character-identically in 2 files \u2014 localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java. 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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcad9b942084d6b9219713613af4704d67064af03289c86c2dee02b26f96d973"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060LocalConversationKitClient.getConversationUIConfig() != null \u0026\u0026 LocalConversationKitClient.getConversationUIConfig().titleBarRightClick != n\u2026\u0060 appears character-identically in 2 files \u2014 localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java. 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":"localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab55db6917854f8a2bf5215fc48fce490351500202f2838c507f3e9145b3c134"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060MessageHelper.isReceivedMessage(messageBean) || !isChatMsg()\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatLocationMessageViewHolder.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a01e28f726d96f02b37ac3a8c1ccbc29e901bf2fe8633abf14b57f3325452ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060RouterConstant.PATH_FUN_CHAT_P2P_PAGE.equals(data.router) || RouterConstant.PATH_FUN_CHAT_BOT_SUB_SESSION_LIST_PAGE.equals(data.router)\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4f47d2270e1b082e66db86ba61f1f9837cdb8443feddee84952e7b4af9dc56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.equals(action, ActionConstants.POP_ACTION_TRANSMIT) || TextUtils.equals(action, ActionConstants.POP_ACTION_TRANSLATION_FORWARD)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82e3378da82a0f71be725b76daa95dc26d379081d25a5671b553aa8ecf046ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.equals(threadInfo.getSenderId(), IMKitClient.account()) \u0026\u0026 !isMultiSelect\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"649e7ed7c8f65d9197e09ff3ffedb47813665c5744ddf1fd4cb977f1ebe1d7c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.getTrimmedLength(msg) \u003C 1 || sendResult\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b9336022d2aaa3b04f3994db896bf1411f7402c057d06e2bcc024921f882ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.isDigitsOnly(lhsFirst) \u0026\u0026 !TextUtils.isDigitsOnly(rhsFirst)\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc112fe78485aaf4b39350fb6c8ccaec0e9676f9228c1ee05349bc1bddaa2bfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.isEmpty(id) || !IMKitConfigCenter.getEnableDismissTeamDeleteConversation()\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcc3b6a462e7fc75bb4ff584e7dceb423c1f90d7fe01dc2ce6b9b8166d70acf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.isEmpty(s.toString()) \u0026\u0026 !keepRichEt\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e83f39f9a1172baf99e5ecfcaf1a04fd723b77a56f09436a8b8db1865bd2c32"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.isEmpty(s.toString()) \u0026\u0026 binding.chatRichContentEt.isEnabled()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"7078c9b4823560d536f6a006c94e8b9296cb7cb37dacb04e03c7da9f1038bcf4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.isEmpty(s.toString()) \u0026\u0026 binding.chatRichTitleEt.isEnabled()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d84bb6a6f6dedf2823a025801dd8ebfa9485c8f3ff809d7832fbfdd85f85394"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.isEmpty(targetId) \u0026\u0026 infoData != null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6c667d5601bbd73b7964fe1cb35558581f1c8ee015dac7f8bd4fa9e4ea63c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.isEmpty(text) \u0026\u0026 aiStreamStatus == V2NIMMessageAIStreamStatus.V2NIM_MESSAGE_AI_STREAM_STATUS_ABORTED\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"316af5ca14c1fe5ee2137d20847f2a30a99fb90089ae0602db00ed1719c0aaec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TextUtils.isEmpty(uuid) || !uuid.equals(current)\u0060 appears character-identically in 6 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"448ea0d29aa21221fa9449dc793e2a8c8e5114e2f2821a5f3990de3b2228fd6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060accountList == null || accountList.isEmpty()\u0060 appears character-identically in 4 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/ContactViewModel.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/adapter/BaseTeamMemberListAdapter.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamSettingMemberAdapter.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamSettingMemberAdapter.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/ContactViewModel.java"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b37ba1099343476093689aeff65540a68febf21a57da86ccde3e4a1027e454"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060accountList == null || accountList.size() \u003C 1\u0060 appears character-identically in 3 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamMemberCache.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BlackListViewModel.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5a8aaefd6fafad8b5c9e6bea4e1c9f960ea543a4d397a6a3cb68e3c32ea15e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actions != null \u0026\u0026 actions.getContactListener(bean.viewType) != null\u0060 appears character-identically in 4 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunEntranceViewHolder.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/EntranceViewHolder.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3640bf1186847d030f0b7e0265b6f80c346734e9c83bfbddcb3d7b97fa7df25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actions != null \u0026\u0026 actions.getSelectorListener(bean.viewType) != null\u0060 appears character-identically in 2 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/normal/view/viewholder/ContactViewHolder.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/view/viewholder/FunContactViewHolder.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"557dea947998e9be8a340fdbb49c664628855db9d843d056ffe9d0c4e327aa45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aiConfig != null \u0026\u0026 aiConfig.getAIStatus() == V2NIMMessageAIStatus.V2NIM_MESSAGE_AI_STATUS_RESPONSE\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/CollectionBean.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d5b16c4753e0d784982491b6d58c3cd7c27252a1eaffa3e456f770a54707f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aiStreamStatus != V2NIMMessageAIStreamStatus.V2NIM_MESSAGE_AI_STREAM_STATUS_PLACEHOLDER \u0026\u0026 aiStreamStatus != V2NIMMessageAIStreamStatus.V2NI\u2026\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce59da7308fafecbd81d0e90ae54201e985ffff8b651026df705f02ccd37089"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aiUser != null \u0026\u0026 !TextUtils.isEmpty(aiUser.getAvatar())\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efa6138471dc863853e2168e54040e636f5c362b36a13175b8ab5f0a531c809"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aitEvent.getEventType() == AitEvent.AitEventType.Arrive || aitEvent.getEventType() == AitEvent.AitEventType.Load\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6322a4c2d7327de00e393f77a798e31834c9cc3cf9a5b1037b4af5af4e01c827"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aitTextManager != null \u0026\u0026 !TextUtils.equals(editable, s.toString())\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"0128cd3183676fcb2bcadf8bcaeae2a6953a160d46c3ded9c3e90cd7b3e0ba1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aitTextManager != null \u0026\u0026 !aitTextManager.getAitContactsModel().getAtBlockList().isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a1453515ea20d1734bedc612381a765bf63f4283e6a5285718b10301d992f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aitTextWatcher != null \u0026\u0026 !aitTextWatcher.getAitContactsModel().getAtBlockList().isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"34adb54257401e03facd618467173cf788f5040ae198918177b8ff0cfef9ee72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attachment != null \u0026\u0026 attachment.callType == 1\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9714f0ab745ed2e164dcc70b67f4d9421eef38918ee861fbff2785c402c59c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attachment != null \u0026\u0026 attachment.callType == 2\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatCallMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatCallMessageViewHolder.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a20b714896bb70c7b594467b7a9cb98f7052c666c4fc6fc0131243b7451b539"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attachment.getType() == V2NIMMessageNotificationType.V2NIM_MESSAGE_NOTIFICATION_TYPE_TEAM_LAVE \u0026\u0026 TextUtils.equals(lastMessage.getMessageRef\u2026\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f9230909aa807cd5acf685f50b41378421ecaef277845ed13ba9e3048b68d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060audioControl.getAudioControlListener() != null \u0026\u0026 audioControl.getAudioControlListener().equals(onPlayListener)\u0060 appears character-identically in 6 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1660167f194061b7645133a1e355879534da300d2a3f697a638a47c3a463c7cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060audioControl.getPlayingAudio() != null \u0026\u0026 audioControl.getPlayingAudio().equals(message.getMessageData())\u0060 appears character-identically in 6 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionAudioViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatAudioPinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatAudioMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatAudioMessageViewHolder.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ab0218d4b3a805b5517aa7d0cf506ff14330f7ee005e8663cfb809bd4b4441"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bean == null || bean.getMessageData() == null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ed74ae102b91b7e016e9b8b883650b8b31472766346e0df1188fd0f3bb6232"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.chatRichLayout.getVisibility() == GONE \u0026\u0026 !binding.chatBottomInputLayout.isMute()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20c1014aba95dc1654377ea28bec5623fc785db1b5285ec4e5086b00dd1d5f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.chatRichTitleEt.hasFocus() \u0026\u0026 !TextUtils.isEmpty(title)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc98f6b54f4f5a10608393a591575e646d13ae4426cdcd9fd8425fc5aa91b193"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.contactSearch.length() \u003E 0 \u0026\u0026 adapter.getItemCount() == 0\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f395d9dc6150709d42544a40a081a60ee2c1ef99e34d9c36ce4936d03a536391"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bot != null \u0026\u0026 !TextUtils.isEmpty(bot.getIcon())\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aa9dd291fb25b2901f8ecbb2c0cd35f322be25df63950ce1ac6c1e8d62fca0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bot != null \u0026\u0026 !TextUtils.isEmpty(bot.getName())\u0060 appears character-identically in 3 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/BaseChatBotSubSessionActivity.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"209c3e8dfa14dd8c521548a45e7af3f4470665f4266bcf1540edd39fb345117a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chatConfig != null \u0026\u0026 chatConfig.chatListener != null\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fa3ab8f794b4170fbe79da469362f2a9ef0ffab3479ccaa1812fa5c7c41f48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chatConfig != null \u0026\u0026 chatConfig.messageProperties != null\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec9c9970015f7529e80263138daa35c179332b73bca40266a3710a3c7fceb76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chatView != null \u0026\u0026 chatView.getMessageListView() != null \u0026\u0026 chatView.getMessageListView().getMessageAdapter() != null \u0026\u0026 chatView.getMessag\u2026\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatBotSubSessionChatFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatBotSubSessionChatFragment.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a35ff34664e14b54307760d8f727a30d1e09e2b534779afef52d8bbedd8d8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chatView.getMessageListView().canScrollVertically(-1) || chatView.getMessageListView().canScrollVertically(1)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e07f5d8b55700842c0f2d0d3ab7e1c8a9770d14b1dcacad940c47328935a26e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chatView.getMessageListView().hasMoreNewerMessages() || !chatView.getMessageListView().isLastItemVisible()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f3fe315c2bd3146c18e92d95a5f6a9093307e93c652b7e5a6378ec0e9b3cf2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060checkNetworkEnable \u0026\u0026 !NetworkUtils.isConnected()\u0060 appears character-identically in 2 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b2adc813e94ac9e7493527df7000abcb1c1bfe7fed35afedbc96c2cdb01a8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060commonBaseViewHolderMap.containsKey(viewType) \u0026\u0026 commonBaseViewHolderMap.get(viewType) != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/ChatViewHolderFactory.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f8d8e111823c11b9d0d408a4e12b42504bc933130ae777cc51eaf45bc69c91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config != null \u0026\u0026 config.messageProperties != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/viewholder/CommonBaseMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8233f756706b629c592f4838c5780d96249ccf9de9d1a9f77d5421e3d1a00e41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context == null || conversationInfo == null || conversationInfo.getType() != V2NIMConversationType.V2NIM_CONVERSATION_TYPE_P2P\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0686f594357c166c74967f5c8cc23a94e4488a9dec7475fbd539b48e8a944a92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversation == null || conversation.getType() != V2NIMConversationType.V2NIM_CONVERSATION_TYPE_P2P\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a907dd922045597053757c643d366ac53c52b32dda211a75701367ed408bdfc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversation.getConversationType() == V2NIMConversationType.V2NIM_CONVERSATION_TYPE_P2P \u0026\u0026 UserAIBotManager.isUserAIBot(targetId)\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"461316a9505e95e9439261196c2e7bb840dcdf1cf4e6968765d036a21bf1fc8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationBean.getConversationType() == V2NIMConversationType.V2NIM_CONVERSATION_TYPE_P2P \u0026\u0026 !AIUserManager.isAIUser(conversationBean.getT\u2026\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ae1465c321a77f868aed433ead9e6450e5e04dca863f2db16f6cbff49f3d79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationIds != null \u0026\u0026 !conversationIds.isEmpty()\u0060 appears character-identically in 6 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc2b872ae1ff1f969106c60a1a2b6a0ad26315b6902a66c29e867d9ab71b2b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationIds == null || conversationIds.isEmpty()\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5b261ff28bd3eb32f8edb0baf331ce7aa0714de438495a17d16924545cef20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationIds == null || conversationIds.isEmpty() || messages == null || messages.isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db79e9be36875a2bb85615bb4c630f73a862d4157c182c1bd59b46e5d91630b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationInfo != null \u0026\u0026 context != null \u0026\u0026 conversationInfo.getLastMessage() != null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationCustom.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationCustom.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1205b22a472cd138bf078a26101b235d3ab0a4eb79b3bcbacd23226a42ba81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationList == null || conversationList.isEmpty()\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"9606700b443c3931ebda296199469f36a4895cb0ce5995b310f285da1b752a4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentMember == null \u0026\u0026 teamInfo != null \u0026\u0026 !TextUtils.isEmpty(IMKitClient.account())\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8a646a0c7c19460cc439db0ed6ecb043e8d8b51a7f5da0f2d45185fc74b8d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentMessage != null \u0026\u0026 TextUtils.equals(currentMessage.getMsgClientId(), messageClientId) \u0026\u0026 replayBinding == replyBinding\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"192742363d74d1bf0fb062a34f44ce992cea195cb94eaf5d34467ed8207d0104"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentMessage.isAIResponseMsg() \u0026\u0026 isChatMsg()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"847593cf5e03b14e542e449f1c9251fa62cbe186d96ab2fec614489052b2bbf3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentUser != null \u0026\u0026 !TextUtils.isEmpty(currentUser.getName())\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/ChatUserCache.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1066b83d4bab1a6950e5c985501cca4ea0fe05c8a642fb35e180f2ea35c0463"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data != null \u0026\u0026 !data.getInfos().isEmpty()\u0060 appears character-identically in 2 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/ContactViewModel.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyViewModel.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/contact/ContactViewModel.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a9843d5c682e58bb8987f3288475528fbe4b473580bc9746f82eb5499b2c47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data != null \u0026\u0026 data instanceof ConversationHeaderBean\u0060 appears character-identically in 3 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationHeaderViewHolder.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationHeaderViewHolder.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationHeaderViewHolder.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96b0c33f768ad17eda7b275c841293695d9195187e0f51ac3a57193d08d9499"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data != null \u0026\u0026 data.getConversationList() != null\u0060 appears character-identically in 4 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupAddViewModel.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupAddViewModel.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"717dd734544136d5b77cd06b88e962eb38608c65eb58b3ef28430a735edc32a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data == null || data.getAiUser() == null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTopViewHolder.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/viewholder/ConversationTopViewHolder.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/viewholder/ConversationTopViewHolder.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b13f0d2e11905160942d96a7118abbb0c6231862699c8fca6a201f7f1dda408"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.infoData.isStickTop() \u0026\u0026 removeIndex \u003E -1 \u0026\u0026 !conversationList.get(removeIndex).infoData.isStickTop()\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e83ec1a74c05e9ce116752ed782439730bc7b44c0969f2c19a6d843f31e273e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.viewType == ConversationConstant.ViewType.TEAM_VIEW \u0026\u0026 data.infoData.getUnreadCount() \u003E 0 \u0026\u0026 ConversationHelper.hasAit(data.infoData.ge\u2026\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationTeamViewHolder.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/viewholder/FunConversationTeamViewHolder.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/viewholder/FunConversationTeamViewHolder.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f5d76d852a7522f0890c20c3e90fa9baf2eaf2cbfd78466fd8de11b485e93f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dataComparator != null \u0026\u0026 dataComparator.compare(data, conversationList.get(i)) \u003C 1\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6353e8c45b34b14655fe9ecdc40a75a1ea62d57d60f20b2a4a1ab5a2e7cf2eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dataList.size() \u003E index \u0026\u0026 dataList.get(index) != null \u0026\u0026 dataList.get(index).weight \u003E= data.weight\u0060 appears character-identically in 2 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/view/adapter/ContactAdapter.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyAdapter.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5808d2278d5fde9ae8008b57f0b7e7193e7b5f3b5eff52401bfb2be799ede9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ev.getAction() == MotionEvent.ACTION_UP || ev.getAction() == MotionEvent.ACTION_CANCEL || ev.getAction() == MotionEvent.ACTION_MOVE\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"39257c41bfab92be217d248d2474cb49f65a9a46336a335b2ab5cc837d26db85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extension != null \u0026\u0026 extension.get(KEY_TEAM_CREATED_TIP) != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTipsMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTipsMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTipsMessageViewHolder.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6745aabcd234663cbe83d551a0805e26496c5d7388537d72309a8615d1f27a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fetchResult.getData() == null || fetchResult.getData().isEmpty() || lastMessageList.isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4bbd894c3f1ac1deeaa7bafc2ce6525e1da1f4a8b5c780c79f24570e92c29a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fetchResult.getData() == null || fetchResult.getLoadStatus() != LoadStatus.Success\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0802060c149d7142116389a55b3e9701787d1b2c24ca542404593bbcb908c3cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fetchResult.getLoadStatus() == LoadStatus.Finish \u0026\u0026 fetchResult.getData() != null\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatP2PFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatP2PFragment.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"47436d013b43990655ec21d8cb353af780ef36bda10cd50de46a36cabb2275ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fetchResult.getLoadStatus() == LoadStatus.Success \u0026\u0026 fetchResult.getData() != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/team/BaseTeamProfileActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9943b9703c45398987c1254fa0162092892439680b398f0fc8d26b29eaff28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fetchResult.isSuccess() \u0026\u0026 fetchResult.getData() != null\u0060 appears character-identically in 3 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamInfoActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe34824dea95f6c927e496bfecc44bd76cc498004f377f5b932f51c056f7562"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileGroups == null || fileGroups.isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6dd9f382a3313fbd8c4001700525e3bb0c2d65cc266d65e37f81959ae1e12e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060files == null || position \u003E= files.size()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileAdapter.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37a76b3ae247e6a448287203583e9ea42f05eb1d84994e6822a8e5e0d4d22ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filterList != null \u0026\u0026 filterList.size() \u003E 0\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/LocalConversationUIService.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/ConversationUIService.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"193b7232107c13c88ac40d9dcbe1774d79947dcf89299db89784ffa6aa9785b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filterUser == null || filterUser.isEmpty()\u0060 appears character-identically in 3 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectorFragment.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"afad8c45acc0e9b53983ae8850fd9b2a45259923a3ebfc1884fe29d60f82910b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first \u003E= 0 \u0026\u0026 last \u003E= first \u0026\u0026 last \u003C months.size()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f597edafe08b09b9c145bdf06ca6fa2f866445c7c995194308fb2b981d92b16c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060forwardMessage == null || forwardMessage.getMessageData() == null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"997eae2528f1e453c93fcecf201d45eaa3bf7f1f648d74719082cfd2dfe78fd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fragmentViewPager != null \u0026\u0026 tabLayout != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatReaderBaseActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/VerifyBaseActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatReaderBaseActivity.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23164113bdbfc66e076500013fdb0127d9cb6b109a3c8e28e6516786614f6c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060g.getMessageList() != null \u0026\u0026 !g.getMessageList().isEmpty()\u0060 appears character-identically in 3 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a20cc3779c7ada9f2a99a92e744dcc6cb64e3026ba2c878f3e1743f6fd2db14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getDialog() != null \u0026\u0026 getDialog().isShowing()\u0060 appears character-identically in 3 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/dialog/ChatBaseForwardSelectDialog.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/FunChatMessageForwardConfirmDialog.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/ChatMessageForwardConfirmDialog.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/dialog/ChatBaseForwardSelectDialog.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c45e4d807b73ce81fc61b212b59fe5c891f89a54abb8e4c7a1ec6327268833"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getMsgInternal().getSendingState() == V2NIMMessageSendingState.V2NIM_MESSAGE_SENDING_STATE_SENDING || getMsgInternal().getAttachmentUploadSt\u2026\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatImagePinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionImageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatImagePinViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionImageViewHolder.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0444391459dc48126595b5182c514af08841e260e166834c9a473bdee0f5c099"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060group == null || group.getType() == ConversationGroupType.ALL\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupManageActivity.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationGroupViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupManageActivity.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd21d7aa6121cdbc9b84076fa52d0b1f618e267547c59760380e44df1e96aa02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060group.getMessageList() != null \u0026\u0026 !group.getMessageList().isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b52127d6e43a239b12a2f9061da4b36e51e53d19f55b10bb688883bd8b5e6ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060group.getMessageList() == null || group.getMessageList().isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5112a69e34dddf63a4ef620fa8c65119641636a647c15e9ec238ce415a7b92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasChildInLine \u0026\u0026 lineWidth \u002B childWidth \u003E contentWidth\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionFlowLayout.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionGroupView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/ReactionFlowLayout.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2128630284296b3f9bf314fd5e7f7c05398c012aa878b8c3a24d70170d0491"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u003C endIndex \u0026\u0026 i \u003C conversationBeanList.size()\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"39019f15c193c035bfe55c4ccaea37d7a721544d76b3b7a25556bd1da1abcf30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060iconKey == null || iconKey.length() == 0\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/EmojiPickerView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/StickerAssetManager.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/EmojiPickerView.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2a9aab7ec7b8d6e8f99bf31aab8249b5fb0aadf38117c98864a03583b1bd1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003E= 0 \u0026\u0026 index \u003C conversationHeaderList.size()\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationAdapter.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4ce82903d29eb3b558729f9130230f53465b36fbef4d7ce074b6ee7e7cf544"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003E= 0 \u0026\u0026 index \u003C conversationList.size()\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunConversationTopAdapter.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunConversationTopAdapter.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f0c4e07fd6c5acb9bf608ab37522eda0fe963db6138d0b0b6a0e1f6bce9444"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060info.getType() == V2NIMConversationType.V2NIM_CONVERSATION_TYPE_TEAM || info.getType() == V2NIMConversationType.V2NIM_CONVERSATION_TYPE_SUPE\u2026\u0060 appears character-identically in 4 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunViewHolderFactory.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/ViewHolderFactory.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunViewHolderFactory.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/ViewHolderFactory.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunViewHolderFactory.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b5ae9294e2780751931b9ded76ba8b5e0ff08edd08ef81a49e3ffee487be01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060infoData != null \u0026\u0026 !TextUtils.isEmpty(infoData.getName())\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38e1b1adff16a0f20141aaf22401b91cd38dc04ecb7d0404d44d2b923490bc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060infoData != null \u0026\u0026 infoData.getType() == V2NIMConversationType.V2NIM_CONVERSATION_TYPE_P2P\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1967a460143771b5586c9cd3fa8a6d3f279424e11ff430ba7de68f54396253"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060infoData == null || infoData.getType() != V2NIMConversationType.V2NIM_CONVERSATION_TYPE_P2P\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"700a9a30c4638cb5c6e1544b85a3880f35a0d74a2072fcf94343ba7df35faf2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060infoData.getLastMessage() == null || infoData.getLastMessage().getMessageRefer() == null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/model/ConversationBean.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/model/ConversationBean.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cda2489fad9fbc0cf16ca06c63d5065828259e12d3480b25f94d87a37b8404"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputProperties != null \u0026\u0026 inputProperties.inputBarBg != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f90398e81624b7fdf504fd2b5084ecf87b538383e767039c850fb4af1a069ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inserted \u003E 0 \u0026\u0026 lm != null \u0026\u0026 firstVisible \u003E= 0\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb3d81dc13f2e3851a003c25100ebd54fe442180b14e78aa0d639cdbc7906d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060intentResultInfo == null || !intentResultInfo.getSuccess() || intentResultInfo.getValue() == null\u0060 appears character-identically in 4 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunCreateTeamFactory.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/NormalCreateTeamFactory.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abaeb48ecdea1d7fbc8fd10919250d144b9a1632ee5cd361614952ce7c222c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isChatMsg() \u0026\u0026 info != null \u0026\u0026 !android.text.TextUtils.isEmpty(info.getTranslatedText()) \u0026\u0026 message.isTranslationVisible()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"825b37af32f889a21d9bc5aac46ca668c6eaee8135f14969d02ba154fd1e1bcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isCurrentYearAndMonth \u0026\u0026 !isThisWeek(date)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchDateUtils.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/ChatSearchDateUtils.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40480f518a9ab31d316349f26d55c533f336848ea3b81745372b79463c18112"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || TextUtils.isEmpty(mConversationId)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchDateViewModel.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchImageViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchDateViewModel.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b2b0c34e80f151f3555c7c0b7e21803a0d19cf5bd8572dc318faad959533a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSelected \u0026\u0026 !selectedList.contains(bean)\u0060 appears character-identically in 2 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/ContactSelectorViewModel.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/AIUserSelectorViewModel.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9951edc0adccdb0a4de71544f0f3eaf033cc8aed73cc4760acb613f3b9ec10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060itemClickListener != null \u0026\u0026 !isMultiSelect\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97376fd0c0f6d75357620482cee8939c07f5d86f0c79150081a9ae8f30446b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastMessage != null \u0026\u0026 lastMessage.getCreateTime() \u003E= lastMessageList.get(0).getCreateTime()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c8c2ea0b8dd71c112923af7d77766ba7a1bc376d459fa591247e6b3496a7e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastMessage != null \u0026\u0026 lastMessage.getMessageType() == V2NIMMessageType.V2NIM_MESSAGE_TYPE_NOTIFICATION\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/common/ConversationUtils.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationUtils.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"42691f0306ba8c9fec55bd96333a36c68c1473be9b11342d3600eead7e2be69e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left != null \u0026\u0026 right != null \u0026\u0026 TextUtils.equals(left.getConversationId(), right.getConversationId()) \u0026\u0026 left.getTopicId() == right.getTopi\u2026\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionListViewModel.java"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cddbf3fdf2e30c16cac2755c566ba1a11890dddf8f779b9a859f766d7a34528"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lhs.getIndexTag().equals(\u0022#\u0022) \u0026\u0026 !rhs.getIndexTag().equals(\u0022#\u0022)\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"db252948e5ad085c8c2c49ca7f8cf4bc23e1fcaa6591d2f245244ee31b573332"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lhsIndexTag.equals(\u0022#\u0022) \u0026\u0026 rhsIndexTag.equals(\u0022#\u0022)\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd14440852defd4eb5fe2152847b2395f193154b62d40a6146e4f55b99c8afa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listFetchResult == null || listFetchResult.getData() == null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d21d58ef791bd0ef915cb26bd91ff4bba61ab0502b3718e92becc8397c1767"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listFetchResult.getData() == null || listFetchResult.getData().isEmpty()\u0060 appears character-identically in 3 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/NormalChatFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatFragment.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d387ff6b8f0ca7b84f784a6f54ebbd26e2ac09f50455d06062bd64d5eb521ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listener != null \u0026\u0026 adapter.getItemCount() \u003C position \u002B 5\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ait/NormalAitContactSelectorDialog.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/ait/FunAitContactSelectorDialog.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b5bb06f3fd9fed3b5385c9080c76d9fc3e16a32a912962b9813c18a10731c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lm != null \u0026\u0026 firstVisible != RecyclerView.NO_POSITION\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a20a29fe967535357fc16f55174030388844a2d672d9f4972881965b3516edd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060loadMoreListener.hasMore() \u0026\u0026 adapter.getItemCount() \u003C position \u002B LOAD_MORE_DIFF\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/view/ConversationView.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationView.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"520ba4c0c42a09040da9ebabc6aedf83c3518df053f7f470d3d8a48267b10b42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localFileInfos != null \u0026\u0026 localFileInfos.size() \u003E 0\u0060 appears character-identically in 3 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/dialog/FunPhotoChoiceDialog.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/dialog/ImageChoiceDialog.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9044273ce73725ae952ab818482bfc9ae6e08d248a19ac3f1f56bce5f3fc94b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mData == null || mData.isEmpty() || pos \u003E mData.size() - 1 || pos \u003C 0 || !mData.get(pos).isSuspension()\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6100cdf81853d22c514c99a08d5ea03a4003f3636181fb8ae5532910ea88258"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mData == null || mData.isEmpty() || position \u003E mData.size() - 1\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bd19c38eee597d2fe0862bd22c54742e4a73b9626316aeb13eb697fbcb4d79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mData == null || mData.isEmpty() || position \u003E mData.size() - 1 || position \u003C 0 || !mData.get(position).isShowDivision()\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72d9100e2c8cca666a622ef1cd7ae64bb35e27d8b28e171a6636e5444abb8ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mProxy != null \u0026\u0026 mProxy.onActionClick(view, item.getAction())\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d921950617f453d030c22ed09e2123615b1136505ae4fe8a779e9a37b85618"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mProxy.getConversationType() == V2NIMConversationType.V2NIM_CONVERSATION_TYPE_P2P \u0026\u0026 IMKitConfigCenter.getEnableAIChatHelper()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/MessageBottomLayout.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/MessageBottomLayout.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24971f5722420aa9bef0c063dd865e4e156a1fe1ee3bb67b1d4ea4ca1b54a7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match(member, this.query, member.getFriendAlias(), HitType.Alias) || match(member, this.query, member.getTeamNick(), HitType.TeamName) || ma\u2026\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c48fa008600026d3a2d1737fc2806cdc133440e775268cd8830d1dcd88a7839"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member != null \u0026\u0026 TextUtils.equals(member.getAccount(), account)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8e3b6095bd6782d49064e361284fa76fc8fd67f6b6aaf2f93f5ef2faf5396a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member != null \u0026\u0026 TextUtils.equals(member.getAccountId(), accountId)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitManager.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/ait/AitManager.java"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b917d6d594a6c374131b4c39d2acb22154fc12815ccc079c96f363b0dac1bd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member == null || containsAccount(member.getAccount())\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5216f813c0c48cfbe09537e435fc22b7cb92358b59d61e466523f793b6a5fd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060memberList == null || memberList.isEmpty()\u0060 appears character-identically in 4 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunCreateTeamFactory.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/NormalCreateTeamFactory.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e94bafad653147e57dd9a9d39742436daa615bdca760e21f4f6c2f10dfd842"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message != null \u0026\u0026 message.getCustomAttachment() instanceof MultiForwardAttachment\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionForwardViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionForwardViewHolder.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"81172b72c648c5142f7d2d300f274d250ed5c5a21b3a960ad1222bdfb40848d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message != null \u0026\u0026 message.getMessageData() != null \u0026\u0026 message.getCustomAttachment() instanceof RichTextAttachment\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionRichTextViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionRichTextViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionRichTextViewHolder.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6f31d1f27973c050eff2df5b3478e6edcd9406ba51873e38c7ee7854c20b3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message != null \u0026\u0026 message.getMessageData() != null \u0026\u0026 message.getMessageData().getAttachment() instanceof MultiForwardAttachment\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatForwardPinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatForwardMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatForwardPinViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatForwardMessageViewHolder.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"59910d1b21f3aa6a6b0c610d94280566e3396992550518c2129a404f2a393f1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message != null \u0026\u0026 message.getMessageData() != null \u0026\u0026 message.getMessageData().getAttachment() instanceof RichTextAttachment\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatRichTextPinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatRichTextMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatRichTextPinViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatRichTextMessageViewHolder.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"04473b25c9f19a9db0f18c58b3269d9ad542745a23de9447ec1681317df15d20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.getConversationId() != null \u0026\u0026 message.getConversationId().equals(mConversationId)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchBaseViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"89aeb25926ab4591f23f9ba084a30bec2b683cd9afac3e62fcb9fda36efe851f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.getMessageData() != null \u0026\u0026 message.getMessageData().getMessageType() == V2NIMMessageType.V2NIM_MESSAGE_TYPE_TEXT\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionTextViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionTextViewHolder.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba527ba75faa43647e3369e511f274ccca90ba94b3b69e99700f902ec5db4f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.getSendingState() == V2NIMMessageSendingState.V2NIM_MESSAGE_SENDING_STATE_SENDING || message.getAttachmentUploadState() == V2NIMMess\u2026\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionVideoViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatVideoPinViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b82c9d7fe9b033ee57bfe2e60ba6c255b973cd2b7ec41aa8691d369aaaafd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageBean != null \u0026\u0026 messageBean.getMessageData() != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/CollectionViewHolderBaseFactory.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/CollectionViewHolderBaseFactory.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecf58449806621b76e20591a15f6482605a72ce189db4b5a8bb58cadab15f15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageBean != null \u0026\u0026 messageBean.getMessageData() != null \u0026\u0026 TextUtils.equals( messageBean.getMessageData().getMessage().getMessageClientI\u2026\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40b9f82646ff344d7437669b831cebe02085b15f83c4df70cc275138c7fa398"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageBean == null || messageBean.getMessageData() == null\u0060 appears character-identically in 7 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/FunCollectionActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/CollectionActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d930fe89d395df0ab6fae87294b5c30578f72381f69de887cb0d098d546da04d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageInfo == null || messageInfo.getMessage() == null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBaseViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f36f61d0fa12d4ace74f332b1ff845c6a77ee04a1274c986ddd4d95a44bf84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageInfo.getPinOption() != null \u0026\u0026 accountSet.contains(messageInfo.getPinOption().getOperatorId())\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"985756232b923a4653887292853c45f884eba55653ae2c8440b919eb45d90d47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageList == null || messageList.isEmpty()\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchImageAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8212f6b546d5aab079c50d8789116e790510fc48b316c9bb14d6f1e1d119affb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageProxy != null \u0026\u0026 binding.chatMsgMultiDeleteIv.isEnabled()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3944672aa74d50db7474e257cbba12fc8370a8d26d2196aa11b67aad661a8dd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextToken != null \u0026\u0026 !nextToken.isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchImageViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchFileViewModel.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2180343bd1b11fd714c4367ed7c0ffe56e46ba56f1bdd0e550bdfbe2e6294037"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null != mData.get(position).getTag() \u0026\u0026 !mData.get(position).getTag().equals(mData.get(position - 1).getTag())\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c443a84fccef8f93d8f5c0c57088b65b3cf99a7fbc802e0290326ed4f8eb09b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null != mOnIndexPressedListener \u0026\u0026 pressI \u003E -1 \u0026\u0026 pressI \u003C mIndexDataList.size()\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9c229bdaa7d643fda197b6a0bcc0cfb2a357a99739bcfe1af0511840245971"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null != tag \u0026\u0026 !tag.equals(mData.get(pos \u002B 1).getTag())\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab8223b41b5895922198a654ef8df21991759cd7f9bbe805a351d66a2ec8920"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null != titleCategoryInterface.getTag() \u0026\u0026 !titleCategoryInterface.getTag().equals(mData.get(position - 1).getTag())\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/suspension/SuspensionDecoration.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/suspension/SuspensionDecoration.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c560d16dd941e0115112859b42f4f786d7136441a7abb59cffd4695a2494d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null == mIndexDataList || mIndexDataList.isEmpty()\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b4e06352f9cd57dbd6536065dd5d9e6bed8d54f9e1d27286aed3c507f88d8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null == mSourceData || mSourceData.isEmpty()\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/IndexBar.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/IndexBar.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb343e8fc57938822a93b5ec7995446047b9e5bef1fe796e524e02384553ea9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null == sourceData || sourceData.isEmpty()\u0060 appears character-identically in 2 files \u2014 common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/indexbar/helper/IndexBarDataHelperImpl.java. 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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/indexbar/helper/IndexBarDataHelperImpl.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b8fbe6cb7279f7be001a0196182bcdca22dcf28a55258f6f0d33d7565b6d68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldGroups == null || newGroups == null || oldGroups.size() != newGroups.size()\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationGroupBar.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/view/ConversationAdapter.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"507e9f0dbb72bdad8b0241e6d860e072e6dba67aab75326ceb179a23c704f446"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path != null \u0026\u0026 FileUtils.isFileExists(path)\u0060 appears character-identically in 7 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatVideoMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionVideoViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatVideoPinViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c107b080cf6878bed9bf0809d62a8d129ae2d59e607533d09fbaf567fcdb57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pos \u003E= 0 \u0026\u0026 calendarLayoutManager != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatDateSelectActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunDateSelectActivity.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bea7825c960f4ed7aa5696f3d5017c5b9e5d9941235449c00da0669dc3b9b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060position \u003E= 0 \u0026\u0026 position \u003C dataList.size()\u0060 appears character-identically in 5 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/CollectionMessageAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/PinMessageAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/SearchMessageAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatUserBaseAdapter.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04338ee5166ef44ad150bdd36600ad47275a93b414bed4b5d1813fd0fb339c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060properties != null \u0026\u0026 properties.fileDrawable != null \u0026\u0026 properties.fileDrawable.containsKey(fileType)\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatFilePinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatFileMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatFilePinViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatFileMessageViewHolder.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cba6a3f3087083d1649edec5e3172b054147c8bb1efb9dbae1dfa4315e995c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ratio != null \u0026\u0026 ratio \u003E 0 \u0026\u0026 ratio \u003C= 1\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatThumbBaseViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatThumbBaseViewHolder.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a566c2d0bc89db81e91dc2042c87ed3104676b8f657a301921f49230c095a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060replayUIOption.enable != null \u0026\u0026 !replayUIOption.enable\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95aebbad027a52cb4ab5084b9c7831cf0ba5440d1023ffc4b7d41f2e02e2d9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res.getSuccess() \u0026\u0026 res.getValue() instanceof V2NIMCreateTeamResult\u0060 appears character-identically in 4 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/NormalCreateTeamFactory.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/FunCreateTeamFactory.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/NormalCreateTeamFactory.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/FunCreateTeamFactory.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"23806ad24f7b1954edf78dfd90297e127fc6a3afd27289443d27c43909fe6b4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getData() != null \u0026\u0026 !result.getData().isEmpty()\u0060 appears character-identically in 6 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectorFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eedd667cca78db6616330adb8e9d2f4d08e86510244e60d43549af85f873bff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getData() != null \u0026\u0026 result.getLoadStatus() == LoadStatus.Success\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b60f89f784891fcb41ca69d82e390c5097a9ddd356a7906280749906ea8643e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getData() == null || (result.getData() != null \u0026\u0026 result.getData().size() \u003C 10)\u0060 appears character-identically in 3 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyBaseFragment.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1b5e5584b837df383bad2c35a0c9f0c971a07533881a92d9c6c53aea1a439d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getLoadStatus() == LoadStatus.Error \u0026\u0026 result.getError() != null\u0060 appears character-identically in 8 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aec2c29cead54dc53e84086521256ec0b753bf3071ee71a85ef682288be2442"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getLoadStatus() == LoadStatus.Success \u0026\u0026 result.getData() != null\u0060 appears character-identically in 7 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchByMemberBaseActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/ai/BaseAIUserListActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/blacklist/BaseBlackListActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatSearchBaseActivity.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f28abd3a704dec91c99202ed0627ebb643dd88a43a5084d19e6aa53e71fbe7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getLoadStatus() == LoadStatus.Success \u0026\u0026 result.getData() != null \u0026\u0026 result.getData().size() \u003E 0\u0060 appears character-identically in 4 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"54aa139746ad0473322db530b0ef9a001de587d1ee3d8e4a7c1a14eda0c6d8cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getResultCode() != Activity.RESULT_OK || forwardMessage == null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/CollectionBaseActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/ChatPinBaseActivity.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee9990d6f302b98f76d90bcf49c39974a25b8aca2c8e77364050c07f3fed38b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getResultCode() != RESULT_OK || result.getData() == null\u0060 appears character-identically in 2 files \u2014 teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamSettingActivity.java. 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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/activity/BaseTeamManagerListActivity.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4caecd68496480db5d773ec359adde03b18e75d1a80f83a6e0a46711f90ccb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getResultCode() != android.app.Activity.RESULT_OK || forwardMessage == null\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchImageActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchImageActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"59964982d178145e736c16615166bd62b04f4438dbf6e82ecdce5e67e49d93d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getResultCode() == RESULT_OK \u0026\u0026 data != null \u0026\u0026 teamId != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchMemberActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchMemberActivity.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c19692f395c978a449a51cddb0a8db079b6f44e4a77fff64bd59b9e3cc5761"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getResultCode() == RESULT_OK \u0026\u0026 result.getData() != null\u0060 appears character-identically in 3 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotCreateActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotEditActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotInfoActivity.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/robot/BaseRobotCreateActivity.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c626ae64ea69a9db9802f0a46b3efe38c4846b603de36fceda5868fe527cfc49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getType() == FetchResult.FetchType.Add \u0026\u0026 conversationView != null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ad82a9742a52dae9568a44ff9f240233e7a4c1d843c6a3d63628921eea30b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getType() == FetchResult.FetchType.Remove \u0026\u0026 conversationView != null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9e681091951012735237c712fb000f0d57fa946bfed8d1d2f52a3072840d66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.getType() == FetchResult.FetchType.Update \u0026\u0026 conversationView != null\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/LocalConversationBaseFragment.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationBaseFragment.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b410b7c3e08c4553aae2596a02cd398e44b4cd624b12b8270468167352ebc3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060revokeUIOption.enable != null \u0026\u0026 !revokeUIOption.enable\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/NormalChatBaseMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/FunChatBaseMessageViewHolder.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b587f63f88ac78ee19904b6323498eb64a2639cdce2167815eb4ad76829a00b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectView != null \u0026\u0026 selectView.getVisibility() == VISIBLE \u0026\u0026 isViewUnder(selectView, x, y)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"5644f712d31ee0082f4241fd91e18a4cb753a53ae15048817529718b1f83ad1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected \u0026\u0026 viewModel.selectCountOverflow()\u0060 appears character-identically in 6 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAISelectorFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseConversationSelectorFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/forward/BaseFriendSelectorFragment.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/ai/BaseAIFriendSelectorFragment.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7401c2c56be5ab98f7069ff36cf28a162924ba15f8cc73f8faaf61a8859942"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedDay != null \u0026\u0026 Objects.equals(selectedDay, ms)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/CalendarMonthAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunCalendarMonthAdapter.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"204b0041173c0e2495ab90e7c3e13a80317456a0fc8ad0598db020427c629354"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedListAdapter.getItemCount() \u003E maxSelectCount \u0026\u0026 selectFinalCheckCountEnable\u0060 appears character-identically in 2 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/selector/BaseContactSelectorActivity.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/fun/selector/FunContactSelectorActivity.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"216da423aceeb0ad3d1c3567729d2b0e84ccd108801faba5cc18896e6b35819a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060senderAccountIds != null \u0026\u0026 !senderAccountIds.isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchMemberViewModel.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatSearchMemberViewModel.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c9a2b8114989e1470308791fac89dc0ea7510c79f96d7b70328e080f8b1e2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showGroupIdentify \u0026\u0026 (data.getMemberRole() == V2NIMTeamMemberRole.V2NIM_TEAM_MEMBER_ROLE_OWNER || data.getMemberRole() == V2NIMTeamMemberRol\u2026\u0060 appears character-identically in 2 files \u2014 teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/normal/adapter/TeamMemberListAdapter.java. 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":"teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/fun/adapter/FunTeamMemberListAdapter.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcce61859687d8bdd9ada9ac9b9f7656c804b0dbe312b35da7d85750db0fefe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060super.needShowMultiSelect() \u0026\u0026 !this.currentMessage.AIMessageStreaming()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/message/viewholder/ChatTextMessageViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/message/viewholder/ChatTextMessageViewHolder.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38306501c7ae9aa426e304ddc3116dc31bb4ee01c5e157d970cb79e2a9cb9d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team == null || !IMKitConfigCenter.getEnableDismissTeamDeleteConversation()\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"1976009b6941cb3da09b16ef97508684be1c7e4e1fca94eece412b6e22fb027c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060teamInfo == null \u0026\u0026 TextUtils.isEmpty(accountId)\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/fragment/ChatTeamFragment.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/fragment/FunChatTeamFragment.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb0259f4fec9c91987249ec93d918f7e10655d505cf8d075bdc615001f255aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060total \u003E 0 \u0026\u0026 lastVisible \u003E= total - 1 \u0026\u0026 !searchFileViewModel.hasMore()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0adb06e7a60d137ebefa40915adb69a036a467335b0d2a62daa4aec42c95366"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060total \u003E 0 \u0026\u0026 lastVisible \u003E= total - 1 \u0026\u0026 conversationId != null \u0026\u0026 searchFileViewModel.hasMore()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/search/ChatSearchFileActivity.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/search/FunChatSearchFileActivity.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa317f16e73a5f0a3729005a23885419400d6b8ff85a21bcd7259c19a631a8a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == ChatMessageType.NOTICE_MESSAGE_VIEW_TYPE || type == ChatMessageType.TIP_MESSAGE_VIEW_TYPE\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/pin/FunChatBasePinViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/collection/CollectionBaseViewHolder.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/viewholder/pin/ChatBasePinViewHolder.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/viewholder/collection/FunCollectionBaseViewHolder.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae0e52f389d16106a878c9358547f0d6fa111464f499bb3cb60ba3ee201c55e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == V2NIMDataSyncType.V2NIM_DATA_SYNC_MAIN \u0026\u0026 state == V2NIMDataSyncState.V2NIM_DATA_SYNC_STATE_COMPLETED\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatP2PViewModel.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"38355c6f204654bcf5e82254abb8c9a433ef727750b20c9e4ba41a9fe80c35ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == V2NIMDataSyncType.V2NIM_DATA_SYNC_TEAM_MEMBER \u0026\u0026 state == V2NIMDataSyncState.V2NIM_DATA_SYNC_STATE_COMPLETED\u0060 appears character-identically in 4 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamMemberCache.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/viewmodel/TeamSettingViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbefcc0afa9aba05b8a8195020b610b51716f9f58e8b8320df0141026cbcdaef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uiConfig != null \u0026\u0026 uiConfig.popMenuItemProvider != null\u0060 appears character-identically in 4 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/ConversationFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/fun/page/FunLocalConversationFragment.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/LocalConversationFragment.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/fun/page/FunConversationFragment.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5296a87aff6670501b691fbaddd29fde0ac2a9fe156fbbe8bc0ae3ea9f26519"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userInfo != null \u0026\u0026 !TextUtils.isEmpty(userInfo.getName())\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java, teamkit-ui/src/main/java/com/netease/yunxin/kit/teamkit/ui/utils/TeamUtils.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/cache/TeamUserManager.java"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cbda08127fbb77624a2de8ea799843d28335b4086a79c97bea21f9ae90a6d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userInfoList == null || userInfoList.size() \u003C 1\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/message/adapter/ChatMessageAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/adapter/ChatSearchAdapter.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3831bbe643bcf55a7ff04cd05ae1679f71f6f27c16b4e9a552c98e46d9545df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userInfoWithTeams == null || userInfoWithTeams.isEmpty()\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/page/adapter/NormalAitContactAdapter.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/page/adapter/FunAitContactAdapter.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7628fbb28a8cf29c7dc93740d116de1430828672e4ff4bf9c74a0b05c08d50e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userStatus != null \u0026\u0026 !TextUtils.isEmpty(userStatus.getAccountId())\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f430d105cf2b6691d9f30c80e3ec6ad1209e0abbcdb1452ddb57194c2e3658d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userStatusList == null || userStatusList.isEmpty()\u0060 appears character-identically in 3 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatP2PViewModel.java, conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatP2PViewModel.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"55268eeace603870191d0f2b0c2a5c06aeb0b5d10a9554b8165154f38f473aed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userUnpinSet == null || !userUnpinSet.contains(aiUser.getAccountId())\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/page/viewmodel/ConversationViewModel.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/viewmodel/ConversationViewModel.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"06966d78067362088bb517ae41982f37cbe6189ea9f31e5548a1008114135e1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewHolderMap.containsKey(viewType) \u0026\u0026 viewHolderMap.get(viewType) != null\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/factory/ChatViewHolderFactory.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/factory/FunChatViewHolderFactory.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd5e12631c31b029320b8f92d304fd941af430aa8c7acce6b1af8d8482568ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewModel.hasMore() \u0026\u0026 seriesPageCount \u003C seriesPageLimit\u0060 appears character-identically in 3 files \u2014 contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseFragment.java, contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/TeamVerifyBaseFragment.java. 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":"contactkit-ui/src/main/java/com/netease/yunxin/kit/contactkit/ui/verify/FriendVerifyBaseActivity.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"99276fd76dceaf0d2ad385af718019b14b00af3d2ca615eebdbff43948ce1bd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewType == ConversationConstant.ViewType.CHAT_VIEW || viewType == ConversationConstant.ViewType.TEAM_VIEW\u0060 appears character-identically in 2 files \u2014 conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/SelectorViewHolderFactory.java, localconversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/local/ui/normal/page/SelectorViewHolderFactory.java. 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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/normal/page/SelectorViewHolderFactory.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b20eaac756f3d4f1253149d81f3ce6b2f5fe12a64aa7798491142235331ce6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x \u003E viewX \u0026\u0026 x \u003C (viewX \u002B view.getWidth()) \u0026\u0026 y \u003E viewY \u0026\u0026 y \u003C (viewY \u002B view.getHeight())\u0060 appears character-identically in 2 files \u2014 chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java, chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/normal/view/ChatView.java. 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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/fun/view/FunChatView.java"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3ab51baf456eb708e9b4acf3b01ab99f67a737845eb568a4d6671e16b2865a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not module.is_dir() or not (module / \u0022build.gradle.kts\u0022).exists()\u0060 appears character-identically in 2 files \u2014 .agents/skills/uikit-prune/scripts/plan.py, .agents/skills/uikit-prune/scripts/preview.py. 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":".agents/skills/uikit-prune/scripts/plan.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcfd2c1888196f2b196fe7861c66b0d6bb225948baebb57cb665f95dbd82ba7"}},{"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":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/page/ConversationGroupNameDialog.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3586cd9aa48c108c51a9bcf80245231dae6a8c6c77848fbffdf1f628f1034f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/CustomGestureDetector.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f0eaac321df1abb10a946f6e25bcdaccc5dec7a6bfba66e732ba38554b0fdf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/scaleimage/CustomGestureDetector.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cf82f43f393c560b42437325a595ca7d5dc5e3225f3f6183350db111a221b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/CustomDatePicker.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7db003fe462939f7f3d160b2d1f50c24bf16935fc9b8f3fe35f44b10538d81"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/widgets/datepicker/DateFormatUtils.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b477e8f21e92a2d11d526c523cdddee90a53267f6c0e8ea5f46fa8870a98fa"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c484f7184da3a28d1c9db151e2638900631dbc096548d329b8caaf6b44b0fbd"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/BasePhotoChoiceDialog.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b7555b693a4a7b63a9684a816904967060c856a085fa6a35b590b753cbe0a1"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapUtils.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa996d0e231fac4b6602974e7bd30ce9bd967eef66b95ebc1a38a8fd558ba51c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapUtils.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"13344b954622cad81124aeb9c077742e67cd6af5dc8986e713508c196c705851"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapUtils.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f214761043030a653a0e635075402a8bf128366d9945daed19c2b9daaaf2ee"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapUtils.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe5ffe77744c374e330486f76d0258f8242b2d0a5166da8921891ab55a640ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/BitmapUtils.java"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adf85f751f1ca1e75a66147f94b0e66142793ba19bdfcb376b62b7144012ade"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropImage.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2c8e53eaef41f290343c5fda6f3373ae9712958b85c8220ae658cea80ee410"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/photo/crop/CropOverlayView.java"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2614ff0f0e7b28fd94a6350a43480567709ecc513b4fc1bf4a7467912bc7486"}},{"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":"common-ui/src/main/java/com/netease/yunxin/kit/common/ui/dialog/CommonAlertDialog.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c7a10d62bf91b057e0aa7b1e5e77b895068671d2c51e489b107eba94c6d720"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/ReactionEmojiManager.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8948ef4be25bacaa4b959b85b072b319a3e0e57744689b38111a473a842361b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/viewmodel/ChatBotSubSessionViewModel.java"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4aed4eeab343fba5f98f2e1f3a81a7c8456ccfbead42e1c82061d90aea92ccd"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/page/fragment/ChatBaseFragment.java"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92561f252f0edc2189a92799464167bca21fd6717a8887f094afeb3e9ab6c4d"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/model/ChatMessageBean.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7037f2965594e65799efea5d2765db27dabaae2411b72d63ffb028978ad9d44a"}},{"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":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25eea2965f339cfcad0e1ecb53bd2afc7e4c334c41dcc7ef22594d23c294f87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageSearchUtils.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c486e323352634c393327a42f3b389a405c73d1dfc5866c3d8af868bc23aa181"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/utils/AppUtils.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc74bdbd9eed6cbc6c50d534432cb35c88369709f9366b4853a25ef7c634117"}},{"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":"app/src/main/java/com/netease/yunxin/app/im/main/mine/setting/SettingUIKitActivity.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c7da1e81a44041774560e40c3bbeb1a42c49cc4a4d35785b1fc0fd9824afa4"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/186 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageHelper.java"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7e825bfedd61fb032b8f55a30d7a2df38f2a765182036c01fa5ff34127fa72"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parseMediaInt\u0060 returns \u00600\u0060 when \u0060NumberFormatException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/common/MessageOperateUtils.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"86da2deca7c661a4ba29307875a97024bd13a6bb013ceeab1efcd58cd9568379"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadPacks\u0060 swallows every exception into \u0060return new ArrayList\u003C\u003E()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chatkit-ui/src/main/java/com/netease/yunxin/kit/chatkit/ui/view/emoji/AssetsStickerProvider.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e06bc08366a7dfa9f24ce4ae5c188c7de45ed3788a16c960d4aef18dd0620a4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getConfigList\u0060 swallows every exception into \u0060return new ArrayList\u003C\u003E()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"conversationkit-ui/src/main/java/com/netease/yunxin/kit/conversationkit/ui/common/ConversationGroupLocalConfigHelper.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8576332071cb79d5899239064c7165ae15572810be84bfe2a2ee5c2ad2320cb"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":3,"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."]}]}