On-Target Code Coverage for all Embedded Targets and MicrocontrollersTestwell CTC++ is the ideal tool for measuring code coverage of embedded software.
Testwell CTC++ Test Coverage Analyser can be used on host as well as for all embedded targets (even very small ones, limited memory, no operating system, ...).
To analyse Code Coverage, Testwell CTC++ uses code instrumentation. Execution counters are added to the source code. This counters measure how many times a part of the source code has been executed and shows the results in different reports.
The overhead on the size and execution speed of the instrumented code is very reasonable. According to our experience within the last decade and the feedback of our customers, Testwell CTC++ is the tool with the lowest instrumentation overhead available in the market.
On-Target Code Coverage with Host-Target Add-onThe Host-Target add-on (HOTA) of Testwell CTC++ allows for cross-compiling of the instrumented code for a target, running tests at the target, getting the coverage data back to the host, and viewing the coverage reports at the host. The cross-compiler can effectively be "whatever". It needs only to run at the host where the basic Testwell CTC++ runs. The target machine architecture and its operating system (if any) can be effectively "whatever".
Host-Target add-on is typically used for targets with having a file system under it and some kilo of available RAM.
Bitcov Add-on for Targets with very limited MemoryIf the available memory on the target is very limited, the Bitcov add-on reduces the instrumentation overhead dramatically allowing the analysis of code coverage on smallest targets. In Bitcov add-on the counters are reduced to 0 (not executed) and 1 (executed) while in normal coverage reports the counter value tells also how many times the code at the probe location was executed.
Bitcov add-on is typically used for targets with having no file system under it and insufficient RAM. Bitcov add-on needs less than 3% of the RAM needed by Host-Target add-on.
Our Testwell CTC++ licenses include all necessary add-ons needed for code coverage measurement of embedded software. Only for software developmen in the non-embedded sector Testwell CTC++ host only can be provided (the package without Host-Target- and Bitcov Add-ons).