一句话:首次大规模实证考察开源 Android 应用对 CI/CD 的采用情况,揭示采用率低及其实效。
尽管 CI/CD 已被证明能有效促进软件构建、测试与部署,现有研究却很少关注其在 Android 应用开发中的使用。本文填补这一空白,从 GitHub、GitLab 和 Bitbucket 收集 84,475 个开源 Android 应用,开展探索性实证研究。研究发现:仅约 10% 的应用使用了 CI/CD 服务,绝大多数开源 Android 应用未接入 CI/CD;291 个应用甚至采用多个 CI/CD 服务;在使用 CI/CD 服务的应用中,近一半并未真正使用;此外,CI/CD 服务有助于提升项目流行度。这是对该生态中 CI/CD 采用状况的首次初步刻画。
Continuous Integration (CI) and Continuous Delivery (CD) have been demonstrated to be effective in facilitating software building, testing, and deployment. Many research studies have investigated and subsequently improved their working processes. Unfortunately, such research efforts have largely not touched on the usage of CI/CD in the development of Android apps. We fill this gap by conducting an exploratory study of CI/CD adoption in open-source Android apps. We start by collecting a set of 84,475 open-source Android apps from the most popular three online code hosting sites, namely Github, GitLab, and Bitbucket. We then look into those apps and find that (1) only around 10% of apps have leveraged CI/CD services, i.e., the majority of open-source Android apps are developed without accessing CI/CD services, (2) a small number of apps (291) has even adopted multiple CI/CD services, (3) nearly half of the apps adopted CI/CD services have not really used them, and (4) CI/CD services are useful to improve the popularity of projects.