Open code coverage framework: A consistent and flexible framework for measuring test coverage supporting multiple programming languages

Research output: Chapter in Book/Report/Conference proceedingConference contribution

6 Citations (Scopus)

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 10th International Conference on Quality Software, QSIC 2010
Pages262-269
Number of pages8
DOIs
Publication statusPublished - 2010 Oct 28
Event10th International Conference on Quality Software, QSIC 2010 - Zhangjiajie, China
Duration: 2010 Jul 142010 Jul 15

Publication series

NameProceedings - International Conference on Quality Software
ISSN (Print)1550-6002

Conference

Conference10th International Conference on Quality Software, QSIC 2010
CountryChina
CityZhangjiajie
Period10/7/1410/7/15

Keywords

  • Code coverage
  • Framework
  • Metrics
  • Software testing
  • Test coverage

ASJC Scopus subject areas

  • Engineering(all)

Fingerprint Dive into the research topics of 'Open code coverage framework: A consistent and flexible framework for measuring test coverage supporting multiple programming languages'. Together they form a unique fingerprint.

  • Cite this

    Sakamoto, K., Washizaki, H., & Fukazawa, Y. (2010). Open code coverage framework: A consistent and flexible framework for measuring test coverage supporting multiple programming languages. In Proceedings - 10th International Conference on Quality Software, QSIC 2010 (pp. 262-269). [5562968] (Proceedings - International Conference on Quality Software). https://doi.org/10.1109/QSIC.2010.42