HapCiD: Detecting API-related Compatibility Issues in OpenHarmony Apps

📅 2026-09-17
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决OpenHarmony应用中因API引起的兼容性问题,研究者开发了HapCiD工具,自动检测并分类这些问题,提出改进策略。
📝 Abstract
OpenHarmony, an emerging open-source mobile platform, is rapidly gaining attention in the mobile development community. Its fast-evolving Software Development Kit (SDK) introduces numerous Application Programming Interfaces (APIs) to boost developer productivity but inevitably introduces compatibility challenges, an issue well known from platforms like Android. However, existing compatibility analysis tools are ineffective for OpenHarmony due to its newly introduced ArkTS programming language and the lack of a mature behavioral model to capture app execution semantics. To bridge this gap, we present HapCiD, an open-source tool for automatically detecting API-related compatibility issues in OpenHarmony apps. Applied to 4,478 apps, HapCiD successfully detects 2,040 compatibility issues across 163 apps with 100 percent accuracy. Based on these findings, we conduct a comprehensive study of compatibility issues, categorizing their types, examining existing mitigation strategies, and proposing future improvements.
Problem

Research questions and friction points this paper is trying to address.

compatibility issues
OpenHarmony
APIs
ArkTS
behavioral model
Innovation

Methods, ideas, or system contributions that make the work stand out.

HapCiD
OpenHarmony
API Compatibility
ArkTS
Behavioral Model
🔎 Similar Papers
D
Daihang Chen
Beihang University
Y
Yonghui Liu
Australian National University
M
Mingyi Zhou
Beihang University
L
Li Li
Beihang University