Where can I find XML Schema for Clover?
I currently have the following converted from gcov:
<clover generated="1342084368.29"> <project name="tool-chain-tests"> <package name="cxx"> <file name="cxx/tests/animal.cpp"> <line num="62" count="4" type="stmt"></line> <line num="64" count="2" type="stmt"></line> <line num="65" count="1" type="stmt"></line> <line num="66" count="1" type="stmt"></line> <line num="67" count="2" type="stmt"></line> <line num="88" count="2" type="stmt"></line> <line num="97" count="2" type="stmt"></line> <line num="98" count="2" type="stmt"></line> <line num="99" count="2" type="stmt"></line> <line num="100" count="2" type="stmt"></line> <line num="109" count="2" type="stmt"></line> <line num="110" count="2" type="stmt"></line> <line num="111" count="2" type="stmt"></line> <line num="120" count="1" type="stmt"></line> <line num="121" count="1" type="stmt"></line> <line num="122" count="1" type="stmt"></line> <line num="131" count="1" type="stmt"></line> <line num="132" count="1" type="stmt"></line> <line num="133" count="1" type="stmt"></line> <line num="134" count="1" type="stmt"></line> <line num="135" count="1" type="stmt"></line> <line num="142" count="3" type="stmt"></line> </file> <file name="cxx/tests/main.cpp"> <line num="49" count="1" type="stmt"></line> <line num="51" count="1" type="stmt"></line> <line num="54" count="1" type="stmt"></line> <line num="55" count="1" type="stmt"></line> <line num="58" count="1" type="stmt"></line> <line num="59" count="1" type="stmt"></line> <line num="62" count="1" type="stmt"></line> <line num="63" count="1" type="stmt"></line> <line num="64" count="1" type="stmt"></line> <line num="67" count="1" type="stmt"></line> <line num="68" count="1" type="stmt"></line> <line num="69" count="0" type="stmt"></line> <line num="73" count="1" type="stmt"></line> <line num="74" count="1" type="stmt"></line> <line num="75" count="1" type="stmt"></line> <line num="76" count="1" type="stmt"></line> <line num="77" count="1" type="stmt"></line> <line num="83" count="1" type="stmt"></line> <line num="85" count="1" type="stmt"></line> <line num="86" count="1" type="stmt"></line> <line num="87" count="1" type="stmt"></line> <line num="88" count="1" type="stmt"></line> <line num="89" count="1" type="stmt"></line> <line num="95" count="1" type="stmt"></line> <line num="97" count="1" type="stmt"></line> <line num="98" count="1" type="stmt"></line> <line num="99" count="1" type="stmt"></line> <line num="100" count="1" type="stmt"></line> <line num="101" count="1" type="stmt"></line> <line num="104" count="1" type="stmt"></line> <line num="107" count="1" type="stmt"></line> <line num="108" count="3" type="stmt"></line> </file> </package> </project> </clover>
But it doesn't work in Bamboo:
Failed to execute plugin 'Clover Results Collector' with error: null
Hi Matt,
An error mentioned by you:
Failed to execute plugin
'Clover Results Collector'
with error: null
<?xml version="1.0" encoding="UTF-8"?> <coverage generated="1336638030827" clover="3.1.5"> <project timestamp="1336638027763"> <metrics classes="0" files="1" packages="1" loc="1000" ncloc="800" coveredstatements="300" statements="500" coveredmethods="50" methods="80" coveredconditionals="100" conditionals="120" coveredelements="900" elements="1000" complexity="0" /> </project> </coverage>
Thanks, Marek - that is a great help. I haven't had time to look over the clover.xsd yet - been fighting fires with the Bamboo 4.1 upgrade!
This will help me along greatly!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt,
1) You can find Clover schema in Clover-for Ant (clover-ant-X.X.X.zip) zip file under /etc/clover.xsd.
2) Please note that Clover is not available on OnDemand. See FAQ entry on confluence and post on answers.atlassian.com.
Regards
Marek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.