Quantcast
Channel: opencppcoverage Discussions Rss Feed
Viewing all articles
Browse latest Browse all 235

New Post: Cobertura output

$
0
0
Hello,

I noticed that it does conform to the DTD now. However VSTS does not seem to accept it. I have made a script that "fixes" the output of the 0.9.5 version of OpenCppCoverage and that is compatible with VSTS.

The only differences I see between the script-modified version and this new version is the order of the attributes and the fact that your new version puts zeros for the new attributes while my script puts ones in them.

My "fixed" 0.9.5 version:
<coverage line-rate="0.40756464685449634" timestamp="1" version="1" branch-rate="1" branches-valid="1" branches-covered="1" complexity="1" lines-valid="2591" lines-covered="1056">
<package name="D:\a\1\s\cmake\Debug\SharedComponents.Tests.exe" line-rate="0.40756464685449634" complexity="1" branch-rate="1">
<class name="base64_rfc4648.hpp" filename="a\1\s\cppcodecb64decoderencoder\cppcodec\include\base64_rfc4648.hpp" line-rate="0.9285714285714286" complexity="1" branch-rate="1">

0.9.6 version:
<coverage line-rate="0.40772200772200773" branch-rate="0" complexity="0" branches-covered="0" branches-valid="0" timestamp="0" lines-covered="0" lines-valid="0" version="0">
<package name="D:\a\1\s\cmake\Debug\SharedComponents.Tests.exe" line-rate="0.40772200772200773" branch-rate="0" complexity="0">
<class name="base64_rfc4648.hpp" filename="a\1\s\cppcodecb64decoderencoder\cppcodec\include\base64_rfc4648.hpp" line-rate="0.9285714285714286" branch-rate="0" complexity="0">

Viewing all articles
Browse latest Browse all 235

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>