Skip to content

Commit

Permalink
Update code coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 28, 2022
1 parent 7e3c8c4 commit 934e38e
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 0 deletions.
160 changes: 160 additions & 0 deletions clover.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1661720182">
<project timestamp="1661720182">
<file name="/home/runner/work/common/common/src/Actions/CreateObjectAction.php">
<class name="Apie\Common\Actions\CreateObjectAction" namespace="global">
<metrics complexity="2" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="5" elements="7" coveredelements="7"/>
</class>
<line num="16" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="2"/>
<line num="23" type="method" name="__invoke" visibility="public" complexity="1" crap="1" count="1"/>
<line num="25" type="stmt" count="1"/>
<line num="27" type="stmt" count="1"/>
<line num="30" type="stmt" count="1"/>
<line num="31" type="stmt" count="1"/>
<metrics loc="34" ncloc="28" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="5" elements="7" coveredelements="7"/>
</file>
<file name="/home/runner/work/common/common/src/Actions/GetItemAction.php">
<class name="Apie\Common\Actions\GetItemAction" namespace="global">
<metrics complexity="3" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="8" elements="11" coveredelements="9"/>
</class>
<line num="20" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
<line num="26" type="method" name="__invoke" visibility="public" complexity="2" crap="2.01" count="1"/>
<line num="28" type="stmt" count="1"/>
<line num="29" type="stmt" count="1"/>
<line num="30" type="stmt" count="1"/>
<line num="31" type="stmt" count="0"/>
<line num="33" type="stmt" count="1"/>
<line num="34" type="stmt" count="1"/>
<line num="35" type="stmt" count="1"/>
<line num="37" type="stmt" count="1"/>
<metrics loc="40" ncloc="34" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="8" elements="11" coveredelements="9"/>
</file>
<file name="/home/runner/work/common/common/src/Actions/GetListAction.php">
<class name="Apie\Common\Actions\GetListAction" namespace="global">
<metrics complexity="3" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="7" elements="10" coveredelements="8"/>
</class>
<line num="19" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
<line num="26" type="method" name="__invoke" visibility="public" complexity="2" crap="2.01" count="1"/>
<line num="28" type="stmt" count="1"/>
<line num="29" type="stmt" count="1"/>
<line num="30" type="stmt" count="0"/>
<line num="32" type="stmt" count="1"/>
<line num="34" type="stmt" count="1"/>
<line num="36" type="stmt" count="1"/>
<line num="37" type="stmt" count="1"/>
<metrics loc="40" ncloc="34" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="7" elements="10" coveredelements="8"/>
</file>
<file name="/home/runner/work/common/common/src/Actions/RunAction.php">
<class name="Apie\Common\Actions\RunAction" namespace="global">
<metrics complexity="3" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="8" elements="11" coveredelements="9"/>
</class>
<line num="16" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
<line num="23" type="method" name="__invoke" visibility="public" complexity="2" crap="2.01" 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="29" type="stmt" count="1"/>
<line num="30" type="stmt" count="1"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="1"/>
<line num="33" type="stmt" count="1"/>
<metrics loc="36" ncloc="30" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="8" elements="11" coveredelements="9"/>
</file>
<file name="/home/runner/work/common/common/src/Actions/RunItemMethodAction.php">
<class name="Apie\Common\Actions\RunItemMethodAction" namespace="global">
<metrics complexity="15" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="21" elements="36" coveredelements="22"/>
</class>
<line num="22" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
<line num="28" type="method" name="__invoke" visibility="public" complexity="5" crap="5.10" count="1"/>
<line num="30" type="stmt" count="1"/>
<line num="31" type="stmt" count="1"/>
<line num="32" type="stmt" count="0"/>
<line num="34" type="stmt" count="1"/>
<line num="35" type="stmt" count="1"/>
<line num="36" type="stmt" count="1"/>
<line num="38" type="stmt" count="1"/>
<line num="39" type="stmt" count="0"/>
<line num="41" type="stmt" count="1"/>
<line num="42" type="stmt" count="1"/>
<line num="43" type="stmt" count="1"/>
<line num="44" type="stmt" count="1"/>
<line num="48" type="stmt" count="1"/>
<line num="54" type="stmt" count="1"/>
<line num="55" type="stmt" count="1"/>
<line num="57" type="stmt" count="1"/>
<line num="60" type="stmt" count="1"/>
<line num="61" type="stmt" count="0"/>
<line num="63" type="stmt" count="1"/>
<line num="72" type="method" name="shouldReturnResource" visibility="public" complexity="5" crap="5.93" count="1"/>
<line num="74" type="stmt" count="1"/>
<line num="75" type="stmt" count="1"/>
<line num="76" type="stmt" count="0"/>
<line num="78" type="stmt" count="1"/>
<line num="79" type="stmt" count="0"/>
<line num="82" type="stmt" count="1"/>
<line num="88" type="method" name="getDisplayNameForMethod" visibility="public" complexity="4" crap="20" count="0"/>
<line num="90" type="stmt" count="0"/>
<line num="91" type="stmt" count="0"/>
<line num="92" type="stmt" count="0"/>
<line num="94" type="stmt" count="0"/>
<line num="95" type="stmt" count="0"/>
<line num="98" type="stmt" count="0"/>
<metrics loc="101" ncloc="86" classes="1" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="32" coveredstatements="21" elements="36" coveredelements="22"/>
</file>
<file name="/home/runner/work/common/common/src/ApieFacade.php">
<class name="Apie\Common\ApieFacade" namespace="global">
<metrics complexity="17" methods="12" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="20" elements="34" coveredelements="30"/>
</class>
<line num="23" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="6"/>
<line num="31" type="method" name="getBoundedContext" visibility="private" complexity="2" crap="2.15" count="4"/>
<line num="33" type="stmt" count="4"/>
<line num="34" type="stmt" count="0"/>
<line num="36" type="stmt" count="4"/>
<line num="44" type="method" name="all" visibility="public" complexity="2" crap="2" count="1"/>
<line num="46" type="stmt" count="1"/>
<line num="47" type="stmt" count="1"/>
<line num="50" type="stmt" count="1"/>
<line num="58" type="method" name="find" visibility="public" complexity="1" crap="1" count="2"/>
<line num="60" type="stmt" count="2"/>
<line num="68" type="method" name="persistNew" visibility="public" complexity="1" crap="1" count="3"/>
<line num="70" type="stmt" count="3"/>
<line num="78" type="method" name="persistExisting" visibility="public" complexity="1" crap="1" count="1"/>
<line num="80" type="stmt" count="1"/>
<line num="83" type="method" name="normalize" visibility="public" complexity="1" crap="1" count="5"/>
<line num="85" type="stmt" count="5"/>
<line num="88" type="method" name="denormalizeNewObject" visibility="public" complexity="1" crap="1" count="1"/>
<line num="90" type="stmt" count="1"/>
<line num="93" type="method" name="denormalizeOnMethodCall" visibility="public" complexity="1" crap="1" count="2"/>
<line num="95" type="stmt" count="2"/>
<line num="98" type="method" name="getAction" visibility="public" complexity="3" crap="3.07" count="6"/>
<line num="100" type="stmt" count="6"/>
<line num="101" type="stmt" count="6"/>
<line num="102" type="stmt" count="6"/>
<line num="103" type="stmt" count="6"/>
<line num="106" type="stmt" count="0"/>
<line num="114" type="method" name="createAction" visibility="private" complexity="1" crap="1" count="6"/>
<line num="116" type="stmt" count="6"/>
<line num="120" type="method" name="getActionsForBoundedContext" visibility="public" complexity="2" crap="2" count="6"/>
<line num="122" type="stmt" count="6"/>
<line num="123" type="stmt" count="6"/>
<line num="126" type="stmt" count="6"/>
<metrics loc="129" ncloc="104" classes="1" methods="12" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="20" elements="34" coveredelements="30"/>
</file>
<file name="/home/runner/work/common/common/src/ApieFacadeAction.php">
<metrics loc="10" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<file name="/home/runner/work/common/common/src/ContextConstants.php">
<class name="Apie\Common\ContextConstants" namespace="global">
<metrics complexity="1" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</class>
<metrics loc="69" ncloc="31" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<file name="/home/runner/work/common/common/src/Tests/Concerns/ProvidesApieFacade.php">
<class name="Apie\Common\Tests\Concerns\ProvidesApieFacade" namespace="global">
<metrics complexity="1" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</class>
<metrics loc="97" ncloc="82" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<metrics files="9" loc="556" ncloc="439" classes="6" methods="24" coveredmethods="16" conditionals="0" coveredconditionals="0" statements="85" coveredstatements="69" elements="109" coveredelements="85"/>
</project>
</coverage>
16 changes: 16 additions & 0 deletions coverage_badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 934e38e

Please sign in to comment.