Skip to content

Commit

Permalink
🤖 Save code coverage report to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
GiuseppeArcifa authored and github-actions[bot] committed Dec 5, 2024
1 parent b15a305 commit 41e7de5
Show file tree
Hide file tree
Showing 65 changed files with 354 additions and 293 deletions.
66 changes: 40 additions & 26 deletions phpunit/clover.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1732047166">
<project timestamp="1732047166">
<coverage generated="1733403079">
<project timestamp="1733403079">
<file name="/home/runner/work/wp-module-data/wp-module-data/includes/API/Events.php">
<class name="NewfoldLabs\WP\Module\Data\API\Events" namespace="global">
<metrics complexity="13" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="116" coveredstatements="8" elements="121" coveredelements="8"/>
Expand Down Expand Up @@ -589,38 +589,52 @@
</file>
<file name="/home/runner/work/wp-module-data/wp-module-data/includes/Helpers/Transient.php">
<class name="NewfoldLabs\WP\Module\Data\Helpers\Transient" namespace="global">
<metrics complexity="13" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="24" coveredstatements="18" elements="29" coveredelements="21"/>
<metrics complexity="16" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="38" coveredstatements="27" elements="43" coveredelements="29"/>
</class>
<line num="15" type="method" name="should_use_transients" visibility="protected" complexity="2" crap="2" count="1"/>
<line num="16" type="stmt" count="1"/>
<line num="17" type="stmt" count="1"/>
<line num="18" type="stmt" count="1"/>
<line num="31" type="method" name="get" visibility="public" complexity="5" crap="5" count="3"/>
<line num="31" type="method" name="get" visibility="public" complexity="6" crap="6.02" count="3"/>
<line num="32" type="stmt" count="3"/>
<line num="33" type="stmt" count="1"/>
<line num="39" type="stmt" count="2"/>
<line num="40" type="stmt" count="2"/>
<line num="41" type="stmt" count="2"/>
<line num="42" type="stmt" count="1"/>
<line num="44" type="stmt" count="1"/>
<line num="48" type="stmt" count="1"/>
<line num="63" type="method" name="set" visibility="public" complexity="2" crap="2" count="2"/>
<line num="64" type="stmt" count="2"/>
<line num="65" type="stmt" count="1"/>
<line num="68" 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="84" type="method" name="delete" visibility="public" complexity="2" crap="6" count="0"/>
<line num="85" type="stmt" count="0"/>
<line num="86" type="stmt" count="0"/>
<line num="89" type="stmt" count="0"/>
<line num="101" type="method" name="__call" visibility="public" complexity="2" crap="6" count="0"/>
<line num="102" type="stmt" count="0"/>
<line num="103" type="stmt" count="0"/>
<line num="105" type="stmt" count="0"/>
<metrics loc="108" ncloc="55" classes="1" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="24" coveredstatements="18" elements="29" coveredelements="21"/>
<line num="41" type="stmt" count="0"/>
<line num="49" type="stmt" count="2"/>
<line num="50" type="stmt" count="2"/>
<line num="51" type="stmt" count="2"/>
<line num="52" type="stmt" count="1"/>
<line num="54" type="stmt" count="1"/>
<line num="55" type="stmt" count="1"/>
<line num="62" type="stmt" count="2"/>
<line num="77" type="method" name="set" visibility="public" complexity="3" crap="3" count="3"/>
<line num="78" type="stmt" count="3"/>
<line num="79" type="stmt" count="1"/>
<line num="85" type="stmt" count="2"/>
<line num="86" type="stmt" count="2"/>
<line num="88" type="stmt" count="2"/>
<line num="89" type="stmt" count="2"/>
<line num="90" type="stmt" count="2"/>
<line num="91" type="stmt" count="2"/>
<line num="93" type="stmt" count="2"/>
<line num="95" type="stmt" count="2"/>
<line num="96" type="stmt" count="2"/>
<line num="97" type="stmt" count="2"/>
<line num="100" type="stmt" count="2"/>
<line num="112" type="method" name="delete" visibility="public" complexity="3" crap="12" count="0"/>
<line num="113" type="stmt" count="0"/>
<line num="114" type="stmt" count="0"/>
<line num="122" type="stmt" count="0"/>
<line num="124" type="stmt" count="0"/>
<line num="126" type="stmt" count="0"/>
<line num="133" type="stmt" count="0"/>
<line num="136" type="stmt" count="0"/>
<line num="148" type="method" name="__call" visibility="public" complexity="2" crap="6" count="0"/>
<line num="149" type="stmt" count="0"/>
<line num="150" type="stmt" count="0"/>
<line num="152" type="stmt" count="0"/>
<metrics loc="155" ncloc="81" classes="1" methods="5" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="38" coveredstatements="27" elements="43" coveredelements="29"/>
</file>
<file name="/home/runner/work/wp-module-data/wp-module-data/includes/HiiveConnection.php">
<class name="NewfoldLabs\WP\Module\Data\HiiveConnection" namespace="global">
Expand Down Expand Up @@ -1881,6 +1895,6 @@
<line num="24" type="stmt" count="0"/>
<metrics loc="25" ncloc="25" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="18" coveredstatements="0" elements="18" coveredelements="0"/>
</file>
<metrics files="41" loc="4912" ncloc="3059" classes="36" methods="185" coveredmethods="36" conditionals="0" coveredconditionals="0" statements="1470" coveredstatements="388" elements="1655" coveredelements="424"/>
<metrics files="41" loc="4959" ncloc="3085" classes="36" methods="185" coveredmethods="35" conditionals="0" coveredconditionals="0" statements="1484" coveredstatements="397" elements="1669" coveredelements="432"/>
</project>
</coverage>
Loading

0 comments on commit 41e7de5

Please sign in to comment.