{"id":{"repo_id":"iastate","oai_identifier":"oai:dr.lib.iastate.edu:20.500.12876/97781"},"canonical_url":"https://search.ndltd.org/etd/iastate/oai:dr.lib.iastate.edu:20.500.12876/97781","repository":{"repo_id":"iastate","name":"Iowa State University","base_url":"https://dr.lib.iastate.edu/server/oai/request"},"display":{"title":"Flexible code coverage tool and its applications","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>","abstract_html":"&lt;p&gt;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.&lt;/p&gt;","abstract_has_math":false,"creators":["Ferrero, Sergio"],"institution":null,"degree_name":"Master of Science","degree_level":"thesis","degree_discipline":"Computer Science","degree_department":"Department of Computer Science","school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2004,"date_issued":"2004-01-01","date_published":"2004-01-01","updated_at":"2026-11-18T23:58:38Z","subjects":[],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/97781"],"render_values":[{"text":"https://dr.lib.iastate.edu/handle/20.500.12876/97781","href":"https://dr.lib.iastate.edu/handle/20.500.12876/97781","code":true}]},{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/rtd/20414/"],"render_values":[{"text":"archive/lib.dr.iastate.edu/rtd/20414/","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["21413","19953145"],"render_values":[{"text":"21413","href":null,"code":true},{"text":"19953145","href":null,"code":true}]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/rtd/20414/Ferrero_ISU_2004_F47.pdf|||Fri Jan 14 22:24:48 UTC 2022"],"render_values":[{"text":"archive/lib.dr.iastate.edu/rtd/20414/Ferrero_ISU_2004_F47.pdf|||Fri Jan 14 22:24:48 UTC 2022","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31274/rtd-20201023-88","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.31274/rtd-20201023-88","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiastate%3Aoai%3Adr.lib.iastate.edu%3A20.500.12876%2F97781","prefix":"oai_dc"},"source_record":{"url":"https://dr.lib.iastate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.lib.iastate.edu%3A20.500.12876%2F97781","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Department of Computer Science"]},{"key":"dc:creator","label":"Author","values":["Ferrero, Sergio"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2020-11-06T02:23:45.000"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2021-02-26T08:52:38Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2021-02-26T08:52:38Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["Thu Jan 01 00:00:00 UTC 2004"]},{"key":"dc:date.issued","label":"Date","values":["2004-01-01"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["f7be4eb9-d1d0-4081-859b-b15cee251456"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/rtd/20414/"]},{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.31274/rtd-20201023-88"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["21413","19953145"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/97781"]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/rtd/20414/Ferrero_ISU_2004_F47.pdf|||Fri Jan 14 22:24:48 UTC 2022"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["<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>"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Flexible code coverage tool and its applications"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:admin","label":"Local Admin","values":["isulib-bepress-aws-west","rtd/20414"]}]}],"canonical_facts":{"dc:contributor.department":["Department of Computer Science"],"dc:creator":["Ferrero, Sergio"],"dc:date":["2020-11-06T02:23:45.000"],"dc:date.accessioned":["2021-02-26T08:52:38Z"],"dc:date.available":["2021-02-26T08:52:38Z"],"dc:date.copyright":["Thu Jan 01 00:00:00 UTC 2004"],"dc:date.issued":["2004-01-01"],"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>"],"dc:format.mimetype":["application/pdf"],"dc:identifier":["archive/lib.dr.iastate.edu/rtd/20414/"],"dc:identifier.doi":["https://doi.org/10.31274/rtd-20201023-88"],"dc:identifier.other":["21413","19953145"],"dc:identifier.uri":["https://dr.lib.iastate.edu/handle/20.500.12876/97781"],"dc:language.iso":["en"],"dc:relation.orgunit":["f7be4eb9-d1d0-4081-859b-b15cee251456"],"dc:subject.keyword":["Computer science"],"dc:title":["Flexible code coverage tool and its applications"],"dc:type":["thesis"],"dspace:entity.type":["Publication"],"local:admin":["isulib-bepress-aws-west","rtd/20414"],"mods:identifier.filename":["archive/lib.dr.iastate.edu/rtd/20414/Ferrero_ISU_2004_F47.pdf|||Fri Jan 14 22:24:48 UTC 2022"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["thesis"],"thesis:degree_name":["Master of Science"]},"updated_at":"2026-11-18T23:58:38Z"}