Abstract
dc:description.abstract<p>Software testing is an important part of software development. Since exhaustive testing is generally not feasible, it is important to determine how much testing should be done. Code coverage provides the mechanisms to measure the thoroughness of tests. It measures how much of the code has been exercised during tests. A code coverage tool needs to instrument the software being tested and collect the coverage information. The overhead of collecting data and the amount of collected data can be huge and that creates a significant performance problem in practice. There is a tradeoff between the precision of the code coverage information generated by a tool and its performance. Creating a code coverage tool that provides the flexibility to strike a balance between precision and performance is an open problem for research. This thesis presents I4CC, a code coverage tool with flexible instrumentation capability achieved through a combination of selective instrumentation and user defined rules to guide the instrumentation. Selective instrumentation allows the user to select which functions to monitor, while user defined rules specify what and when the coverage data should be collected as the program runs. The tool computes block coverage and function coverage and collects combinations of condition values for control structures. This work makes two primary contributions. First, it presents the use of rules to guide the process of runtime data collection as the program runs. Second, it provides capability to collect and retain the code coverage data in the event of program crash. The data is not lost even if the program crashes; in fact, the collected data helps in determining the point of the crash. Results show that with the use of rules the performance can be significantly improved without any significant loss of accuracy of the coverage results. Applicability of the code coverage tool for program understanding tasks is also described.</p>
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- thesis
- Discipline thesis:degree_discipline
- Computer Science
- Department dc:contributor.department
- Department of Computer Science
- Year dc:date.issued
- 2004
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Ferrero, Sergio
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/97781
- Identifier
- archive/lib.dr.iastate.edu/rtd/20414/
- Dc Identifier Other
-
21413
19953145 - Mods Identifier Filename
- archive/lib.dr.iastate.edu/rtd/20414/Ferrero_ISU_2004_F47.pdf|||Fri Jan 14 22:24:48 UTC 2022