English

Logging Practices with Mobile Analytics: An Empirical Study on Firebase

Software Engineering 2021-04-07 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2104.02513,
  title  = {Logging Practices with Mobile Analytics: An Empirical Study on Firebase},
  author = {Julian Harty and Haonan Zhang and Lili Wei and Luca Pascarella and Mauricio Aniche and Weiyi Shang},
  journal= {arXiv preprint arXiv:2104.02513},
  year   = {2021}
}

Comments

8th IEEE/ACM International Conference on Mobile Software Engineering and Systems 2021

R2 v1 2026-06-24T00:53:16.074Z