TY - GEN
T1 - Open code coverage framework
T2 - 10th International Conference on Quality Software, QSIC 2010
AU - Sakamoto, Kazunori
AU - Washizaki, Hironori
AU - Fukazawa, Yoshiaki
PY - 2010/10/28
Y1 - 2010/10/28
N2 - Test coverage is an important indicator of whether software has been tested sufficiently. However, existing measurement tools for test coverage are associated with several problems such as their cost of development and maintenance, inconsistency and inflexibility in measurement. We propose a framework for consistent and flexible measurement of test coverage, called the Open Code Coverage Framework (OCCF), that supports multiple programming languages. OCCF extracts commonalities from multiple programming languages focusing on only small syntax differences in programming languages using an abstract syntax tree. OCCF provides guidelines to support several test coverage criteria. Moreover, OCCF let users expand features to add user-defined test coverage and new programming language. As a result, we reduced the lines of code required to implement measurement tools for test coverage by about 90%and the time to implement a special coverage criterion by80% or more in an experiment that compared OCCF with conventional tools developed individually without using the framework.
AB - Test coverage is an important indicator of whether software has been tested sufficiently. However, existing measurement tools for test coverage are associated with several problems such as their cost of development and maintenance, inconsistency and inflexibility in measurement. We propose a framework for consistent and flexible measurement of test coverage, called the Open Code Coverage Framework (OCCF), that supports multiple programming languages. OCCF extracts commonalities from multiple programming languages focusing on only small syntax differences in programming languages using an abstract syntax tree. OCCF provides guidelines to support several test coverage criteria. Moreover, OCCF let users expand features to add user-defined test coverage and new programming language. As a result, we reduced the lines of code required to implement measurement tools for test coverage by about 90%and the time to implement a special coverage criterion by80% or more in an experiment that compared OCCF with conventional tools developed individually without using the framework.
KW - Code coverage
KW - Framework
KW - Metrics
KW - Software testing
KW - Test coverage
UR - http://www.scopus.com/inward/record.url?scp=77958161080&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=77958161080&partnerID=8YFLogxK
U2 - 10.1109/QSIC.2010.42
DO - 10.1109/QSIC.2010.42
M3 - Conference contribution
AN - SCOPUS:77958161080
SN - 9780769541310
T3 - Proceedings - International Conference on Quality Software
SP - 262
EP - 269
BT - Proceedings - 10th International Conference on Quality Software, QSIC 2010
Y2 - 14 July 2010 through 15 July 2010
ER -