Istituto di Scienza e Tecnologie dell'Informazione     
Miranda B., Bertolino A. Improving test coverage measurement for reused software. In: SEAA 2015 - 41st Euromicro Conference on Software Engineering and Advanced Applications (Funchal, Portugal, 26-28 August 2015). Proceedings, pp. 27 - 34. IEEE, 2015.
Test coverage adequacy measures provide a widely used stopping criterion. Engineering of modern software-intensive systems emphasizes reuse. In the case that a program uses reused code or third-party components in a context that is different from the original one, some of their entities (e.g. branches) might never be exercised, thus producing a code coverage level far from full and not meaningful anymore as a stopping rule for the program at hand. We introduce a new coverage criterion, called "Relevant Coverage", that in each testing context in which a code is reused calculates coverage measures over the set of relevant entities for that context. We provide an approach for identifying relevant entities using dynamic symbolic execution. The introduced coverage adequacy criterion is assessed in an exploratory study against traditional coverage in terms of test suite size reduction factor, cost-effectiveness ratio and rate of fault detection. The results of our study showed that relevant coverage can considerably reduce the test suite size while preserving a high cost-effectiveness ratio with respect to the traditional approach.
URL: http://dx.doi.org/10.1109/SEAA.2015.69
DOI: 10.1109/SEAA.2015.69
Subject Software Testing
Coverage Testing
Relative Coverage
Test of Reused Code
D.2.5 Testing and Debugging

Icona documento 1) Download Document PDF

Icona documento Open access Icona documento Restricted Icona documento Private


Per ulteriori informazioni, contattare: Librarian http://puma.isti.cnr.it

Valid HTML 4.0 Transitional