arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.02513cs.SE
收藏

使用移动分析的日志记录实践:对Firebase的实证研究

Logging Practices with Mobile Analytics: An Empirical Study on Firebase

Julian Harty, Haonan Zhang, Lili Wei, Luca Pascarella, Mauricio Aniche, Weiyi Shang

摘要:

软件日志在工业和开源项目中都有很大的价值。移动分析日志使开发人员能够从终端用户设备上运行的应用程序远程收集日志,但需要通过互联网记录日志并将其传输到集中式基础设施。本文使用广泛采用的移动分析日志库(即Firebase Analytics)来描述日志记录实践的第一步。我们通过研究代码库的演变,对Firebase Analytics在57个开源Android应用程序中的使用进行了实证评估,以了解:a)推动从业者在移动设备上采用日志记录实践的共同需求,以及b)开发人员使用本地和远程日志记录方式的差异。我们的研究结果表明,移动分析日志比传统的日志记录代码更不普及,维护更少。根据我们的分析,我们认为与传统日志记录相比,使用移动分析的日志记录更以用户为中心,后者主要用于记录调试信息。

英文摘要:

Software logs are of great value in both industrial and open-source projects. Mobile analytics logging enables developers to collect logs remotely from their apps running on end user devices at the cost of recording and transmitting logs across the Internet to a centralised infrastructure. This paper makes a first step in characterising logging practices with a widely adopted mobile analytics logging library, namely Firebase Analytics. We provide an empirical evaluation of the use of Firebase Analytics in 57 open-source Android applications by studying the evolution of code-bases to understand: a) the needs-in-common that push practitioners to adopt logging practices on mobile devices, and b) the differences in the ways developers use local and remote logging. Our results indicate mobile analytics logs are less pervasive and less maintained than traditional logging code. Based on our analysis, we believe logging using mobile analytics is more user centered compared to traditional logging, where the latter is mainly used to record information for debugging purposes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑