composer update
This commit is contained in:
365
vendor/codacy/coverage/tests/res/clover/clover.xml
vendored
Normal file
365
vendor/codacy/coverage/tests/res/clover/clover.xml
vendored
Normal file
@@ -0,0 +1,365 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<coverage generated="1424652641">
|
||||
<project timestamp="1424652641">
|
||||
<package name="Codacy\Coverage\Parser">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/Parser.php">
|
||||
<class name="Parser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="15" coveredelements="0"/>
|
||||
</class>
|
||||
<class name="CloverParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="15" elements="36" coveredelements="17"/>
|
||||
</class>
|
||||
<line num="16" type="method" name="makeJson" crap="6" count="0"/>
|
||||
<line num="17" type="stmt" count="0"/>
|
||||
<line num="18" type="stmt" count="0"/>
|
||||
<line num="20" type="stmt" count="0"/>
|
||||
<line num="21" type="stmt" count="0"/>
|
||||
<line num="23" type="stmt" count="0"/>
|
||||
<line num="24" type="stmt" count="0"/>
|
||||
<line num="25" type="stmt" count="0"/>
|
||||
<line num="26" type="stmt" count="0"/>
|
||||
<line num="27" type="stmt" count="0"/>
|
||||
<line num="29" type="stmt" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="32" type="stmt" count="0"/>
|
||||
<line num="33" type="stmt" count="0"/>
|
||||
<line num="43" type="method" name="__construct" crap="2" count="1"/>
|
||||
<line num="44" type="stmt" count="1"/>
|
||||
<line num="45" type="stmt" count="1"/>
|
||||
<line num="47" type="method" name="makeJson" crap="2" count="0"/>
|
||||
<line num="48" type="stmt" count="0"/>
|
||||
<line num="49" type="stmt" count="0"/>
|
||||
<line num="52" type="method" name="makeReport" crap="1" count="1"/>
|
||||
<line num="53" type="stmt" count="1"/>
|
||||
<line num="54" type="stmt" count="1"/>
|
||||
<line num="55" type="stmt" count="1"/>
|
||||
<line num="56" type="stmt" count="1"/>
|
||||
<line num="57" type="stmt" count="1"/>
|
||||
<line num="58" type="stmt" count="1"/>
|
||||
<line num="59" type="stmt" count="1"/>
|
||||
<line num="60" type="stmt" count="1"/>
|
||||
<line num="61" type="stmt" count="1"/>
|
||||
<line num="65" type="method" name="makeFileReports" crap="17.30" count="1"/>
|
||||
<line num="66" type="stmt" count="1"/>
|
||||
<line num="67" type="stmt" count="1"/>
|
||||
<line num="68" type="stmt" count="0"/>
|
||||
<line num="69" type="stmt" count="0"/>
|
||||
<line num="70" type="stmt" count="0"/>
|
||||
<line num="71" type="stmt" count="0"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="0"/>
|
||||
<line num="75" type="stmt" count="0"/>
|
||||
<line num="76" type="stmt" count="0"/>
|
||||
<line num="77" type="stmt" count="0"/>
|
||||
<line num="78" type="stmt" count="0"/>
|
||||
<line num="79" type="stmt" count="0"/>
|
||||
<line num="80" type="stmt" count="0"/>
|
||||
<line num="81" type="stmt" count="0"/>
|
||||
<line num="82" type="stmt" count="0"/>
|
||||
<line num="83" type="stmt" count="1"/>
|
||||
<line num="84" type="stmt" count="1"/>
|
||||
<metrics loc="86" ncloc="66" classes="2" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="15" elements="51" coveredelements="17"/>
|
||||
</file>
|
||||
</package>
|
||||
<package name="Codacy\Coverage\Report">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Report/CoverageReport.php">
|
||||
<class name="CoverageReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="4" elements="8" coveredelements="6"/>
|
||||
</class>
|
||||
<class name="FileReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="11" coveredelements="0"/>
|
||||
</class>
|
||||
<line num="10" type="method" name="__construct" crap="1" count="1"/>
|
||||
<line num="11" type="stmt" count="1"/>
|
||||
<line num="12" type="stmt" count="1"/>
|
||||
<line num="13" type="stmt" count="1"/>
|
||||
<line num="15" type="method" name="getTotal" crap="1" count="1"/>
|
||||
<line num="16" type="stmt" count="1"/>
|
||||
<line num="18" type="method" name="getFileReports" crap="2" count="0"/>
|
||||
<line num="19" type="stmt" count="0"/>
|
||||
<line num="29" type="method" name="__construct" crap="2" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="32" type="stmt" count="0"/>
|
||||
<line num="33" type="stmt" count="0"/>
|
||||
<line num="35" type="method" name="getTotal" crap="2" count="0"/>
|
||||
<line num="36" type="stmt" count="0"/>
|
||||
<line num="38" type="method" name="getFileName" crap="2" count="0"/>
|
||||
<line num="39" type="stmt" count="0"/>
|
||||
<line num="41" type="method" name="getLineCoverage" crap="2" count="0"/>
|
||||
<line num="42" type="stmt" count="0"/>
|
||||
<metrics loc="43" ncloc="39" classes="2" methods="7" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="4" elements="19" coveredelements="6"/>
|
||||
</file>
|
||||
</package>
|
||||
<package name="SebastianBergmann\GlobalState">
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Blacklist.php">
|
||||
<class name="Blacklist" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="1" elements="42" coveredelements="2"/>
|
||||
</class>
|
||||
<line num="90" type="method" name="addGlobalVariable" crap="2" count="0"/>
|
||||
<line num="92" type="stmt" count="0"/>
|
||||
<line num="93" type="stmt" count="0"/>
|
||||
<line num="98" type="method" name="addClass" crap="2" count="0"/>
|
||||
<line num="100" type="stmt" count="0"/>
|
||||
<line num="101" type="stmt" count="0"/>
|
||||
<line num="106" type="method" name="addSubclassesOf" crap="2" count="0"/>
|
||||
<line num="108" type="stmt" count="0"/>
|
||||
<line num="109" type="stmt" count="0"/>
|
||||
<line num="114" type="method" name="addImplementorsOf" crap="2" count="0"/>
|
||||
<line num="116" type="stmt" count="0"/>
|
||||
<line num="117" type="stmt" count="0"/>
|
||||
<line num="122" type="method" name="addClassNamePrefix" crap="2" count="0"/>
|
||||
<line num="124" type="stmt" count="0"/>
|
||||
<line num="125" type="stmt" count="0"/>
|
||||
<line num="131" type="method" name="addStaticAttribute" crap="6" count="0"/>
|
||||
<line num="133" type="stmt" count="0"/>
|
||||
<line num="134" type="stmt" count="0"/>
|
||||
<line num="135" type="stmt" count="0"/>
|
||||
<line num="137" type="stmt" count="0"/>
|
||||
<line num="138" type="stmt" count="0"/>
|
||||
<line num="144" type="method" name="isGlobalVariableBlacklisted" crap="1" count="1"/>
|
||||
<line num="146" type="stmt" count="1"/>
|
||||
<line num="154" type="method" name="isStaticAttributeBlacklisted" crap="90" count="0"/>
|
||||
<line num="156" type="stmt" count="0"/>
|
||||
<line num="157" type="stmt" count="0"/>
|
||||
<line num="160" type="stmt" count="0"/>
|
||||
<line num="161" type="stmt" count="0"/>
|
||||
<line num="162" type="stmt" count="0"/>
|
||||
<line num="164" type="stmt" count="0"/>
|
||||
<line num="166" type="stmt" count="0"/>
|
||||
<line num="168" type="stmt" count="0"/>
|
||||
<line num="169" type="stmt" count="0"/>
|
||||
<line num="170" type="stmt" count="0"/>
|
||||
<line num="172" type="stmt" count="0"/>
|
||||
<line num="174" type="stmt" count="0"/>
|
||||
<line num="175" type="stmt" count="0"/>
|
||||
<line num="176" type="stmt" count="0"/>
|
||||
<line num="178" type="stmt" count="0"/>
|
||||
<line num="180" type="stmt" count="0"/>
|
||||
<line num="181" type="stmt" count="0"/>
|
||||
<line num="184" type="stmt" count="0"/>
|
||||
<metrics loc="186" ncloc="92" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="1" elements="42" coveredelements="2"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Restorer.php">
|
||||
<class name="Restorer" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="32" elements="53" coveredelements="32"/>
|
||||
</class>
|
||||
<line num="64" type="method" name="restoreFunctions" crap="12" count="0"/>
|
||||
<line num="66" type="stmt" count="0"/>
|
||||
<line num="67" type="stmt" count="0"/>
|
||||
<line num="70" type="stmt" count="0"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="0"/>
|
||||
<line num="75" type="stmt" count="0"/>
|
||||
<line num="82" type="method" name="restoreGlobalVariables" crap="7.01" count="1"/>
|
||||
<line num="84" type="stmt" count="1"/>
|
||||
<line num="86" type="stmt" count="1"/>
|
||||
<line num="87" type="stmt" count="1"/>
|
||||
<line num="88" type="stmt" count="1"/>
|
||||
<line num="90" type="stmt" count="1"/>
|
||||
<line num="92" type="stmt" count="1"/>
|
||||
<line num="93" type="stmt" count="1"/>
|
||||
<line num="94" type="stmt" count="1"/>
|
||||
<line num="95" type="stmt" count="1"/>
|
||||
<line num="96" type="stmt" count="1"/>
|
||||
<line num="97" type="stmt" count="1"/>
|
||||
<line num="98" type="stmt" count="1"/>
|
||||
<line num="99" type="stmt" count="0"/>
|
||||
<line num="101" type="stmt" count="1"/>
|
||||
<line num="102" type="stmt" count="1"/>
|
||||
<line num="103" type="stmt" count="1"/>
|
||||
<line num="110" type="method" name="restoreStaticAttributes" crap="12" count="0"/>
|
||||
<line num="112" type="stmt" count="0"/>
|
||||
<line num="113" type="stmt" count="0"/>
|
||||
<line num="114" type="stmt" count="0"/>
|
||||
<line num="115" type="stmt" count="0"/>
|
||||
<line num="116" type="stmt" count="0"/>
|
||||
<line num="117" type="stmt" count="0"/>
|
||||
<line num="118" type="stmt" count="0"/>
|
||||
<line num="119" type="stmt" count="0"/>
|
||||
<line num="127" type="method" name="restoreSuperGlobalArray" crap="6.01" count="1"/>
|
||||
<line num="129" type="stmt" count="1"/>
|
||||
<line num="131" type="stmt" count="1"/>
|
||||
<line num="132" type="stmt" count="1"/>
|
||||
<line num="133" type="stmt" count="1"/>
|
||||
<line num="134" type="stmt" count="1"/>
|
||||
<line num="135" type="stmt" count="1"/>
|
||||
<line num="136" type="stmt" count="1"/>
|
||||
<line num="137" type="stmt" count="1"/>
|
||||
<line num="138" type="stmt" count="1"/>
|
||||
<line num="139" type="stmt" count="1"/>
|
||||
<line num="141" type="stmt" count="1"/>
|
||||
<line num="142" type="stmt" count="1"/>
|
||||
<line num="143" type="stmt" count="1"/>
|
||||
<line num="144" type="stmt" count="1"/>
|
||||
<line num="145" type="stmt" count="0"/>
|
||||
<line num="147" type="stmt" count="1"/>
|
||||
<line num="148" type="stmt" count="1"/>
|
||||
<line num="149" type="stmt" count="1"/>
|
||||
<metrics loc="150" ncloc="79" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="32" elements="53" coveredelements="32"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Snapshot.php">
|
||||
<class name="Snapshot" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="22" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="130" coveredstatements="52" elements="152" coveredelements="59"/>
|
||||
</class>
|
||||
<line num="132" type="method" name="__construct" crap="28.41" count="1"/>
|
||||
<line num="134" type="stmt" count="1"/>
|
||||
<line num="135" type="stmt" count="0"/>
|
||||
<line num="136" type="stmt" count="0"/>
|
||||
<line num="138" type="stmt" count="1"/>
|
||||
<line num="140" type="stmt" count="1"/>
|
||||
<line num="141" type="stmt" count="0"/>
|
||||
<line num="142" type="stmt" count="0"/>
|
||||
<line num="144" type="stmt" count="1"/>
|
||||
<line num="145" type="stmt" count="0"/>
|
||||
<line num="146" type="stmt" count="0"/>
|
||||
<line num="148" type="stmt" count="1"/>
|
||||
<line num="149" type="stmt" count="0"/>
|
||||
<line num="150" type="stmt" count="0"/>
|
||||
<line num="152" type="stmt" count="1"/>
|
||||
<line num="153" type="stmt" count="0"/>
|
||||
<line num="154" type="stmt" count="0"/>
|
||||
<line num="156" type="stmt" count="1"/>
|
||||
<line num="157" type="stmt" count="1"/>
|
||||
<line num="158" type="stmt" count="1"/>
|
||||
<line num="159" type="stmt" count="1"/>
|
||||
<line num="161" type="stmt" count="1"/>
|
||||
<line num="162" type="stmt" count="0"/>
|
||||
<line num="163" type="stmt" count="0"/>
|
||||
<line num="165" type="stmt" count="1"/>
|
||||
<line num="166" type="stmt" count="0"/>
|
||||
<line num="167" type="stmt" count="0"/>
|
||||
<line num="169" type="stmt" count="1"/>
|
||||
<line num="170" type="stmt" count="0"/>
|
||||
<line num="171" type="stmt" count="0"/>
|
||||
<line num="173" type="stmt" count="1"/>
|
||||
<line num="174" type="stmt" count="1"/>
|
||||
<line num="175" type="stmt" count="1"/>
|
||||
<line num="176" type="stmt" count="1"/>
|
||||
<line num="181" type="method" name="blacklist" crap="1" count="1"/>
|
||||
<line num="183" type="stmt" count="1"/>
|
||||
<line num="189" type="method" name="globalVariables" crap="1" count="1"/>
|
||||
<line num="191" type="stmt" count="1"/>
|
||||
<line num="197" type="method" name="superGlobalVariables" crap="1" count="1"/>
|
||||
<line num="199" type="stmt" count="1"/>
|
||||
<line num="207" type="method" name="superGlobalArrays" crap="1" count="1"/>
|
||||
<line num="209" type="stmt" count="1"/>
|
||||
<line num="215" type="method" name="staticAttributes" crap="2" count="0"/>
|
||||
<line num="217" type="stmt" count="0"/>
|
||||
<line num="223" type="method" name="iniSettings" crap="2" count="0"/>
|
||||
<line num="225" type="stmt" count="0"/>
|
||||
<line num="231" type="method" name="includedFiles" crap="2" count="0"/>
|
||||
<line num="233" type="stmt" count="0"/>
|
||||
<line num="239" type="method" name="constants" crap="2" count="0"/>
|
||||
<line num="241" type="stmt" count="0"/>
|
||||
<line num="247" type="method" name="functions" crap="2" count="0"/>
|
||||
<line num="249" type="stmt" count="0"/>
|
||||
<line num="255" type="method" name="interfaces" crap="2" count="0"/>
|
||||
<line num="257" type="stmt" count="0"/>
|
||||
<line num="263" type="method" name="classes" crap="2" count="0"/>
|
||||
<line num="265" type="stmt" count="0"/>
|
||||
<line num="271" type="method" name="traits" crap="2" count="0"/>
|
||||
<line num="273" type="stmt" count="0"/>
|
||||
<line num="279" type="method" name="snapshotConstants" crap="6" count="0"/>
|
||||
<line num="281" type="stmt" count="0"/>
|
||||
<line num="283" type="stmt" count="0"/>
|
||||
<line num="284" type="stmt" count="0"/>
|
||||
<line num="285" type="stmt" count="0"/>
|
||||
<line num="286" type="stmt" count="0"/>
|
||||
<line num="291" type="method" name="snapshotFunctions" crap="2" count="0"/>
|
||||
<line num="293" type="stmt" count="0"/>
|
||||
<line num="295" type="stmt" count="0"/>
|
||||
<line num="296" type="stmt" count="0"/>
|
||||
<line num="301" type="method" name="snapshotClasses" crap="12" count="0"/>
|
||||
<line num="303" type="stmt" count="0"/>
|
||||
<line num="304" type="stmt" count="0"/>
|
||||
<line num="306" type="stmt" count="0"/>
|
||||
<line num="307" type="stmt" count="0"/>
|
||||
<line num="310" type="stmt" count="0"/>
|
||||
<line num="311" type="stmt" count="0"/>
|
||||
<line num="313" type="stmt" count="0"/>
|
||||
<line num="314" type="stmt" count="0"/>
|
||||
<line num="319" type="method" name="snapshotInterfaces" crap="12" count="0"/>
|
||||
<line num="321" type="stmt" count="0"/>
|
||||
<line num="322" type="stmt" count="0"/>
|
||||
<line num="324" type="stmt" count="0"/>
|
||||
<line num="325" type="stmt" count="0"/>
|
||||
<line num="328" type="stmt" count="0"/>
|
||||
<line num="329" type="stmt" count="0"/>
|
||||
<line num="331" type="stmt" count="0"/>
|
||||
<line num="332" type="stmt" count="0"/>
|
||||
<line num="337" type="method" name="snapshotGlobals" crap="7" count="1"/>
|
||||
<line num="339" type="stmt" count="1"/>
|
||||
<line num="341" type="stmt" count="1"/>
|
||||
<line num="342" type="stmt" count="1"/>
|
||||
<line num="343" type="stmt" count="1"/>
|
||||
<line num="345" type="stmt" count="1"/>
|
||||
<line num="346" type="stmt" count="1"/>
|
||||
<line num="347" type="stmt" count="1"/>
|
||||
<line num="348" type="stmt" count="1"/>
|
||||
<line num="349" type="stmt" count="1"/>
|
||||
<line num="350" type="stmt" count="1"/>
|
||||
<line num="351" type="stmt" count="1"/>
|
||||
<line num="352" type="stmt" count="1"/>
|
||||
<line num="353" type="stmt" count="1"/>
|
||||
<line num="360" type="method" name="snapshotSuperGlobalArray" crap="4" count="1"/>
|
||||
<line num="362" type="stmt" count="1"/>
|
||||
<line num="364" type="stmt" count="1"/>
|
||||
<line num="365" type="stmt" count="1"/>
|
||||
<line num="366" type="stmt" count="1"/>
|
||||
<line num="367" type="stmt" count="1"/>
|
||||
<line num="368" type="stmt" count="1"/>
|
||||
<line num="369" type="stmt" count="1"/>
|
||||
<line num="374" type="method" name="snapshotStaticAttributes" crap="56" count="0"/>
|
||||
<line num="376" type="stmt" count="0"/>
|
||||
<line num="377" type="stmt" count="0"/>
|
||||
<line num="378" type="stmt" count="0"/>
|
||||
<line num="380" type="stmt" count="0"/>
|
||||
<line num="381" type="stmt" count="0"/>
|
||||
<line num="382" type="stmt" count="0"/>
|
||||
<line num="384" type="stmt" count="0"/>
|
||||
<line num="385" type="stmt" count="0"/>
|
||||
<line num="388" type="stmt" count="0"/>
|
||||
<line num="389" type="stmt" count="0"/>
|
||||
<line num="391" type="stmt" count="0"/>
|
||||
<line num="392" type="stmt" count="0"/>
|
||||
<line num="393" type="stmt" count="0"/>
|
||||
<line num="394" type="stmt" count="0"/>
|
||||
<line num="395" type="stmt" count="0"/>
|
||||
<line num="397" type="stmt" count="0"/>
|
||||
<line num="398" type="stmt" count="0"/>
|
||||
<line num="399" type="stmt" count="0"/>
|
||||
<line num="400" type="stmt" count="0"/>
|
||||
<line num="401" type="stmt" count="0"/>
|
||||
<line num="408" type="method" name="setupSuperGlobalArrays" crap="2.50" count="1"/>
|
||||
<line num="410" type="stmt" count="1"/>
|
||||
<line num="411" type="stmt" count="1"/>
|
||||
<line num="412" type="stmt" count="1"/>
|
||||
<line num="413" type="stmt" count="1"/>
|
||||
<line num="414" type="stmt" count="1"/>
|
||||
<line num="415" type="stmt" count="1"/>
|
||||
<line num="416" type="stmt" count="1"/>
|
||||
<line num="418" type="stmt" count="1"/>
|
||||
<line num="420" type="stmt" count="1"/>
|
||||
<line num="421" type="stmt" count="0"/>
|
||||
<line num="422" type="stmt" count="0"/>
|
||||
<line num="424" type="stmt" count="0"/>
|
||||
<line num="425" type="stmt" count="0"/>
|
||||
<line num="426" type="stmt" count="0"/>
|
||||
<line num="427" type="stmt" count="0"/>
|
||||
<line num="428" type="stmt" count="0"/>
|
||||
<line num="430" type="stmt" count="0"/>
|
||||
<line num="431" type="stmt" count="0"/>
|
||||
<line num="432" type="stmt" count="0"/>
|
||||
<line num="433" type="stmt" count="1"/>
|
||||
<line num="440" type="method" name="canBeSerialized" crap="1" count="1"/>
|
||||
<line num="441" type="stmt" count="1"/>
|
||||
<metrics loc="443" ncloc="274" classes="1" methods="22" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="130" coveredstatements="52" elements="152" coveredelements="59"/>
|
||||
</file>
|
||||
</package>
|
||||
<metrics files="5" loc="908" ncloc="550" classes="7" methods="46" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="271" coveredstatements="104" elements="317" coveredelements="116"/>
|
||||
</project>
|
||||
</coverage>
|
359
vendor/codacy/coverage/tests/res/clover/clover_without_packages.xml
vendored
Normal file
359
vendor/codacy/coverage/tests/res/clover/clover_without_packages.xml
vendored
Normal file
@@ -0,0 +1,359 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<coverage generated="1424652641">
|
||||
<project timestamp="1424652641">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/Parser.php">
|
||||
<class name="Parser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="15" coveredelements="0"/>
|
||||
</class>
|
||||
<class name="CloverParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="4" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="15" elements="36" coveredelements="17"/>
|
||||
</class>
|
||||
<line num="16" type="method" name="makeJson" crap="6" count="0"/>
|
||||
<line num="17" type="stmt" count="0"/>
|
||||
<line num="18" type="stmt" count="0"/>
|
||||
<line num="20" type="stmt" count="0"/>
|
||||
<line num="21" type="stmt" count="0"/>
|
||||
<line num="23" type="stmt" count="0"/>
|
||||
<line num="24" type="stmt" count="0"/>
|
||||
<line num="25" type="stmt" count="0"/>
|
||||
<line num="26" type="stmt" count="0"/>
|
||||
<line num="27" type="stmt" count="0"/>
|
||||
<line num="29" type="stmt" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="32" type="stmt" count="0"/>
|
||||
<line num="33" type="stmt" count="0"/>
|
||||
<line num="43" type="method" name="__construct" crap="2" count="1"/>
|
||||
<line num="44" type="stmt" count="1"/>
|
||||
<line num="45" type="stmt" count="1"/>
|
||||
<line num="47" type="method" name="makeJson" crap="2" count="0"/>
|
||||
<line num="48" type="stmt" count="0"/>
|
||||
<line num="49" type="stmt" count="0"/>
|
||||
<line num="52" type="method" name="makeReport" crap="1" count="1"/>
|
||||
<line num="53" type="stmt" count="1"/>
|
||||
<line num="54" type="stmt" count="1"/>
|
||||
<line num="55" type="stmt" count="1"/>
|
||||
<line num="56" type="stmt" count="1"/>
|
||||
<line num="57" type="stmt" count="1"/>
|
||||
<line num="58" type="stmt" count="1"/>
|
||||
<line num="59" type="stmt" count="1"/>
|
||||
<line num="60" type="stmt" count="1"/>
|
||||
<line num="61" type="stmt" count="1"/>
|
||||
<line num="65" type="method" name="makeFileReports" crap="17.30" count="1"/>
|
||||
<line num="66" type="stmt" count="1"/>
|
||||
<line num="67" type="stmt" count="1"/>
|
||||
<line num="68" type="stmt" count="0"/>
|
||||
<line num="69" type="stmt" count="0"/>
|
||||
<line num="70" type="stmt" count="0"/>
|
||||
<line num="71" type="stmt" count="0"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="0"/>
|
||||
<line num="75" type="stmt" count="0"/>
|
||||
<line num="76" type="stmt" count="0"/>
|
||||
<line num="77" type="stmt" count="0"/>
|
||||
<line num="78" type="stmt" count="0"/>
|
||||
<line num="79" type="stmt" count="0"/>
|
||||
<line num="80" type="stmt" count="0"/>
|
||||
<line num="81" type="stmt" count="0"/>
|
||||
<line num="82" type="stmt" count="0"/>
|
||||
<line num="83" type="stmt" count="1"/>
|
||||
<line num="84" type="stmt" count="1"/>
|
||||
<metrics loc="86" ncloc="66" classes="2" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="15" elements="51" coveredelements="17"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Report/CoverageReport.php">
|
||||
<class name="CoverageReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="4" elements="8" coveredelements="6"/>
|
||||
</class>
|
||||
<class name="FileReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="11" coveredelements="0"/>
|
||||
</class>
|
||||
<line num="10" type="method" name="__construct" crap="1" count="1"/>
|
||||
<line num="11" type="stmt" count="1"/>
|
||||
<line num="12" type="stmt" count="1"/>
|
||||
<line num="13" type="stmt" count="1"/>
|
||||
<line num="15" type="method" name="getTotal" crap="1" count="1"/>
|
||||
<line num="16" type="stmt" count="1"/>
|
||||
<line num="18" type="method" name="getFileReports" crap="2" count="0"/>
|
||||
<line num="19" type="stmt" count="0"/>
|
||||
<line num="29" type="method" name="__construct" crap="2" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="32" type="stmt" count="0"/>
|
||||
<line num="33" type="stmt" count="0"/>
|
||||
<line num="35" type="method" name="getTotal" crap="2" count="0"/>
|
||||
<line num="36" type="stmt" count="0"/>
|
||||
<line num="38" type="method" name="getFileName" crap="2" count="0"/>
|
||||
<line num="39" type="stmt" count="0"/>
|
||||
<line num="41" type="method" name="getLineCoverage" crap="2" count="0"/>
|
||||
<line num="42" type="stmt" count="0"/>
|
||||
<metrics loc="43" ncloc="39" classes="2" methods="7" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="4" elements="19" coveredelements="6"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Blacklist.php">
|
||||
<class name="Blacklist" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="1" elements="42" coveredelements="2"/>
|
||||
</class>
|
||||
<line num="90" type="method" name="addGlobalVariable" crap="2" count="0"/>
|
||||
<line num="92" type="stmt" count="0"/>
|
||||
<line num="93" type="stmt" count="0"/>
|
||||
<line num="98" type="method" name="addClass" crap="2" count="0"/>
|
||||
<line num="100" type="stmt" count="0"/>
|
||||
<line num="101" type="stmt" count="0"/>
|
||||
<line num="106" type="method" name="addSubclassesOf" crap="2" count="0"/>
|
||||
<line num="108" type="stmt" count="0"/>
|
||||
<line num="109" type="stmt" count="0"/>
|
||||
<line num="114" type="method" name="addImplementorsOf" crap="2" count="0"/>
|
||||
<line num="116" type="stmt" count="0"/>
|
||||
<line num="117" type="stmt" count="0"/>
|
||||
<line num="122" type="method" name="addClassNamePrefix" crap="2" count="0"/>
|
||||
<line num="124" type="stmt" count="0"/>
|
||||
<line num="125" type="stmt" count="0"/>
|
||||
<line num="131" type="method" name="addStaticAttribute" crap="6" count="0"/>
|
||||
<line num="133" type="stmt" count="0"/>
|
||||
<line num="134" type="stmt" count="0"/>
|
||||
<line num="135" type="stmt" count="0"/>
|
||||
<line num="137" type="stmt" count="0"/>
|
||||
<line num="138" type="stmt" count="0"/>
|
||||
<line num="144" type="method" name="isGlobalVariableBlacklisted" crap="1" count="1"/>
|
||||
<line num="146" type="stmt" count="1"/>
|
||||
<line num="154" type="method" name="isStaticAttributeBlacklisted" crap="90" count="0"/>
|
||||
<line num="156" type="stmt" count="0"/>
|
||||
<line num="157" type="stmt" count="0"/>
|
||||
<line num="160" type="stmt" count="0"/>
|
||||
<line num="161" type="stmt" count="0"/>
|
||||
<line num="162" type="stmt" count="0"/>
|
||||
<line num="164" type="stmt" count="0"/>
|
||||
<line num="166" type="stmt" count="0"/>
|
||||
<line num="168" type="stmt" count="0"/>
|
||||
<line num="169" type="stmt" count="0"/>
|
||||
<line num="170" type="stmt" count="0"/>
|
||||
<line num="172" type="stmt" count="0"/>
|
||||
<line num="174" type="stmt" count="0"/>
|
||||
<line num="175" type="stmt" count="0"/>
|
||||
<line num="176" type="stmt" count="0"/>
|
||||
<line num="178" type="stmt" count="0"/>
|
||||
<line num="180" type="stmt" count="0"/>
|
||||
<line num="181" type="stmt" count="0"/>
|
||||
<line num="184" type="stmt" count="0"/>
|
||||
<metrics loc="186" ncloc="92" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="34" coveredstatements="1" elements="42" coveredelements="2"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Restorer.php">
|
||||
<class name="Restorer" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="32" elements="53" coveredelements="32"/>
|
||||
</class>
|
||||
<line num="64" type="method" name="restoreFunctions" crap="12" count="0"/>
|
||||
<line num="66" type="stmt" count="0"/>
|
||||
<line num="67" type="stmt" count="0"/>
|
||||
<line num="70" type="stmt" count="0"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="0"/>
|
||||
<line num="75" type="stmt" count="0"/>
|
||||
<line num="82" type="method" name="restoreGlobalVariables" crap="7.01" count="1"/>
|
||||
<line num="84" type="stmt" count="1"/>
|
||||
<line num="86" type="stmt" count="1"/>
|
||||
<line num="87" type="stmt" count="1"/>
|
||||
<line num="88" type="stmt" count="1"/>
|
||||
<line num="90" type="stmt" count="1"/>
|
||||
<line num="92" type="stmt" count="1"/>
|
||||
<line num="93" type="stmt" count="1"/>
|
||||
<line num="94" type="stmt" count="1"/>
|
||||
<line num="95" type="stmt" count="1"/>
|
||||
<line num="96" type="stmt" count="1"/>
|
||||
<line num="97" type="stmt" count="1"/>
|
||||
<line num="98" type="stmt" count="1"/>
|
||||
<line num="99" type="stmt" count="0"/>
|
||||
<line num="101" type="stmt" count="1"/>
|
||||
<line num="102" type="stmt" count="1"/>
|
||||
<line num="103" type="stmt" count="1"/>
|
||||
<line num="110" type="method" name="restoreStaticAttributes" crap="12" count="0"/>
|
||||
<line num="112" type="stmt" count="0"/>
|
||||
<line num="113" type="stmt" count="0"/>
|
||||
<line num="114" type="stmt" count="0"/>
|
||||
<line num="115" type="stmt" count="0"/>
|
||||
<line num="116" type="stmt" count="0"/>
|
||||
<line num="117" type="stmt" count="0"/>
|
||||
<line num="118" type="stmt" count="0"/>
|
||||
<line num="119" type="stmt" count="0"/>
|
||||
<line num="127" type="method" name="restoreSuperGlobalArray" crap="6.01" count="1"/>
|
||||
<line num="129" type="stmt" count="1"/>
|
||||
<line num="131" type="stmt" count="1"/>
|
||||
<line num="132" type="stmt" count="1"/>
|
||||
<line num="133" type="stmt" count="1"/>
|
||||
<line num="134" type="stmt" count="1"/>
|
||||
<line num="135" type="stmt" count="1"/>
|
||||
<line num="136" type="stmt" count="1"/>
|
||||
<line num="137" type="stmt" count="1"/>
|
||||
<line num="138" type="stmt" count="1"/>
|
||||
<line num="139" type="stmt" count="1"/>
|
||||
<line num="141" type="stmt" count="1"/>
|
||||
<line num="142" type="stmt" count="1"/>
|
||||
<line num="143" type="stmt" count="1"/>
|
||||
<line num="144" type="stmt" count="1"/>
|
||||
<line num="145" type="stmt" count="0"/>
|
||||
<line num="147" type="stmt" count="1"/>
|
||||
<line num="148" type="stmt" count="1"/>
|
||||
<line num="149" type="stmt" count="1"/>
|
||||
<metrics loc="150" ncloc="79" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="32" elements="53" coveredelements="32"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/vendor/sebastian/global-state/src/Snapshot.php">
|
||||
<class name="Snapshot" namespace="SebastianBergmann\GlobalState">
|
||||
<metrics methods="22" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="130" coveredstatements="52" elements="152" coveredelements="59"/>
|
||||
</class>
|
||||
<line num="132" type="method" name="__construct" crap="28.41" count="1"/>
|
||||
<line num="134" type="stmt" count="1"/>
|
||||
<line num="135" type="stmt" count="0"/>
|
||||
<line num="136" type="stmt" count="0"/>
|
||||
<line num="138" type="stmt" count="1"/>
|
||||
<line num="140" type="stmt" count="1"/>
|
||||
<line num="141" type="stmt" count="0"/>
|
||||
<line num="142" type="stmt" count="0"/>
|
||||
<line num="144" type="stmt" count="1"/>
|
||||
<line num="145" type="stmt" count="0"/>
|
||||
<line num="146" type="stmt" count="0"/>
|
||||
<line num="148" type="stmt" count="1"/>
|
||||
<line num="149" type="stmt" count="0"/>
|
||||
<line num="150" type="stmt" count="0"/>
|
||||
<line num="152" type="stmt" count="1"/>
|
||||
<line num="153" type="stmt" count="0"/>
|
||||
<line num="154" type="stmt" count="0"/>
|
||||
<line num="156" type="stmt" count="1"/>
|
||||
<line num="157" type="stmt" count="1"/>
|
||||
<line num="158" type="stmt" count="1"/>
|
||||
<line num="159" type="stmt" count="1"/>
|
||||
<line num="161" type="stmt" count="1"/>
|
||||
<line num="162" type="stmt" count="0"/>
|
||||
<line num="163" type="stmt" count="0"/>
|
||||
<line num="165" type="stmt" count="1"/>
|
||||
<line num="166" type="stmt" count="0"/>
|
||||
<line num="167" type="stmt" count="0"/>
|
||||
<line num="169" type="stmt" count="1"/>
|
||||
<line num="170" type="stmt" count="0"/>
|
||||
<line num="171" type="stmt" count="0"/>
|
||||
<line num="173" type="stmt" count="1"/>
|
||||
<line num="174" type="stmt" count="1"/>
|
||||
<line num="175" type="stmt" count="1"/>
|
||||
<line num="176" type="stmt" count="1"/>
|
||||
<line num="181" type="method" name="blacklist" crap="1" count="1"/>
|
||||
<line num="183" type="stmt" count="1"/>
|
||||
<line num="189" type="method" name="globalVariables" crap="1" count="1"/>
|
||||
<line num="191" type="stmt" count="1"/>
|
||||
<line num="197" type="method" name="superGlobalVariables" crap="1" count="1"/>
|
||||
<line num="199" type="stmt" count="1"/>
|
||||
<line num="207" type="method" name="superGlobalArrays" crap="1" count="1"/>
|
||||
<line num="209" type="stmt" count="1"/>
|
||||
<line num="215" type="method" name="staticAttributes" crap="2" count="0"/>
|
||||
<line num="217" type="stmt" count="0"/>
|
||||
<line num="223" type="method" name="iniSettings" crap="2" count="0"/>
|
||||
<line num="225" type="stmt" count="0"/>
|
||||
<line num="231" type="method" name="includedFiles" crap="2" count="0"/>
|
||||
<line num="233" type="stmt" count="0"/>
|
||||
<line num="239" type="method" name="constants" crap="2" count="0"/>
|
||||
<line num="241" type="stmt" count="0"/>
|
||||
<line num="247" type="method" name="functions" crap="2" count="0"/>
|
||||
<line num="249" type="stmt" count="0"/>
|
||||
<line num="255" type="method" name="interfaces" crap="2" count="0"/>
|
||||
<line num="257" type="stmt" count="0"/>
|
||||
<line num="263" type="method" name="classes" crap="2" count="0"/>
|
||||
<line num="265" type="stmt" count="0"/>
|
||||
<line num="271" type="method" name="traits" crap="2" count="0"/>
|
||||
<line num="273" type="stmt" count="0"/>
|
||||
<line num="279" type="method" name="snapshotConstants" crap="6" count="0"/>
|
||||
<line num="281" type="stmt" count="0"/>
|
||||
<line num="283" type="stmt" count="0"/>
|
||||
<line num="284" type="stmt" count="0"/>
|
||||
<line num="285" type="stmt" count="0"/>
|
||||
<line num="286" type="stmt" count="0"/>
|
||||
<line num="291" type="method" name="snapshotFunctions" crap="2" count="0"/>
|
||||
<line num="293" type="stmt" count="0"/>
|
||||
<line num="295" type="stmt" count="0"/>
|
||||
<line num="296" type="stmt" count="0"/>
|
||||
<line num="301" type="method" name="snapshotClasses" crap="12" count="0"/>
|
||||
<line num="303" type="stmt" count="0"/>
|
||||
<line num="304" type="stmt" count="0"/>
|
||||
<line num="306" type="stmt" count="0"/>
|
||||
<line num="307" type="stmt" count="0"/>
|
||||
<line num="310" type="stmt" count="0"/>
|
||||
<line num="311" type="stmt" count="0"/>
|
||||
<line num="313" type="stmt" count="0"/>
|
||||
<line num="314" type="stmt" count="0"/>
|
||||
<line num="319" type="method" name="snapshotInterfaces" crap="12" count="0"/>
|
||||
<line num="321" type="stmt" count="0"/>
|
||||
<line num="322" type="stmt" count="0"/>
|
||||
<line num="324" type="stmt" count="0"/>
|
||||
<line num="325" type="stmt" count="0"/>
|
||||
<line num="328" type="stmt" count="0"/>
|
||||
<line num="329" type="stmt" count="0"/>
|
||||
<line num="331" type="stmt" count="0"/>
|
||||
<line num="332" type="stmt" count="0"/>
|
||||
<line num="337" type="method" name="snapshotGlobals" crap="7" count="1"/>
|
||||
<line num="339" type="stmt" count="1"/>
|
||||
<line num="341" type="stmt" count="1"/>
|
||||
<line num="342" type="stmt" count="1"/>
|
||||
<line num="343" type="stmt" count="1"/>
|
||||
<line num="345" type="stmt" count="1"/>
|
||||
<line num="346" type="stmt" count="1"/>
|
||||
<line num="347" type="stmt" count="1"/>
|
||||
<line num="348" type="stmt" count="1"/>
|
||||
<line num="349" type="stmt" count="1"/>
|
||||
<line num="350" type="stmt" count="1"/>
|
||||
<line num="351" type="stmt" count="1"/>
|
||||
<line num="352" type="stmt" count="1"/>
|
||||
<line num="353" type="stmt" count="1"/>
|
||||
<line num="360" type="method" name="snapshotSuperGlobalArray" crap="4" count="1"/>
|
||||
<line num="362" type="stmt" count="1"/>
|
||||
<line num="364" type="stmt" count="1"/>
|
||||
<line num="365" type="stmt" count="1"/>
|
||||
<line num="366" type="stmt" count="1"/>
|
||||
<line num="367" type="stmt" count="1"/>
|
||||
<line num="368" type="stmt" count="1"/>
|
||||
<line num="369" type="stmt" count="1"/>
|
||||
<line num="374" type="method" name="snapshotStaticAttributes" crap="56" count="0"/>
|
||||
<line num="376" type="stmt" count="0"/>
|
||||
<line num="377" type="stmt" count="0"/>
|
||||
<line num="378" type="stmt" count="0"/>
|
||||
<line num="380" type="stmt" count="0"/>
|
||||
<line num="381" type="stmt" count="0"/>
|
||||
<line num="382" type="stmt" count="0"/>
|
||||
<line num="384" type="stmt" count="0"/>
|
||||
<line num="385" type="stmt" count="0"/>
|
||||
<line num="388" type="stmt" count="0"/>
|
||||
<line num="389" type="stmt" count="0"/>
|
||||
<line num="391" type="stmt" count="0"/>
|
||||
<line num="392" type="stmt" count="0"/>
|
||||
<line num="393" type="stmt" count="0"/>
|
||||
<line num="394" type="stmt" count="0"/>
|
||||
<line num="395" type="stmt" count="0"/>
|
||||
<line num="397" type="stmt" count="0"/>
|
||||
<line num="398" type="stmt" count="0"/>
|
||||
<line num="399" type="stmt" count="0"/>
|
||||
<line num="400" type="stmt" count="0"/>
|
||||
<line num="401" type="stmt" count="0"/>
|
||||
<line num="408" type="method" name="setupSuperGlobalArrays" crap="2.50" count="1"/>
|
||||
<line num="410" type="stmt" count="1"/>
|
||||
<line num="411" type="stmt" count="1"/>
|
||||
<line num="412" type="stmt" count="1"/>
|
||||
<line num="413" type="stmt" count="1"/>
|
||||
<line num="414" type="stmt" count="1"/>
|
||||
<line num="415" type="stmt" count="1"/>
|
||||
<line num="416" type="stmt" count="1"/>
|
||||
<line num="418" type="stmt" count="1"/>
|
||||
<line num="420" type="stmt" count="1"/>
|
||||
<line num="421" type="stmt" count="0"/>
|
||||
<line num="422" type="stmt" count="0"/>
|
||||
<line num="424" type="stmt" count="0"/>
|
||||
<line num="425" type="stmt" count="0"/>
|
||||
<line num="426" type="stmt" count="0"/>
|
||||
<line num="427" type="stmt" count="0"/>
|
||||
<line num="428" type="stmt" count="0"/>
|
||||
<line num="430" type="stmt" count="0"/>
|
||||
<line num="431" type="stmt" count="0"/>
|
||||
<line num="432" type="stmt" count="0"/>
|
||||
<line num="433" type="stmt" count="1"/>
|
||||
<line num="440" type="method" name="canBeSerialized" crap="1" count="1"/>
|
||||
<line num="441" type="stmt" count="1"/>
|
||||
<metrics loc="443" ncloc="274" classes="1" methods="22" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="130" coveredstatements="52" elements="152" coveredelements="59"/>
|
||||
</file>
|
||||
<metrics files="5" loc="908" ncloc="550" classes="7" methods="46" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="271" coveredstatements="104" elements="317" coveredelements="116"/>
|
||||
</project>
|
||||
</coverage>
|
187
vendor/codacy/coverage/tests/res/expected.json
vendored
Normal file
187
vendor/codacy/coverage/tests/res/expected.json
vendored
Normal file
@@ -0,0 +1,187 @@
|
||||
{
|
||||
"total": 94,
|
||||
"fileReports": [
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Parser/CloverParser.php",
|
||||
"total": 96,
|
||||
"coverage": {
|
||||
"24": 3,
|
||||
"25": 3,
|
||||
"26": 3,
|
||||
"27": 3,
|
||||
"28": 3,
|
||||
"29": 3,
|
||||
"30": 3,
|
||||
"31": 3,
|
||||
"43": 3,
|
||||
"49": 3,
|
||||
"51": 1,
|
||||
"52": 1,
|
||||
"53": 3,
|
||||
"54": 2,
|
||||
"55": 2,
|
||||
"56": 3,
|
||||
"67": 3,
|
||||
"69": 3,
|
||||
"70": 3,
|
||||
"71": 3,
|
||||
"72": 0,
|
||||
"73": 0,
|
||||
"74": 3,
|
||||
"76": 3,
|
||||
"77": 3,
|
||||
"78": 3,
|
||||
"79": 3,
|
||||
"80": 3,
|
||||
"81": 3,
|
||||
"93": 2,
|
||||
"94": 2,
|
||||
"95": 2,
|
||||
"96": 2,
|
||||
"107": 3,
|
||||
"108": 3,
|
||||
"109": 3,
|
||||
"111": 3,
|
||||
"112": 3,
|
||||
"113": 3,
|
||||
"114": 3,
|
||||
"115": 3,
|
||||
"116": 3,
|
||||
"117": 3,
|
||||
"129": 3,
|
||||
"130": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Parser/Parser.php",
|
||||
"total": 100,
|
||||
"coverage": {
|
||||
"42": 6,
|
||||
"43": 4,
|
||||
"44": 1,
|
||||
"45": 1,
|
||||
"46": 3,
|
||||
"48": 4,
|
||||
"49": 4,
|
||||
"50": 2,
|
||||
"52": 2,
|
||||
"53": 2,
|
||||
"55": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Parser/PhpUnitXmlParser.php",
|
||||
"total": 93,
|
||||
"coverage": {
|
||||
"33": 2,
|
||||
"34": 2,
|
||||
"40": 2,
|
||||
"46": 2,
|
||||
"48": 2,
|
||||
"49": 2,
|
||||
"50": 2,
|
||||
"51": 2,
|
||||
"53": 2,
|
||||
"54": 2,
|
||||
"56": 2,
|
||||
"57": 2,
|
||||
"58": 2,
|
||||
"59": 0,
|
||||
"60": 0,
|
||||
"61": 0,
|
||||
"64": 2,
|
||||
"65": 2,
|
||||
"66": 2,
|
||||
"67": 2,
|
||||
"68": 2,
|
||||
"69": 2,
|
||||
"79": 2,
|
||||
"80": 2,
|
||||
"81": 2,
|
||||
"82": 2,
|
||||
"83": 2,
|
||||
"84": 2,
|
||||
"85": 2,
|
||||
"86": 2,
|
||||
"87": 2,
|
||||
"88": 2,
|
||||
"90": 2,
|
||||
"100": 2,
|
||||
"101": 2,
|
||||
"102": 2,
|
||||
"115": 2,
|
||||
"116": 2,
|
||||
"118": 2,
|
||||
"120": 2,
|
||||
"121": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Report/CoverageReport.php",
|
||||
"total": 100,
|
||||
"coverage": {
|
||||
"29": 4,
|
||||
"30": 4,
|
||||
"31": 4,
|
||||
"38": 4,
|
||||
"46": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Report/FileReport.php",
|
||||
"total": 100,
|
||||
"coverage": {
|
||||
"35": 4,
|
||||
"36": 4,
|
||||
"37": 4,
|
||||
"38": 4,
|
||||
"45": 4,
|
||||
"53": 4,
|
||||
"61": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Util/GitClient.php",
|
||||
"total": 67,
|
||||
"coverage": {
|
||||
"25": 1,
|
||||
"26": 1,
|
||||
"27": 1,
|
||||
"28": 0,
|
||||
"30": 0,
|
||||
"31": 0,
|
||||
"34": 1,
|
||||
"41": 1,
|
||||
"42": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Util/JsonProducer.php",
|
||||
"total": 100,
|
||||
"coverage": {
|
||||
"25": 1,
|
||||
"26": 1,
|
||||
"34": 1,
|
||||
"62": 1,
|
||||
"63": 1,
|
||||
"64": 1,
|
||||
"66": 1,
|
||||
"67": 1,
|
||||
"69": 1,
|
||||
"70": 1,
|
||||
"71": 1,
|
||||
"72": 1,
|
||||
"73": 1,
|
||||
"75": 1,
|
||||
"76": 1,
|
||||
"78": 1,
|
||||
"81": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"filename": "src/Codacy/Coverage/Util/EmptyFile.php",
|
||||
"total": 0,
|
||||
"coverage": {}
|
||||
}
|
||||
]
|
||||
}
|
231
vendor/codacy/coverage/tests/res/phpunit-clover/Parser/CloverParser.php.xml
vendored
Normal file
231
vendor/codacy/coverage/tests/res/phpunit-clover/Parser/CloverParser.php.xml
vendored
Normal file
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CloverParser.php">
|
||||
<totals>
|
||||
<lines total="131" comments="56" code="75" executable="45" executed="43" percent="95.56%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CloverParser" start="14" executable="45" executed="43" crap="14">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="makeReport" signature="makeReport()" start="22" end="32" crap="1" executable="8" executed="8" coverage="100"/>
|
||||
<method name="makeFileReports" signature="makeFileReports(\SimpleXMLElement $node)" start="41" end="57" crap="3" executable="8" executed="8" coverage="100"/>
|
||||
<method name="makeFileReportsFromFiles" signature="makeFileReportsFromFiles(\SimpleXMLElement $node, $fileReports)" start="65" end="82" crap="3.03" executable="13" executed="11" coverage="84.615384615385"/>
|
||||
<method name="makeFileReportsFromPackages" signature="makeFileReportsFromPackages(\SimpleXMLElement $node, $fileReports)" start="90" end="97" crap="2" executable="4" executed="4" coverage="100"/>
|
||||
<method name="getLineCoverage" signature="getLineCoverage(\SimpleXMLElement $node)" start="105" end="118" crap="4" executable="10" executed="10" coverage="100"/>
|
||||
<method name="getRelativePath" signature="getRelativePath(\SimpleXMLElement $fileName)" start="127" end="131" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="24">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="25">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="26">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="28">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="29">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="30">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="31">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="43">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="49">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="51">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="56">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="67">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="69">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="70">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="71">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="72" />
|
||||
<line nr="73" />
|
||||
<line nr="74">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="76">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="77">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="78">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="79">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="80">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="81">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="93">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="94">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="95">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="96">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="107">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="108">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="109">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="111">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="112">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="113">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="114">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="115">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="116">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="117">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="129">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="130">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
74
vendor/codacy/coverage/tests/res/phpunit-clover/Parser/Parser.php.xml
vendored
Normal file
74
vendor/codacy/coverage/tests/res/phpunit-clover/Parser/Parser.php.xml
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="Parser.php">
|
||||
<totals>
|
||||
<lines total="57" comments="24" code="33" executable="11" executed="11" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="XMLParser" start="21" executable="11" executed="11" crap="3">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="__construct" signature="__construct($path, $rootDir = null)" start="40" end="55" crap="3" executable="11" executed="11" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="42">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="43">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="44">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="45">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="48">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="49">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="50">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
179
vendor/codacy/coverage/tests/res/phpunit-clover/Parser/PhpUnitXmlParser.php.xml
vendored
Normal file
179
vendor/codacy/coverage/tests/res/phpunit-clover/Parser/PhpUnitXmlParser.php.xml
vendored
Normal file
@@ -0,0 +1,179 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="PhpUnitXmlParser.php">
|
||||
<totals>
|
||||
<lines total="122" comments="49" code="73" executable="41" executed="38" percent="92.68%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="PhpUnitXmlParser" start="16" executable="41" executed="38" crap="11.05">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="setDirOfFileXmls" signature="setDirOfFileXmls($dir)" start="32" end="34" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
<method name="getDirOfFileXmls" signature="getDirOfFileXmls()" start="39" end="41" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="makeReport" signature="makeReport()" start="43" end="70" crap="3.04" executable="19" executed="16" coverage="84.210526315789"/>
|
||||
<method name="getLineCoverage" signature="getLineCoverage(\SimpleXMLElement $node)" start="77" end="91" crap="4" executable="11" executed="11" coverage="100"/>
|
||||
<method name="getTotalFromPercent" signature="getTotalFromPercent(\SimpleXMLElement $percent)" start="98" end="103" crap="1" executable="3" executed="3" coverage="100"/>
|
||||
<method name="getRelativePath" signature="getRelativePath(\SimpleXMLElement $fileName)" start="112" end="122" crap="1" executable="5" executed="5" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="33">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="34">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="40">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="48">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="49">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="50">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="51">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="56">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="57">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="58">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="59"/>
|
||||
<line nr="60"/>
|
||||
<line nr="61"/>
|
||||
<line nr="64">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="65">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="66">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="67">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="68">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="69">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="79">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="80">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="81">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="82">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="83">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="84">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="85">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="86">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="87">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="88">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="90">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="100">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="101">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="102">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="115">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="116">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="118">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="120">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="121">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
51
vendor/codacy/coverage/tests/res/phpunit-clover/Report/CoverageReport.php.xml
vendored
Normal file
51
vendor/codacy/coverage/tests/res/phpunit-clover/Report/CoverageReport.php.xml
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CoverageReport.php">
|
||||
<totals>
|
||||
<lines total="47" comments="22" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CoverageReport" start="11" executable="5" executed="5" crap="3">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="__construct" signature="__construct($total, $fileReports)" start="27" end="31" crap="1" executable="3" executed="3" coverage="100"/>
|
||||
<method name="getTotal" signature="getTotal()" start="36" end="39" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getFileReports" signature="getFileReports()" start="44" end="47" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="29">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="30">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="31">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
64
vendor/codacy/coverage/tests/res/phpunit-clover/Report/FileReport.php.xml
vendored
Normal file
64
vendor/codacy/coverage/tests/res/phpunit-clover/Report/FileReport.php.xml
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="FileReport.php">
|
||||
<totals>
|
||||
<lines total="62" comments="29" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="FileReport" start="11" executable="7" executed="7" crap="4">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="__construct" signature="__construct($total, $fileName, $lineCoverage)" start="33" end="38" crap="1" executable="4" executed="4" coverage="100"/>
|
||||
<method name="getTotal" signature="getTotal()" start="43" end="46" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getFileName" signature="getFileName()" start="51" end="54" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getLineCoverage" signature="getLineCoverage()" start="59" end="62" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="35">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="36">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="37">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="45">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="61">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
18
vendor/codacy/coverage/tests/res/phpunit-clover/Util/EmptyFile.php.xml
vendored
Normal file
18
vendor/codacy/coverage/tests/res/phpunit-clover/Util/EmptyFile.php.xml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="EmptyFile.php">
|
||||
<totals>
|
||||
<lines total="45" comments="14" code="31" executable="9" executed="0" percent=""/>
|
||||
<methods count="2" tested="0" percent=""/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent=""/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="EmptyFile" start="12" executable="9" executed="0" crap="3.33">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Util"/>
|
||||
</class>
|
||||
<coverage>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
41
vendor/codacy/coverage/tests/res/phpunit-clover/Util/GitClient.php.xml
vendored
Normal file
41
vendor/codacy/coverage/tests/res/phpunit-clover/Util/GitClient.php.xml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="GitClient.php">
|
||||
<totals>
|
||||
<lines total="45" comments="14" code="31" executable="9" executed="6" percent="66.67%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="GitClient" start="12" executable="9" executed="6" crap="3.33">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Util"/>
|
||||
<method name="__construct" signature="__construct($path)" start="23" end="34" crap="2.31" executable="7" executed="4" coverage="57.142857142857"/>
|
||||
<method name="getHashOfLatestCommit" signature="getHashOfLatestCommit()" start="39" end="43" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="25">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="26">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="28"/>
|
||||
<line nr="30"/>
|
||||
<line nr="31"/>
|
||||
<line nr="34">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="41">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="42">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
72
vendor/codacy/coverage/tests/res/phpunit-clover/Util/JsonProducer.php.xml
vendored
Normal file
72
vendor/codacy/coverage/tests/res/phpunit-clover/Util/JsonProducer.php.xml
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="JsonProducer.php">
|
||||
<totals>
|
||||
<lines total="82" comments="41" code="41" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="JsonProducer" start="12" executable="17" executed="17" crap="4">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Util"/>
|
||||
<method name="setParser" signature="setParser(IParser $parser)" start="23" end="26" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
<method name="makeReport" signature="makeReport()" start="32" end="35" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="makeJson" signature="makeJson()" start="60" end="82" crap="2" executable="14" executed="14" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="25">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="26">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="34">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="62">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="63">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="64">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="66">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="67">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="69">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="70">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="71">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="72">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="73">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="75">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="76">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="78">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
<line nr="81">
|
||||
<covered by="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
244
vendor/codacy/coverage/tests/res/phpunit-clover/clover.xml
vendored
Normal file
244
vendor/codacy/coverage/tests/res/phpunit-clover/clover.xml
vendored
Normal file
@@ -0,0 +1,244 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<coverage generated="1425059542">
|
||||
<project timestamp="1425059542">
|
||||
<package name="Codacy\Coverage\Parser">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/CloverParser.php">
|
||||
<class name="CloverParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="45"
|
||||
coveredstatements="43" elements="51" coveredelements="48"/>
|
||||
</class>
|
||||
<line num="22" type="method" name="makeReport" crap="1" count="3"/>
|
||||
<line num="24" type="stmt" count="3"/>
|
||||
<line num="25" type="stmt" count="3"/>
|
||||
<line num="26" type="stmt" count="3"/>
|
||||
<line num="27" type="stmt" count="3"/>
|
||||
<line num="28" type="stmt" count="3"/>
|
||||
<line num="29" type="stmt" count="3"/>
|
||||
<line num="30" type="stmt" count="3"/>
|
||||
<line num="31" type="stmt" count="3"/>
|
||||
<line num="41" type="method" name="makeFileReports" crap="3" count="3"/>
|
||||
<line num="43" type="stmt" count="3"/>
|
||||
<line num="49" type="stmt" count="3"/>
|
||||
<line num="51" type="stmt" count="1"/>
|
||||
<line num="52" type="stmt" count="1"/>
|
||||
<line num="53" type="stmt" count="3"/>
|
||||
<line num="54" type="stmt" count="2"/>
|
||||
<line num="55" type="stmt" count="2"/>
|
||||
<line num="56" type="stmt" count="3"/>
|
||||
<line num="65" type="method" name="makeFileReportsFromFiles" crap="3.03" count="3"/>
|
||||
<line num="67" type="stmt" count="3"/>
|
||||
<line num="69" type="stmt" count="3"/>
|
||||
<line num="70" type="stmt" count="3"/>
|
||||
<line num="71" type="stmt" count="3"/>
|
||||
<line num="72" type="stmt" count="0"/>
|
||||
<line num="73" type="stmt" count="0"/>
|
||||
<line num="74" type="stmt" count="3"/>
|
||||
<line num="76" type="stmt" count="3"/>
|
||||
<line num="77" type="stmt" count="3"/>
|
||||
<line num="78" type="stmt" count="3"/>
|
||||
<line num="79" type="stmt" count="3"/>
|
||||
<line num="80" type="stmt" count="3"/>
|
||||
<line num="81" type="stmt" count="3"/>
|
||||
<line num="90" type="method" name="makeFileReportsFromPackages" crap="2" count="2"/>
|
||||
<line num="93" type="stmt" count="2"/>
|
||||
<line num="94" type="stmt" count="2"/>
|
||||
<line num="95" type="stmt" count="2"/>
|
||||
<line num="96" type="stmt" count="2"/>
|
||||
<line num="105" type="method" name="getLineCoverage" crap="4" count="3"/>
|
||||
<line num="107" type="stmt" count="3"/>
|
||||
<line num="108" type="stmt" count="3"/>
|
||||
<line num="109" type="stmt" count="3"/>
|
||||
<line num="111" type="stmt" count="3"/>
|
||||
<line num="112" type="stmt" count="3"/>
|
||||
<line num="113" type="stmt" count="3"/>
|
||||
<line num="114" type="stmt" count="3"/>
|
||||
<line num="115" type="stmt" count="3"/>
|
||||
<line num="116" type="stmt" count="3"/>
|
||||
<line num="117" type="stmt" count="3"/>
|
||||
<line num="127" type="method" name="getRelativePath" crap="1" count="3"/>
|
||||
<line num="129" type="stmt" count="3"/>
|
||||
<line num="130" type="stmt" count="3"/>
|
||||
<metrics loc="131" ncloc="75" classes="1" methods="6" coveredmethods="5" conditionals="0"
|
||||
coveredconditionals="0" statements="45" coveredstatements="43" elements="51"
|
||||
coveredelements="48"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/Parser.php">
|
||||
<class name="XMLParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11"
|
||||
coveredstatements="11" elements="12" coveredelements="12"/>
|
||||
</class>
|
||||
<line num="40" type="method" name="__construct" crap="3" count="6"/>
|
||||
<line num="42" type="stmt" count="6"/>
|
||||
<line num="43" type="stmt" count="4"/>
|
||||
<line num="44" type="stmt" count="1"/>
|
||||
<line num="45" type="stmt" count="1"/>
|
||||
<line num="46" type="stmt" count="3"/>
|
||||
<line num="48" type="stmt" count="4"/>
|
||||
<line num="49" type="stmt" count="4"/>
|
||||
<line num="50" type="stmt" count="2"/>
|
||||
<line num="52" type="stmt" count="2"/>
|
||||
<line num="53" type="stmt" count="2"/>
|
||||
<line num="55" type="stmt" count="4"/>
|
||||
<metrics loc="57" ncloc="33" classes="1" methods="1" coveredmethods="1" conditionals="0"
|
||||
coveredconditionals="0" statements="11" coveredstatements="11" elements="12"
|
||||
coveredelements="12"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Parser/PhpUnitXmlParser.php">
|
||||
<class name="PhpUnitXmlParser" namespace="Codacy\Coverage\Parser">
|
||||
<metrics methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="41"
|
||||
coveredstatements="38" elements="47" coveredelements="43"/>
|
||||
</class>
|
||||
<line num="32" type="method" name="setDirOfFileXmls" crap="1" count="2"/>
|
||||
<line num="33" type="stmt" count="2"/>
|
||||
<line num="34" type="stmt" count="2"/>
|
||||
<line num="39" type="method" name="getDirOfFileXmls" crap="1" count="2"/>
|
||||
<line num="40" type="stmt" count="2"/>
|
||||
<line num="43" type="method" name="makeReport" crap="3.04" count="2"/>
|
||||
<line num="46" type="stmt" count="2"/>
|
||||
<line num="48" type="stmt" count="2"/>
|
||||
<line num="49" type="stmt" count="2"/>
|
||||
<line num="50" type="stmt" count="2"/>
|
||||
<line num="51" type="stmt" count="2"/>
|
||||
<line num="53" type="stmt" count="2"/>
|
||||
<line num="54" type="stmt" count="2"/>
|
||||
<line num="56" type="stmt" count="2"/>
|
||||
<line num="57" type="stmt" count="2"/>
|
||||
<line num="58" type="stmt" count="2"/>
|
||||
<line num="59" type="stmt" count="0"/>
|
||||
<line num="60" type="stmt" count="0"/>
|
||||
<line num="61" type="stmt" count="0"/>
|
||||
<line num="64" type="stmt" count="2"/>
|
||||
<line num="65" type="stmt" count="2"/>
|
||||
<line num="66" type="stmt" count="2"/>
|
||||
<line num="67" type="stmt" count="2"/>
|
||||
<line num="68" type="stmt" count="2"/>
|
||||
<line num="69" type="stmt" count="2"/>
|
||||
<line num="77" type="method" name="getLineCoverage" crap="4" count="2"/>
|
||||
<line num="79" type="stmt" count="2"/>
|
||||
<line num="80" type="stmt" count="2"/>
|
||||
<line num="81" type="stmt" count="2"/>
|
||||
<line num="82" type="stmt" count="2"/>
|
||||
<line num="83" type="stmt" count="2"/>
|
||||
<line num="84" type="stmt" count="2"/>
|
||||
<line num="85" type="stmt" count="2"/>
|
||||
<line num="86" type="stmt" count="2"/>
|
||||
<line num="87" type="stmt" count="2"/>
|
||||
<line num="88" type="stmt" count="2"/>
|
||||
<line num="90" type="stmt" count="2"/>
|
||||
<line num="98" type="method" name="getTotalFromPercent" crap="1" count="2"/>
|
||||
<line num="100" type="stmt" count="2"/>
|
||||
<line num="101" type="stmt" count="2"/>
|
||||
<line num="102" type="stmt" count="2"/>
|
||||
<line num="112" type="method" name="getRelativePath" crap="1" count="2"/>
|
||||
<line num="115" type="stmt" count="2"/>
|
||||
<line num="116" type="stmt" count="2"/>
|
||||
<line num="118" type="stmt" count="2"/>
|
||||
<line num="120" type="stmt" count="2"/>
|
||||
<line num="121" type="stmt" count="2"/>
|
||||
<metrics loc="122" ncloc="73" classes="1" methods="6" coveredmethods="5" conditionals="0"
|
||||
coveredconditionals="0" statements="41" coveredstatements="38" elements="47"
|
||||
coveredelements="43"/>
|
||||
</file>
|
||||
</package>
|
||||
<package name="Codacy\Coverage\Report">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Report/CoverageReport.php">
|
||||
<class name="CoverageReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="5"
|
||||
coveredstatements="5" elements="8" coveredelements="8"/>
|
||||
</class>
|
||||
<line num="27" type="method" name="__construct" crap="1" count="4"/>
|
||||
<line num="29" type="stmt" count="4"/>
|
||||
<line num="30" type="stmt" count="4"/>
|
||||
<line num="31" type="stmt" count="4"/>
|
||||
<line num="36" type="method" name="getTotal" crap="1" count="4"/>
|
||||
<line num="38" type="stmt" count="4"/>
|
||||
<line num="44" type="method" name="getFileReports" crap="1" count="4"/>
|
||||
<line num="46" type="stmt" count="4"/>
|
||||
<metrics loc="47" ncloc="25" classes="1" methods="3" coveredmethods="3" conditionals="0"
|
||||
coveredconditionals="0" statements="5" coveredstatements="5" elements="8" coveredelements="8"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Report/FileReport.php">
|
||||
<class name="FileReport" namespace="Codacy\Coverage\Report">
|
||||
<metrics methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="7"
|
||||
coveredstatements="7" elements="11" coveredelements="11"/>
|
||||
</class>
|
||||
<line num="33" type="method" name="__construct" crap="1" count="4"/>
|
||||
<line num="35" type="stmt" count="4"/>
|
||||
<line num="36" type="stmt" count="4"/>
|
||||
<line num="37" type="stmt" count="4"/>
|
||||
<line num="38" type="stmt" count="4"/>
|
||||
<line num="43" type="method" name="getTotal" crap="1" count="4"/>
|
||||
<line num="45" type="stmt" count="4"/>
|
||||
<line num="51" type="method" name="getFileName" crap="1" count="4"/>
|
||||
<line num="53" type="stmt" count="4"/>
|
||||
<line num="59" type="method" name="getLineCoverage" crap="1" count="4"/>
|
||||
<line num="61" type="stmt" count="4"/>
|
||||
<metrics loc="62" ncloc="33" classes="1" methods="4" coveredmethods="4" conditionals="0"
|
||||
coveredconditionals="0" statements="7" coveredstatements="7" elements="11"
|
||||
coveredelements="11"/>
|
||||
</file>
|
||||
</package>
|
||||
<package name="Codacy\Coverage\Util">
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Util/GitClient.php">
|
||||
<class name="GitClient" namespace="Codacy\Coverage\Util">
|
||||
<metrics methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9"
|
||||
coveredstatements="6" elements="11" coveredelements="7"/>
|
||||
</class>
|
||||
<line num="23" type="method" name="__construct" crap="2.31" count="1"/>
|
||||
<line num="25" type="stmt" count="1"/>
|
||||
<line num="26" type="stmt" count="1"/>
|
||||
<line num="27" type="stmt" count="1"/>
|
||||
<line num="28" type="stmt" count="0"/>
|
||||
<line num="30" type="stmt" count="0"/>
|
||||
<line num="31" type="stmt" count="0"/>
|
||||
<line num="34" type="stmt" count="1"/>
|
||||
<line num="39" type="method" name="getHashOfLatestCommit" crap="1" count="1"/>
|
||||
<line num="41" type="stmt" count="1"/>
|
||||
<line num="42" type="stmt" count="1"/>
|
||||
<metrics loc="45" ncloc="31" classes="1" methods="2" coveredmethods="1" conditionals="0"
|
||||
coveredconditionals="0" statements="9" coveredstatements="6" elements="11"
|
||||
coveredelements="7"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Util/JsonProducer.php">
|
||||
<class name="JsonProducer" namespace="Codacy\Coverage\Util">
|
||||
<metrics methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="17"
|
||||
coveredstatements="17" elements="20" coveredelements="20"/>
|
||||
</class>
|
||||
<line num="23" type="method" name="setParser" crap="1" count="1"/>
|
||||
<line num="25" type="stmt" count="1"/>
|
||||
<line num="26" type="stmt" count="1"/>
|
||||
<line num="32" type="method" name="makeReport" crap="1" count="1"/>
|
||||
<line num="34" type="stmt" count="1"/>
|
||||
<line num="60" type="method" name="makeJson" crap="2" count="1"/>
|
||||
<line num="62" type="stmt" count="1"/>
|
||||
<line num="63" type="stmt" count="1"/>
|
||||
<line num="64" type="stmt" count="1"/>
|
||||
<line num="66" type="stmt" count="1"/>
|
||||
<line num="67" type="stmt" count="1"/>
|
||||
<line num="69" type="stmt" count="1"/>
|
||||
<line num="70" type="stmt" count="1"/>
|
||||
<line num="71" type="stmt" count="1"/>
|
||||
<line num="72" type="stmt" count="1"/>
|
||||
<line num="73" type="stmt" count="1"/>
|
||||
<line num="75" type="stmt" count="1"/>
|
||||
<line num="76" type="stmt" count="1"/>
|
||||
<line num="78" type="stmt" count="1"/>
|
||||
<line num="81" type="stmt" count="1"/>
|
||||
<metrics loc="82" ncloc="41" classes="1" methods="3" coveredmethods="3" conditionals="0"
|
||||
coveredconditionals="0" statements="17" coveredstatements="17" elements="20"
|
||||
coveredelements="20"/>
|
||||
</file>
|
||||
<file name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage/Util/EmptyFile.php">
|
||||
<class name="EmptyFile" namespace="Codacy\Coverage\Util">
|
||||
<metrics methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="17"
|
||||
coveredstatements="0" elements="20" coveredelements="0"/>
|
||||
</class>
|
||||
<metrics loc="82" ncloc="41" classes="1" methods="3" coveredmethods="0" conditionals="0"
|
||||
coveredconditionals="0" statements="17" coveredstatements="0" elements="20"
|
||||
coveredelements="0"/>
|
||||
</file>
|
||||
</package>
|
||||
<metrics files="7" loc="546" ncloc="311" classes="7" methods="25" coveredmethods="22" conditionals="0"
|
||||
coveredconditionals="0" statements="135" coveredstatements="127" elements="160" coveredelements="149"/>
|
||||
</project>
|
||||
</coverage>
|
185
vendor/codacy/coverage/tests/res/phpunit-clover/index.xml
vendored
Normal file
185
vendor/codacy/coverage/tests/res/phpunit-clover/index.xml
vendored
Normal file
@@ -0,0 +1,185 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<project name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage">
|
||||
<tests>
|
||||
<test name="CloverParserTest::testThrowsExceptionOnWrongPath" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testCanParseCloverXmlWithoutProject" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testCanParseCloverXmlWithProject" result="0" status="PASSED"/>
|
||||
<test name="Codacy\Coverage\Parser\ParserTest::testParsersProduceSameResult" result="0" status="PASSED"/>
|
||||
<test name="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath" result="0" status="PASSED"/>
|
||||
<test name="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport" result="0" status="PASSED"/>
|
||||
<test name="GitClientTest::testGetHashOfLastCommit" result="0" status="PASSED"/>
|
||||
</tests>
|
||||
<directory name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage">
|
||||
<totals>
|
||||
<lines total="546" comments="235" code="311" executable="135" executed="127" percent="94.07%"/>
|
||||
<methods count="25" tested="22" percent="88.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="7" tested="4" percent="57.14%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<directory name="Parser">
|
||||
<totals>
|
||||
<lines total="310" comments="129" code="181" executable="97" executed="92" percent="94.85%"/>
|
||||
<methods count="13" tested="11" percent="84.62%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="3" tested="1" percent="33.33%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="CloverParser.php" href="Parser/CloverParser.php.xml">
|
||||
<totals>
|
||||
<lines total="131" comments="56" code="75" executable="45" executed="43" percent="95.56%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Parser.php" href="Parser/Parser.php.xml">
|
||||
<totals>
|
||||
<lines total="57" comments="24" code="33" executable="11" executed="11" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="PhpUnitXmlParser.php" href="Parser/PhpUnitXmlParser.php.xml">
|
||||
<totals>
|
||||
<lines total="122" comments="49" code="73" executable="41" executed="38" percent="92.68%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="CloverParser.php" href="Parser/CloverParser.php.xml">
|
||||
<totals>
|
||||
<lines total="131" comments="56" code="75" executable="45" executed="43" percent="95.56%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Parser.php" href="Parser/Parser.php.xml">
|
||||
<totals>
|
||||
<lines total="57" comments="24" code="33" executable="11" executed="11" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="PhpUnitXmlParser.php" href="Parser/PhpUnitXmlParser.php.xml">
|
||||
<totals>
|
||||
<lines total="122" comments="49" code="73" executable="41" executed="38" percent="92.68%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Report">
|
||||
<totals>
|
||||
<lines total="109" comments="51" code="58" executable="12" executed="12" percent="100.00%"/>
|
||||
<methods count="7" tested="7" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="2" tested="2" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="CoverageReport.php" href="Report/CoverageReport.php.xml">
|
||||
<totals>
|
||||
<lines total="47" comments="22" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="FileReport.php" href="Report/FileReport.php.xml">
|
||||
<totals>
|
||||
<lines total="62" comments="29" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="CoverageReport.php" href="Report/CoverageReport.php.xml">
|
||||
<totals>
|
||||
<lines total="47" comments="22" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="FileReport.php" href="Report/FileReport.php.xml">
|
||||
<totals>
|
||||
<lines total="62" comments="29" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Util">
|
||||
<totals>
|
||||
<lines total="127" comments="55" code="72" executable="26" executed="23" percent="88.46%"/>
|
||||
<methods count="5" tested="4" percent="80.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="2" tested="1" percent="50.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="GitClient.php" href="Util/GitClient.php.xml">
|
||||
<totals>
|
||||
<lines total="45" comments="14" code="31" executable="9" executed="6" percent="66.67%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="JsonProducer.php" href="Util/JsonProducer.php.xml">
|
||||
<totals>
|
||||
<lines total="82" comments="41" code="41" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="GitClient.php" href="Util/GitClient.php.xml">
|
||||
<totals>
|
||||
<lines total="45" comments="14" code="31" executable="9" executed="6" percent="66.67%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="JsonProducer.php" href="Util/JsonProducer.php.xml">
|
||||
<totals>
|
||||
<lines total="82" comments="41" code="41" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="EmptyFile.php" href="Util/EmptyFile.php.xml">
|
||||
<totals>
|
||||
<lines total="82" comments="41" code="41" executable="17" executed="0" percent=""/>
|
||||
<methods count="3" tested="0" percent=""/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent=""/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
</project>
|
||||
</phpunit>
|
17
vendor/codacy/coverage/tests/res/phpunitxml/Api/Api.php.xml
vendored
Normal file
17
vendor/codacy/coverage/tests/res/phpunitxml/Api/Api.php.xml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="Api.php">
|
||||
<totals>
|
||||
<lines total="46" comments="11" code="35" executable="22" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="ApiClient" start="9" executable="22" executed="0" crap="12">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Api"/>
|
||||
<method name="postData" signature="postData($url, $data)" start="18" end="46" crap="12" executable="22" executed="0" coverage="0"/>
|
||||
</class>
|
||||
</file>
|
||||
</phpunit>
|
17
vendor/codacy/coverage/tests/res/phpunitxml/CodacyPhpCoverage.php.xml
vendored
Normal file
17
vendor/codacy/coverage/tests/res/phpunitxml/CodacyPhpCoverage.php.xml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CodacyPhpCoverage.php">
|
||||
<totals>
|
||||
<lines total="68" comments="16" code="52" executable="26" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CodacyPhpCoverage" start="13" executable="25" executed="0" crap="12">
|
||||
<package full="" name="" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage"/>
|
||||
<method name="doIt" signature="doIt()" start="16" end="66" crap="12" executable="25" executed="0" coverage="0"/>
|
||||
</class>
|
||||
</file>
|
||||
</phpunit>
|
56
vendor/codacy/coverage/tests/res/phpunitxml/Config.php.xml
vendored
Normal file
56
vendor/codacy/coverage/tests/res/phpunitxml/Config.php.xml
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="Config.php">
|
||||
<totals>
|
||||
<lines total="34" comments="11" code="23" executable="7" executed="6" percent="85.71%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="Config" start="10" executable="7" executed="6" crap="2.01">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage"/>
|
||||
<method name="loadConfig" signature="loadConfig()" start="22" end="29" crap="1" executable="6" executed="6" coverage="100"/>
|
||||
<method name="__construct" signature="__construct()" start="31" end="34" crap="2" executable="1" executed="0" coverage="0"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="24">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="25">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="26">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="28">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="29">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
38
vendor/codacy/coverage/tests/res/phpunitxml/Git/GitClient.php.xml
vendored
Normal file
38
vendor/codacy/coverage/tests/res/phpunitxml/Git/GitClient.php.xml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="GitClient.php">
|
||||
<totals>
|
||||
<lines total="46" comments="15" code="31" executable="8" executed="6" percent="75.00%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="GitClient" start="13" executable="8" executed="6" crap="3.14">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Git"/>
|
||||
<method name="__construct" signature="__construct($path)" start="24" end="35" crap="2.15" executable="6" executed="4" coverage="66.666666666667"/>
|
||||
<method name="getHashOfLatestCommit" signature="getHashOfLatestCommit()" start="40" end="44" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="26">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="28">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="35">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="42">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
<line nr="43">
|
||||
<covered by="GitClientTest::testGetHashOfLastCommit"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
224
vendor/codacy/coverage/tests/res/phpunitxml/Parser/CloverParser.php.xml
vendored
Normal file
224
vendor/codacy/coverage/tests/res/phpunitxml/Parser/CloverParser.php.xml
vendored
Normal file
@@ -0,0 +1,224 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CloverParser.php">
|
||||
<totals>
|
||||
<lines total="134" comments="60" code="74" executable="44" executed="42" percent="95.45%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CloverParser" start="16" executable="44" executed="42" crap="14">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="makeReport" signature="makeReport()" start="25" end="35" crap="1" executable="8" executed="8" coverage="100"/>
|
||||
<method name="_makeFileReports" signature="_makeFileReports(\SimpleXMLElement $node)" start="44" end="60" crap="3" executable="8" executed="8" coverage="100"/>
|
||||
<method name="_makeFileReportsFromFiles" signature="_makeFileReportsFromFiles(\SimpleXMLElement $node, $fileReports)" start="68" end="85" crap="3.03" executable="13" executed="11" coverage="84.615384615385"/>
|
||||
<method name="_makeFileReportsFromPackages" signature="_makeFileReportsFromPackages(\SimpleXMLElement $node, $fileReports)" start="93" end="100" crap="2" executable="4" executed="4" coverage="100"/>
|
||||
<method name="_getLineCoverage" signature="_getLineCoverage(\SimpleXMLElement $node)" start="108" end="121" crap="4" executable="9" executed="9" coverage="100"/>
|
||||
<method name="_getRelativePath" signature="_getRelativePath(\SimpleXMLElement $fileName)" start="130" end="134" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="27">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="28">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="29">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="30">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="31">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="32">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="33">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="34">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
</line>
|
||||
<line nr="56">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="57">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="58">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="59">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="70">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="72">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="73">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="74">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="77">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="79">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="80">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="81">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="82">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="83">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="84">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="96">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="97">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="98">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="99">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="110">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="111">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="113">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="115">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="116">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="117">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="118">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="119">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="120">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="132">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="133">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
57
vendor/codacy/coverage/tests/res/phpunitxml/Parser/Parser.php.xml
vendored
Normal file
57
vendor/codacy/coverage/tests/res/phpunitxml/Parser/Parser.php.xml
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="Parser.php">
|
||||
<totals>
|
||||
<lines total="46" comments="20" code="26" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="XMLParser" start="22" executable="7" executed="7" crap="2">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="__construct" signature="__construct($path)" start="34" end="44" crap="2" executable="7" executed="7" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="36">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="37">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="39">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="41">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="42">
|
||||
<covered by="CloverParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
<covered by="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath"/>
|
||||
</line>
|
||||
<line nr="44">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
118
vendor/codacy/coverage/tests/res/phpunitxml/Parser/PhpUnitXmlParser.php.xml
vendored
Normal file
118
vendor/codacy/coverage/tests/res/phpunitxml/Parser/PhpUnitXmlParser.php.xml
vendored
Normal file
@@ -0,0 +1,118 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="PhpUnitXmlParser.php">
|
||||
<totals>
|
||||
<lines total="104" comments="42" code="62" executable="34" executed="32" percent="94.12%"/>
|
||||
<methods count="4" tested="3" percent="75.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="PhpUnitXmlParser" start="18" executable="34" executed="32" crap="8.01">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Parser"/>
|
||||
<method name="makeReport" signature="makeReport()" start="30" end="58" crap="3.01" executable="18" executed="16" coverage="88.888888888889"/>
|
||||
<method name="_getLineCoverage" signature="_getLineCoverage(\SimpleXMLElement $node)" start="65" end="77" crap="3" executable="9" executed="9" coverage="100"/>
|
||||
<method name="_getTotalFromPercent" signature="_getTotalFromPercent(\SimpleXMLElement $percent)" start="84" end="89" crap="1" executable="3" executed="3" coverage="100"/>
|
||||
<method name="_getRelativePath" signature="_getRelativePath(\SimpleXMLElement $fileName)" start="97" end="104" crap="1" executable="4" executed="4" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="33">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="34">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="35">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="36">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="39">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="42">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="43">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="44">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="51">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="56">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="57">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="67">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="68">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="70">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="71">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="72">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="73">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="74">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="75">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="76">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="86">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="87">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="88">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="99">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="100">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="102">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
<line nr="103">
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
51
vendor/codacy/coverage/tests/res/phpunitxml/Report/CoverageReport.php.xml
vendored
Normal file
51
vendor/codacy/coverage/tests/res/phpunitxml/Report/CoverageReport.php.xml
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="CoverageReport.php">
|
||||
<totals>
|
||||
<lines total="48" comments="23" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="CoverageReport" start="12" executable="5" executed="5" crap="3">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="__construct" signature="__construct($total, $fileReports)" start="28" end="32" crap="1" executable="3" executed="3" coverage="100"/>
|
||||
<method name="getTotal" signature="getTotal()" start="37" end="40" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getFileReports" signature="getFileReports()" start="45" end="48" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="30">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="31">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="32">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="39">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="47">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
64
vendor/codacy/coverage/tests/res/phpunitxml/Report/FileReport.php.xml
vendored
Normal file
64
vendor/codacy/coverage/tests/res/phpunitxml/Report/FileReport.php.xml
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="FileReport.php">
|
||||
<totals>
|
||||
<lines total="63" comments="30" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="FileReport" start="12" executable="7" executed="7" crap="4">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="__construct" signature="__construct($total, $fileName, $lineCoverage)" start="34" end="39" crap="1" executable="4" executed="4" coverage="100"/>
|
||||
<method name="getTotal" signature="getTotal()" start="44" end="47" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getFileName" signature="getFileName()" start="52" end="55" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="getLineCoverage" signature="getLineCoverage()" start="60" end="63" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="36">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="37">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="38">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="39">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="62">
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithoutProject"/>
|
||||
<covered by="CloverParserTest::testCanParseCloverXmlWithProject"/>
|
||||
<covered by="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport"/>
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
72
vendor/codacy/coverage/tests/res/phpunitxml/Report/JsonProducer.php.xml
vendored
Normal file
72
vendor/codacy/coverage/tests/res/phpunitxml/Report/JsonProducer.php.xml
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<file name="JsonProducer.php">
|
||||
<totals>
|
||||
<lines total="61" comments="21" code="40" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<class name="JsonProducer" start="13" executable="17" executed="17" crap="4">
|
||||
<package full="Codacy" name="Codacy" sub="" category=""/>
|
||||
<namespace name="Codacy\Coverage\Report"/>
|
||||
<method name="setParser" signature="setParser(IParser $parser)" start="24" end="27" crap="1" executable="2" executed="2" coverage="100"/>
|
||||
<method name="makeReport" signature="makeReport()" start="33" end="36" crap="1" executable="1" executed="1" coverage="100"/>
|
||||
<method name="makeJson" signature="makeJson()" start="42" end="61" crap="2" executable="14" executed="14" coverage="100"/>
|
||||
</class>
|
||||
<coverage>
|
||||
<line nr="26">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="27">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="35">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="44">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="45">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="46">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="48">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="49">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="51">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="52">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="53">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="54">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="55">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="57">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="58">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="59">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
<line nr="60">
|
||||
<covered by="JsonProducerTest::testCanProduceCorrectJson"/>
|
||||
</line>
|
||||
</coverage>
|
||||
</file>
|
||||
</phpunit>
|
221
vendor/codacy/coverage/tests/res/phpunitxml/index.xml
vendored
Normal file
221
vendor/codacy/coverage/tests/res/phpunitxml/index.xml
vendored
Normal file
@@ -0,0 +1,221 @@
|
||||
<?xml version="1.0"?>
|
||||
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
|
||||
<project name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage">
|
||||
<tests>
|
||||
<test name="GitClientTest::testGetHashOfLastCommit" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testThrowsExceptionOnWrongPath" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testCanParseCloverXmlWithoutProject" result="0" status="PASSED"/>
|
||||
<test name="CloverParserTest::testCanParseCloverXmlWithProject" result="0" status="PASSED"/>
|
||||
<test name="PhpUnitXmlParserTest::testThrowsExceptionOnWrongPath" result="0" status="PASSED"/>
|
||||
<test name="PhpUnitXmlParserTest::testCanParsePhpUnitXmlReport" result="0" status="PASSED"/>
|
||||
<test name="JsonProducerTest::testCanProduceCorrectJson" result="0" status="PASSED"/>
|
||||
</tests>
|
||||
<directory name="/home/jacke/Desktop/codacy-php/src/Codacy/Coverage">
|
||||
<totals>
|
||||
<lines total="650" comments="249" code="401" executable="177" executed="122" percent="68.93%"/>
|
||||
<methods count="27" tested="21" percent="77.78%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="10" tested="4" percent="40.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<directory name="Api">
|
||||
<totals>
|
||||
<lines total="46" comments="11" code="35" executable="22" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="Api.php" href="Api/Api.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="11" code="35" executable="22" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="Api.php" href="Api/Api.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="11" code="35" executable="22" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="CodacyPhpCoverage.php" href="CodacyPhpCoverage.php.xml">
|
||||
<totals>
|
||||
<lines total="68" comments="16" code="52" executable="26" executed="0" percent="0.00%"/>
|
||||
<methods count="1" tested="0" percent="0.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Config.php" href="Config.php.xml">
|
||||
<totals>
|
||||
<lines total="34" comments="11" code="23" executable="7" executed="6" percent="85.71%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Git">
|
||||
<totals>
|
||||
<lines total="46" comments="15" code="31" executable="8" executed="6" percent="75.00%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="GitClient.php" href="Git/GitClient.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="15" code="31" executable="8" executed="6" percent="75.00%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="GitClient.php" href="Git/GitClient.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="15" code="31" executable="8" executed="6" percent="75.00%"/>
|
||||
<methods count="2" tested="1" percent="50.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Parser">
|
||||
<totals>
|
||||
<lines total="284" comments="122" code="162" executable="85" executed="81" percent="95.29%"/>
|
||||
<methods count="11" tested="9" percent="81.82%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="3" tested="1" percent="33.33%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="CloverParser.php" href="Parser/CloverParser.php.xml">
|
||||
<totals>
|
||||
<lines total="134" comments="60" code="74" executable="44" executed="42" percent="95.45%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Parser.php" href="Parser/Parser.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="20" code="26" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="PhpUnitXmlParser.php" href="Parser/PhpUnitXmlParser.php.xml">
|
||||
<totals>
|
||||
<lines total="104" comments="42" code="62" executable="34" executed="32" percent="94.12%"/>
|
||||
<methods count="4" tested="3" percent="75.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="CloverParser.php" href="Parser/CloverParser.php.xml">
|
||||
<totals>
|
||||
<lines total="134" comments="60" code="74" executable="44" executed="42" percent="95.45%"/>
|
||||
<methods count="6" tested="5" percent="83.33%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="Parser.php" href="Parser/Parser.php.xml">
|
||||
<totals>
|
||||
<lines total="46" comments="20" code="26" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="1" tested="1" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="PhpUnitXmlParser.php" href="Parser/PhpUnitXmlParser.php.xml">
|
||||
<totals>
|
||||
<lines total="104" comments="42" code="62" executable="34" executed="32" percent="94.12%"/>
|
||||
<methods count="4" tested="3" percent="75.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="0" percent="0.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<directory name="Report">
|
||||
<totals>
|
||||
<lines total="172" comments="74" code="98" executable="29" executed="29" percent="100.00%"/>
|
||||
<methods count="10" tested="10" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="3" tested="3" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
<file name="CoverageReport.php" href="Report/CoverageReport.php.xml">
|
||||
<totals>
|
||||
<lines total="48" comments="23" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="FileReport.php" href="Report/FileReport.php.xml">
|
||||
<totals>
|
||||
<lines total="63" comments="30" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="JsonProducer.php" href="Report/JsonProducer.php.xml">
|
||||
<totals>
|
||||
<lines total="61" comments="21" code="40" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
<file name="CoverageReport.php" href="Report/CoverageReport.php.xml">
|
||||
<totals>
|
||||
<lines total="48" comments="23" code="25" executable="5" executed="5" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="FileReport.php" href="Report/FileReport.php.xml">
|
||||
<totals>
|
||||
<lines total="63" comments="30" code="33" executable="7" executed="7" percent="100.00%"/>
|
||||
<methods count="4" tested="4" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
<file name="JsonProducer.php" href="Report/JsonProducer.php.xml">
|
||||
<totals>
|
||||
<lines total="61" comments="21" code="40" executable="17" executed="17" percent="100.00%"/>
|
||||
<methods count="3" tested="3" percent="100.00%"/>
|
||||
<functions count="0" tested="0" percent=""/>
|
||||
<classes count="1" tested="1" percent="100.00%"/>
|
||||
<traits count="0" tested="0" percent=""/>
|
||||
</totals>
|
||||
</file>
|
||||
</directory>
|
||||
</project>
|
||||
</phpunit>
|
Reference in New Issue
Block a user