|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<coverage generated="1610217580"> |
| 3 | + <project timestamp="1610217580"> |
| 4 | + <file name="C:\Users\Niklas Ekman\MyStuff\workspaces\luhn-algorithm\src\Contract\LuhnAlgorithmExceptionInterface.php"> |
| 5 | + <metrics loc="37" ncloc="12" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> |
| 6 | + </file> |
| 7 | + <file name="C:\Users\Niklas Ekman\MyStuff\workspaces\luhn-algorithm\src\Contract\LuhnAlgorithmInterface.php"> |
| 8 | + <metrics loc="67" ncloc="17" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> |
| 9 | + </file> |
| 10 | + <file name="C:\Users\Niklas Ekman\MyStuff\workspaces\luhn-algorithm\src\Contract\NumberInterface.php"> |
| 11 | + <metrics loc="48" ncloc="13" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> |
| 12 | + </file> |
| 13 | + <package name="Nekman\LuhnAlgorithm\Exceptions"> |
| 14 | + <file name="C:\Users\Niklas Ekman\MyStuff\workspaces\luhn-algorithm\src\Exceptions\ArgumentIsNotNumericException.php"> |
| 15 | + <class name="Nekman\LuhnAlgorithm\Exceptions\ArgumentIsNotNumericException" namespace="Nekman\LuhnAlgorithm\Exceptions"> |
| 16 | + <metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="2" elements="3" coveredelements="3"/> |
| 17 | + </class> |
| 18 | + <line num="38" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="8"/> |
| 19 | + <line num="40" type="stmt" count="8"/> |
| 20 | + <line num="41" type="stmt" count="8"/> |
| 21 | + <metrics loc="42" ncloc="17" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="2" elements="3" coveredelements="3"/> |
| 22 | + </file> |
| 23 | + <file name="C:\Users\Niklas Ekman\MyStuff\workspaces\luhn-algorithm\src\Exceptions\MissingCheckDigitException.php"> |
| 24 | + <class name="Nekman\LuhnAlgorithm\Exceptions\MissingCheckDigitException" namespace="Nekman\LuhnAlgorithm\Exceptions"> |
| 25 | + <metrics complexity="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> |
| 26 | + </class> |
| 27 | + <metrics loc="37" ncloc="12" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> |
| 28 | + </file> |
| 29 | + </package> |
| 30 | + <package name="Nekman\LuhnAlgorithm"> |
| 31 | + <file name="C:\Users\Niklas Ekman\MyStuff\workspaces\luhn-algorithm\src\LuhnAlgorithm.php"> |
| 32 | + <class name="Nekman\LuhnAlgorithm\LuhnAlgorithm" namespace="Nekman\LuhnAlgorithm"> |
| 33 | + <metrics complexity="9" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="22" elements="26" coveredelements="26"/> |
| 34 | + </class> |
| 35 | + <line num="44" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="16"/> |
| 36 | + <line num="46" type="stmt" count="16"/> |
| 37 | + <line num="51" type="method" name="isValid" visibility="public" complexity="2" crap="2" count="9"/> |
| 38 | + <line num="53" type="stmt" count="9"/> |
| 39 | + <line num="54" type="stmt" count="3"/> |
| 40 | + <line num="57" type="stmt" count="6"/> |
| 41 | + <line num="59" type="stmt" count="6"/> |
| 42 | + <line num="65" type="method" name="calcChecksum" visibility="public" complexity="4" crap="4" count="12"/> |
| 43 | + <line num="67" type="stmt" count="12"/> |
| 44 | + <line num="68" type="stmt" count="12"/> |
| 45 | + <line num="70" type="stmt" count="12"/> |
| 46 | + <line num="71" type="stmt" count="12"/> |
| 47 | + <line num="73" type="stmt" count="12"/> |
| 48 | + <line num="74" type="stmt" count="12"/> |
| 49 | + <line num="78" type="stmt" count="12"/> |
| 50 | + <line num="79" type="stmt" count="12"/> |
| 51 | + <line num="81" type="stmt" count="12"/> |
| 52 | + <line num="82" type="stmt" count="11"/> |
| 53 | + <line num="86" type="stmt" count="12"/> |
| 54 | + <line num="89" type="stmt" count="12"/> |
| 55 | + <line num="95" type="method" name="calcCheckDigit" visibility="public" complexity="2" crap="2" count="4"/> |
| 56 | + <line num="97" type="stmt" count="4"/> |
| 57 | + <line num="100" type="stmt" count="4"/> |
| 58 | + <line num="102" type="stmt" count="4"/> |
| 59 | + <line num="103" type="stmt" count="1"/> |
| 60 | + <line num="104" type="stmt" count="4"/> |
| 61 | + <metrics loc="106" ncloc="59" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="22" elements="26" coveredelements="26"/> |
| 62 | + </file> |
| 63 | + <file name="C:\Users\Niklas Ekman\MyStuff\workspaces\luhn-algorithm\src\LuhnAlgorithmFactory.php"> |
| 64 | + <class name="Nekman\LuhnAlgorithm\LuhnAlgorithmFactory" namespace="Nekman\LuhnAlgorithm"> |
| 65 | + <metrics complexity="2" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="1" elements="2" coveredelements="2"/> |
| 66 | + </class> |
| 67 | + <line num="50" type="method" name="create" visibility="public" complexity="1" crap="1" count="1"/> |
| 68 | + <line num="52" type="stmt" count="1"/> |
| 69 | + <metrics loc="54" ncloc="19" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="1" elements="2" coveredelements="2"/> |
| 70 | + </file> |
| 71 | + <file name="C:\Users\Niklas Ekman\MyStuff\workspaces\luhn-algorithm\src\Number.php"> |
| 72 | + <class name="Nekman\LuhnAlgorithm\Number" namespace="Nekman\LuhnAlgorithm"> |
| 73 | + <metrics complexity="9" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="18" coveredstatements="18" elements="25" coveredelements="25"/> |
| 74 | + </class> |
| 75 | + <line num="55" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="12"/> |
| 76 | + <line num="57" type="stmt" count="12"/> |
| 77 | + <line num="58" type="stmt" count="4"/> |
| 78 | + <line num="61" type="stmt" count="8"/> |
| 79 | + <line num="62" type="stmt" count="8"/> |
| 80 | + <line num="63" type="stmt" count="8"/> |
| 81 | + <line num="75" type="method" name="fromString" visibility="public" complexity="2" crap="2" count="9"/> |
| 82 | + <line num="77" type="stmt" count="9"/> |
| 83 | + <line num="79" type="stmt" count="9"/> |
| 84 | + <line num="80" type="stmt" count="4"/> |
| 85 | + <line num="83" type="stmt" count="5"/> |
| 86 | + <line num="86" type="stmt" count="5"/> |
| 87 | + <line num="89" type="stmt" count="5"/> |
| 88 | + <line num="91" type="stmt" count="5"/> |
| 89 | + <line num="97" type="method" name="getNumber" visibility="public" complexity="1" crap="1" count="15"/> |
| 90 | + <line num="99" type="stmt" count="15"/> |
| 91 | + <line num="105" type="method" name="getCheckDigit" visibility="public" complexity="1" crap="1" count="12"/> |
| 92 | + <line num="107" type="stmt" count="12"/> |
| 93 | + <line num="114" type="method" name="__toString" visibility="public" complexity="1" crap="1" count="1"/> |
| 94 | + <line num="116" type="stmt" count="1"/> |
| 95 | + <line num="119" type="method" name="serialize" visibility="public" complexity="1" crap="1" count="1"/> |
| 96 | + <line num="121" type="stmt" count="1"/> |
| 97 | + <line num="124" type="method" name="unserialize" visibility="public" complexity="1" crap="1" count="1"/> |
| 98 | + <line num="126" type="stmt" count="1"/> |
| 99 | + <line num="127" type="stmt" count="1"/> |
| 100 | + <metrics loc="128" ncloc="68" classes="1" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="18" coveredstatements="18" elements="25" coveredelements="25"/> |
| 101 | + </file> |
| 102 | + </package> |
| 103 | + <metrics files="8" loc="519" ncloc="217" classes="4" methods="13" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="43" coveredstatements="43" elements="56" coveredelements="56"/> |
| 104 | + </project> |
| 105 | +</coverage> |
0 commit comments