Files
faveo/vendor/codacy/coverage/tests/res/phpunitxml/Git/GitClient.php.xml
2019-04-19 14:37:37 +05:30

39 lines
1.5 KiB
XML

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