COSMO: Code Coverage Made Easier for Android
Autor: | Paolo Tonella, Mariano Ceccato, Andrea Romdhana, Alessio Merlo, Gabriel Claudiu Georgiu |
---|---|
Jazyk: | angličtina |
Rok vydání: | 2021 |
Předmět: |
instrumentation
Source code Computer science code coverage media_common.quotation_subject android testing Code coverage 020207 software engineering 02 engineering and technology computer.software_genre Bytecode 020204 information systems 0202 electrical engineering electronic engineering information engineering Benchmark (computing) Operating system Test suite Overhead (computing) Instrumentation (computer programming) Android (operating system) computer media_common |
Zdroj: | ICST |
Popis: | The degree of code coverage reached by a test suite is an important indicator of the thoroughness of testing. Most coverage tools for Android apps work at the bytecode level and provide no information to developers about which source code lines have not yet been exercised by any test case. In this paper, we present COSMO, the first fully automated Android app instrumenter publicly available that operates at the source code level in a completely transparent way, making it fully compatible with existing system level testing technologies and Android test generators. The experiments that we have conducted on a large benchmark of Android apps show that COSMO can successfully instrument most apps without altering their execution traces, introducing a small, acceptable runtime overhead. |
Databáze: | OpenAIRE |
Externí odkaz: |