Code Coverage Tool
The Code Coverage Tool (CCT) measures C statement coverage in code built as a Real-Time Workshop S-Function. It operates in conjunction with lcc (the C-Compiler that ships with the standard MATLAB installation). CCT inserts instrumentation code into the assembly source generated by lcc during a normal compile. This additional code logs when a line is executed in memory on the PC. When a simulation completes, the line execution counts are sent to the MATLAB base workspace.
A full description of CCT and installation instructions are included in the cct.zip download. See the file readme.html.
Cita come
Mark Walker (2025). Code Coverage Tool (https://it.mathworks.com/matlabcentral/fileexchange/14284-code-coverage-tool), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.5.0.0 | cct_setup so build works when there are spaces in the path.
|
||
| 1.2.0.0 | Compatibility updates with R2008b and R2009a (HTML formatting and data communication with MATLAB workspace). I have added a makefile so that the compiler interceptor executables can now be built by lcc from the supplied sources. |
||
| 1.0.0.0 | Main reason is original submission only worked with R2006a. This version contains an installer to allow CCT to work on R2006a and R2006b. Pre-built files have been added to improve usability also. |
