发表机构
Beihang University; Australian National University(北京航空航天大学; 澳大利亚国立大学)
机构由 AI 辅助整理,请以论文原文为准。AI 中文总结
针对OpenHarmony应用,提出开源工具HapCiD自动检测API兼容性问题,在4,478个应用中准确识别163个应用的2,040个问题,并分类研究及提出改进建议。
AI 中文摘要
OpenHarmony作为一个新兴的开源移动平台,正迅速获得移动开发社区的关注。其快速演进的软件开发工具包(SDK)引入了大量应用程序编程接口(API)以提升开发者生产力,但不可避免地带来了兼容性挑战,这是Android等平台众所周知的问题。然而,由于OpenHarmony新引入的ArkTS编程语言以及缺乏成熟的捕获应用执行语义的行为模型,现有的兼容性分析工具对其并不有效。为弥补这一空白,我们提出了HapCiD,一个用于自动检测OpenHarmony应用中API相关兼容性问题的开源工具。将HapCiD应用于4,478个应用,它成功检测出163个应用中的2,040个兼容性问题,准确率达到100%。基于这些发现,我们对兼容性问题进行了全面研究,对其类型进行分类,审视现有的缓解策略,并提出未来的改进方向。
英文摘要
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.
CommentsAccepted by Internetware2026