Infeasible execution paths reduce the precision of structural testing coverage and limit the industrial applicability of structural testing criteria. In this paper, we propose a technique that combines static and dynamic analysis approaches to identify infeasible program elements that can be eliminated from the computation of structural coverage to obtain accurate coverage data. The main novelty of the approach stems from its ability to identify a relevant number of infeasible elements, that is, elements that belong statically to the code, but cannot be executed under any input condition. The technique can also generate new test cases that execute uncovered elements, thus increasing the structural coverage of the program. The experimental results obtained on a prototype implementation for computing accurate branch coverage and reported in this paper indicate that the technique can effectively improve structural coverage measurements and can thus increase the industrial applicability of complex structural coverage criteria.

Baluda, M., Braione, P., Denaro, G., Pezze', M. (2010). Structural Coverage of Feasible Code. In Proceedings of the Fifth International Workshop on Automation of Software Test (pp.59-66). ACM [10.1145/1808266.1808275].

Structural Coverage of Feasible Code

BRAIONE, PIETRO;DENARO, GIOVANNI;PEZZE', MAURO
2010

Abstract

Infeasible execution paths reduce the precision of structural testing coverage and limit the industrial applicability of structural testing criteria. In this paper, we propose a technique that combines static and dynamic analysis approaches to identify infeasible program elements that can be eliminated from the computation of structural coverage to obtain accurate coverage data. The main novelty of the approach stems from its ability to identify a relevant number of infeasible elements, that is, elements that belong statically to the code, but cannot be executed under any input condition. The technique can also generate new test cases that execute uncovered elements, thus increasing the structural coverage of the program. The experimental results obtained on a prototype implementation for computing accurate branch coverage and reported in this paper indicate that the technique can effectively improve structural coverage measurements and can thus increase the industrial applicability of complex structural coverage criteria.
paper
algorithms, structural testing, abstraction refinement
English
5th International Workshop on Automation of Software Test (AST 2010)
2010
Proceedings of the Fifth International Workshop on Automation of Software Test
978-1-60558-970-1
2010
59
66
none
Baluda, M., Braione, P., Denaro, G., Pezze', M. (2010). Structural Coverage of Feasible Code. In Proceedings of the Fifth International Workshop on Automation of Software Test (pp.59-66). ACM [10.1145/1808266.1808275].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/8987
Citazioni
  • Scopus 21
  • ???jsp.display-item.citation.isi??? ND
Social impact