Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code coverage tools for Symbian C++ and Maemo

What code coverage tools have you used with Symbian C++ and Maemo? What are the pros and cons of the tool you are using?

like image 528
Riussi Avatar asked Sep 30 '09 06:09

Riussi


People also ask

Which tool is used for code coverage?

Cobertura. Cobertura is an open-source tool for measuring code coverage. It does so by instrumenting the byte code.

What is the best updated code coverage tool?

#1) Parasoft JTest Its report provides a good picture of code covered and thereby minimizes risks. Key Features: It is used for Java-based applications. It is a multi-tasking tool which includes Data flow analysis, Unit testing, Static analysis, runtime error detection, code coverage testing etc.

What is code coverage in C++?

The term code coverage is used to describe how much of the source code of a program is executed while testing. There are many different metrics used for code coverage. We'll cover a few of the more useful and popular ones in the following sections.

Which tools can be used for JavaScript test code coverage?

JavaScript. Istanbul: The most famous JS tool for code coverage. Supporting unit tests, server-side functional tests, and browser tests.


2 Answers

On Symbian I've used BullseyeCoverage and Testwell CTC++. Cannot really describe the pros/cons of them in detail. Both got the job done, eventually. Both needed some effort with setup and integration with an automated test suite. Both contained bugs that e.g. crashed the downstream compiler with slightly broken instrumented source code.

On Maemo, since the toolchain is GCC based, I'd guess gcov would be a good starting point. Though I haven't been working on Maemo much yet and haven't done any coverage measurement there.

like image 105
laalto Avatar answered Sep 17 '22 02:09

laalto


See SD C++ Test Coverage for a tool that has extremely low overhead and works very well in embedded environments.

like image 35
Ira Baxter Avatar answered Sep 17 '22 02:09

Ira Baxter