composer update

This commit is contained in:
Manish Verma
2018-12-05 10:50:52 +05:30
parent 9eabcacfa7
commit 4addd1e9c6
3328 changed files with 156676 additions and 138988 deletions

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>