当前位置: X-MOL 学术Automat. Softw. Eng. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
A multi-dimensional study on the state of the practice of REST APIs usage in Android apps
Automated Software Engineering ( IF 3.4 ) Pub Date : 2020-08-17 , DOI: 10.1007/s10515-020-00272-9
Manel Abdellatif , Rafik Tighilt , Abdelkarim Belkhir , Naouel Moha , Yann-Gaël Guéhéneuc , Éric Beaudry

REST APIs are gaining a tremendous attraction in industry and a growing usage in mobile platforms. They are well suited for providing content to apps running on small devices, like smartphones and tablets. Several research works studied REST APIs development practices for mobile apps. However, little is known about how Android apps use/consume these APIs in practice. Consequently, we propose a multi-dimensional study on the state of the practice of REST APIs usage in Android apps. We follow three directions: analysing of Android apps, mining Stack Overflow posts on REST APIs usage in Android apps, and surveying Android developers about their usage of REST APIs in their mobile apps. We (1) build a catalog of Android REST mobile clients practices, (2) propose an automatic approach to detect these practices, (3) analyze 1595 Android apps downloaded from the Google Play store, (4) mine 12,478 Stack Overflow posts to study REST APIs usage in Android apps, and (5) conduct an online survey with 118 Android developers to understand their usage of these practices. We report that only two good practices are widely considered by Android developers when implementing their mobile apps. These practices are network connectivity awareness and JSON versus XML response parsing. We also report Android developers’ recommendations for the use of third-party HTTP libraries and their role in implementing the recommended practices.

中文翻译:

Android 应用中 REST API 使用实践状态的多维研究

REST API 在行业中获得了巨大的吸引力,并且在移动平台中的使用越来越多。它们非常适合为在智能手机和平板电脑等小型设备上运行的应用程序提供内容。多项研究工作研究了移动应用程序的 REST API 开发实践。然而,人们对 Android 应用程序在实践中如何使用/使用这些 API 知之甚少。因此,我们建议对 Android 应用程序中 REST API 使用实践的状态进行多维研究。我们遵循三个方向:分析 Android 应用程序,挖掘有关 Android 应用程序中 REST API 使用情况的 Stack Overflow 帖子,以及调查 Android 开发人员在其移动应用程序中使用 REST API 的情况。我们 (1) 构建了一个 Android REST 移动客户端实践目录,(2) 提出了一种自动检测这些实践的方法,(3) 分析从 Google Play 商店下载的 1595 个 Android 应用程序,(4) 挖掘 12,478 个 Stack Overflow 帖子以研究 Android 应用程序中 REST API 的使用情况,以及 (5) 对 118 个 Android 开发人员进行在线调查,以了解他们对这些做法的使用情况. 我们报告说,Android 开发人员在实施他们的移动应用程序时只广泛考虑了两种良好做法。这些实践是网络连接意识和 JSON 与 XML 响应解析。我们还报告了 Android 开发人员对使用第三方 HTTP 库的建议及其在实施推荐做法中的作用。我们报告说,Android 开发人员在实施他们的移动应用程序时只广泛考虑了两种良好做法。这些实践是网络连接意识和 JSON 与 XML 响应解析。我们还报告了 Android 开发人员对使用第三方 HTTP 库的建议及其在实施推荐做法中的作用。我们报告说,Android 开发人员在实施他们的移动应用程序时只广泛考虑了两种良好做法。这些实践是网络连接意识和 JSON 与 XML 响应解析。我们还报告了 Android 开发人员对使用第三方 HTTP 库的建议及其在实施推荐做法中的作用。
更新日期:2020-08-17
down
wechat
bug