Title :
On the correlation between code coverage and software reliability
Author :
Del Frate, Fabio ; Garg, Praerit ; Mathur, Aditya P. ; Pasquini, Alberto
Author_Institution :
Rome Univ., Italy
Abstract :
We report experiments conducted to investigate the correlation between code coverage and software reliability. Black-, decision-, and all-use-coverage measures were used. Reliability was estimated to be the probability of no failure over the given input domain defined by an operational profile. Four of the five programs were selected from a set of Unix utilities. These utilities range in size from 121 to 8857 lines of code, artificial faults were seeded manually using a fault seeding algorithm. Test data was generated randomly using a variety of operational profiles for each program. One program was selected from a suite of outer space applications. Faults seeded into this program were obtained from the faults discovered during the integration testing phase of the application. Test cases were generated randomly using the operational profile for the space application. Data obtained was graphed and analyzed to observe the relationship between code coverage and reliability. In all cases it was observed that an increase in reliability is accompanied by an increase in at least one code coverage measure. It was also observed that a decrease in reliability is accompanied by a decrease in at least one code coverage measure. Statistical correlations between coverage and reliability were found to vary between -0.1 and 0.91 for the shortest two of the five programs considered; for the remaining three programs the correlations varied from 0.89 to 0.99
Keywords :
Unix; probability; program debugging; program testing; software metrics; software reliability; utility programs; Unix utilities; all-use coverage measures; artificial faults; black coverage measures; code coverage; decision coverage measures; experiments; fault seeding algorithm; integration testing; probability; software failure; software reliability; space applications; statistical correlations; test data generation; Gold; Laboratories; Software engineering; Software reliability; Testing;
Conference_Titel :
Software Reliability Engineering, 1995. Proceedings., Sixth International Symposium on
Conference_Location :
Toulouse
Print_ISBN :
0-8186-7131-9
DOI :
10.1109/ISSRE.1995.497650