OCCF: A framework for developing test coverage measurement tools supporting multiple programming languages

Kazunori Sakamoto, Kiyofumi Shimojo, Ryohei Takasawa, Hironori Washizaki, Yoshiaki Fukazawa

Research output: Contribution to conferencePaper

5 Citations (Scopus)

Abstract

Although many programming languages and test coverage criteria currently exist, most coverage measurement tools only support select programming languages and coverage criteria. Consequently, multiple measurement tools must be combined to measure coverage for software which uses multiple programming languages such as web applications. However, such combination leads to inconsistent and inaccurate measurement results.In this paper, we describe a consistent and flexible framework for measuring coverage supporting multiple programming languages, called Open Code Coverage Framework (OCCF). OCCF allows users to add new extensions for supporting programming languages and coverage criteria with low development costs. To evaluate the effectiveness of OCCF, sample implementation to support statement coverage and decision coverage for eight programming languages (C, C++, C#, Java, JavaScript, Python, Ruby and Lua) are demonstrated. Additionally, applications of OCCF for localizing faults and minimizing tests are shown.

Original languageEnglish
Pages422-430
Number of pages9
DOIs
Publication statusPublished - 2013 Sep 9
EventIEEE 6th International Conference on Software Testing, Verification and Validation, ICST 2013 - Luxembourg, Luxembourg
Duration: 2013 May 182013 May 20

Conference

ConferenceIEEE 6th International Conference on Software Testing, Verification and Validation, ICST 2013
CountryLuxembourg
CityLuxembourg
Period13/5/1813/5/20

Keywords

  • fault localization
  • framework
  • programming languages
  • test coverage
  • test-suite minimization

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'OCCF: A framework for developing test coverage measurement tools supporting multiple programming languages'. Together they form a unique fingerprint.

  • Cite this

    Sakamoto, K., Shimojo, K., Takasawa, R., Washizaki, H., & Fukazawa, Y. (2013). OCCF: A framework for developing test coverage measurement tools supporting multiple programming languages. 422-430. Paper presented at IEEE 6th International Conference on Software Testing, Verification and Validation, ICST 2013, Luxembourg, Luxembourg. https://doi.org/10.1109/ICST.2013.59