Is there possibility to create Cobertura report ? to the static analysis reports ?
Cobertura is a tool to report code coverage from Java code. Its domain is to report coverage of code which was executed. The format of Cobertura reports is therefore designed to represent code coverage information, like class, method, lines covered (executed at runtime), covered branches, and other code coverage-related information. Cobertura reports do not have notion of test results at all, not even unit tests.
Here is an example of Cobertura report for reference:
Even if Cobertura is tailored to Java, it could possibly represent coverage information (and coverage only) from other languages.
However, static analysis is completely different thing from runtime testing, and its results are of different type.
Static analysis results represent information related to standard compliance issues as a result of C++test "reviewing" source code, errors detected by flow analysis, static analysis violation details, and so on. This is all static data, while Cobertura is meant to represent dynamic results.
Therefore, Cobertura report format is not applicable to static analysis domain. We would not be able to use it to represent results and violations reported by C++test static analysis.
Just to clarify:
Do you mean this Cobertura?:
I am asking because Cobertura is Java code coverage tool, so it does not really apply to C/C++, and to static analysis in particular.
Hi @Bogdan Czwartkowski
A lot of tools not related to Java have an option to save there reports in Cobertura xml format. Is there an option to create such xml format .
a lot of plug ins for TFS and Jenkins.
Once we have Cobertura xml , there is a possibility to have interrogation with TFS dashboard.