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 language | English |
---|---|
Pages | 422-430 |
Number of pages | 9 |
DOIs | |
Publication status | Published - 2013 Sept 9 |
Event | IEEE 6th International Conference on Software Testing, Verification and Validation, ICST 2013 - Luxembourg, Luxembourg Duration: 2013 May 18 → 2013 May 20 |
Conference
Conference | IEEE 6th International Conference on Software Testing, Verification and Validation, ICST 2013 |
---|---|
Country/Territory | Luxembourg |
City | Luxembourg |
Period | 13/5/18 → 13/5/20 |
Keywords
- fault localization
- framework
- programming languages
- test coverage
- test-suite minimization
ASJC Scopus subject areas
- Software