跳到主要导航 跳到搜索 跳到主要内容

The Design Smells Breaking the Boundary between Android Variants and AOSP

  • Wuxia Jin
  • , Jiaowei Shang
  • , Jianguo Zheng
  • , Mengjie Sun
  • , Zhenyu Huang
  • , Ming Fan
  • , Ting Liu
  • Xi'an Jiaotong University
  • Honor Device Co. Ltd

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

1 引用 (Scopus)

摘要

Phone vendors customize their Android variants to enhance system functionalities based on the Android Open Source Project (AOSP). While independent development, Android variants have to periodically evolve with the upstream AOSP and merge code changes from AOSP. Vendors have invested great effort to maintain their variants and resolve merging conflicts. In this paper, we characterize the design smells with recurring patterns that break the design boundary between Android variants and AOSP. These smells are manifested as problematic dependencies across the boundary, hindering Android variants' maintainability and co-evolution with AOSP. We propose the DroidDS for automatically detecting design smells. We collect 22 Android variant versions and 22 corresponding AOSP versions, involving 4 open-source projects and 1 industrial project. Our results demonstrate that: files involved in design smells consume higher maintenance costs than other files; these infected files are not merely the files with large code size, increased complexity, and object-oriented smells; the infected files have been involved in more than half of code conflicts induced by re-applying AOSP's changes to Android variants; a substantial portion of design issues could be mitigable. Practitioners can utilize our DroidDS to pinpoint and prioritize design problems for Android variants. Refactoring these problems will help keep a healthy coupling between diverse variants and AOSP, potentially improving maintainability and reducing conflict risks.

源语言英语
主期刊名Proceedings - 2025 IEEE/ACM 47th International Conference on Software Engineering, ICSE 2025
出版商IEEE Computer Society
页2764-2776
页数13
ISBN(电子版)9798331505691
DOI
出版状态已出版 - 2025
活动47th IEEE/ACM International Conference on Software Engineering, ICSE 2025 - Ottawa, 加拿大
期限: 27 4月 2025 → 3 5月 2025

丛书

姓名Proceedings - International Conference on Software Engineering
ISSN(印刷版)0270-5257

会议

会议47th IEEE/ACM International Conference on Software Engineering, ICSE 2025
国家/地区加拿大
市Ottawa
时期27/04/25 → 3/05/25

学术指纹

探究 'The Design Smells Breaking the Boundary between Android Variants and AOSP' 的科研主题。它们共同构成独一无二的学术指纹。

引用此