DocumentCode
1728581
Title
A Hardware-Assisted Tool for Fast, Full Code Coverage Analysis
Author
Tran, Albert ; Smith, Michael ; Miller, James
Author_Institution
Univ. of Calgary, Calgary, AB
fYear
2008
Firstpage
321
Lastpage
322
Abstract
Software reliability can be improved by using code coverage analysis to ensure that all statements are executed at least once during the testing process. When full code coverage information is obtained through software code instrumentation, high runtime performance overheads are incurred. Techniques that perform deferred or selective code instrumentation have shown success in reducing run-time overheads; however, the execution profile remains distorted. Techniques have been proposed that use internal processor hardware during the data gathering process, e.g. program counter logging. These approaches have been shown to reduce overheads; but currently trade swift execution for sparse code coverage. By combining the branch-vector hardware designed for debugging modern embedded processors with on-demand code coverage analysis, we have developed a new tool which provides full code coverage, while minimizing performance distortions. Experimental results show a performance impact of only 8 - 12%, while still providing 100% code coverage information.
Keywords
program debugging; program testing; software reliability; branch-vector hardware; data gathering process; embedded processor debugging; full code coverage analysis; hardware-assisted tool; overhead reduction; program counter logging; software code instrumentation; software reliability; sparse code coverage; Costs; Counting circuits; Debugging; Hardware; Instruments; Performance analysis; Runtime; Software performance; Software reliability; Testing; Code Coverage Hardware; Hardware Performance Monitoring; Test Coverage;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability Engineering, 2008. ISSRE 2008. 19th International Symposium on
Conference_Location
Seattle, WA
ISSN
1071-9458
Print_ISBN
978-0-7695-3405-3
Electronic_ISBN
1071-9458
Type
conf
DOI
10.1109/ISSRE.2008.22
Filename
4700356
Link To Document