|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<coverage generated="1629064049"> |
| 3 | + <project timestamp="1629064049"> |
| 4 | + <package name="PHPMD"> |
| 5 | + <file name="/var/www/html/src/main/php/PHPMD/AbstractNode.php"> |
| 6 | + <class name="AbstractNode" namespace="PHPMD"> |
| 7 | + <metrics complexity="32" methods="18" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="43" elements="67" coveredelements="56"/> |
| 8 | + </class> |
| 9 | + <line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="95"/> |
| 10 | + <line num="50" type="stmt" count="95"/> |
| 11 | + <line num="63" type="method" name="__call" visibility="public" complexity="2" crap="2.26" count="45"/> |
| 12 | + <line num="65" type="stmt" count="45"/> |
| 13 | + <line num="66" type="stmt" count="45"/> |
| 14 | + <line num="67" type="stmt" count="0"/> |
| 15 | + <line num="68" type="stmt" count="0"/> |
| 16 | + <line num="72" type="stmt" count="45"/> |
| 17 | + <line num="81" type="method" name="getParent" visibility="public" complexity="2" crap="2.06" count="29"/> |
| 18 | + <line num="83" type="stmt" count="29"/> |
| 19 | + <line num="84" type="stmt" count="29"/> |
| 20 | + <line num="85" type="stmt" count="0"/> |
| 21 | + <line num="88" type="stmt" count="29"/> |
| 22 | + <line num="97" type="method" name="getChild" visibility="public" complexity="1" crap="1" count="23"/> |
| 23 | + <line num="99" type="stmt" count="23"/> |
| 24 | + <line num="100" type="stmt" count="23"/> |
| 25 | + <line num="101" type="stmt" count="23"/> |
| 26 | + <line num="112" type="method" name="getFirstChildOfType" visibility="public" complexity="2" crap="2.06" count="37"/> |
| 27 | + <line num="114" type="stmt" count="37"/> |
| 28 | + <line num="116" type="stmt" count="37"/> |
| 29 | + <line num="117" type="stmt" count="0"/> |
| 30 | + <line num="120" type="stmt" count="37"/> |
| 31 | + <line num="130" type="method" name="findChildrenOfType" visibility="public" complexity="2" crap="2" count="78"/> |
| 32 | + <line num="132" type="stmt" count="78"/> |
| 33 | + <line num="134" type="stmt" count="78"/> |
| 34 | + <line num="136" type="stmt" count="78"/> |
| 35 | + <line num="137" type="stmt" count="72"/> |
| 36 | + <line num="140" type="stmt" count="78"/> |
| 37 | + <line num="150" type="method" name="findChildrenWithParentType" visibility="public" complexity="3" crap="3" count="21"/> |
| 38 | + <line num="152" type="stmt" count="21"/> |
| 39 | + <line num="154" type="stmt" count="21"/> |
| 40 | + <line num="156" type="stmt" count="21"/> |
| 41 | + <line num="157" type="stmt" count="8"/> |
| 42 | + <line num="158" type="stmt" count="8"/> |
| 43 | + <line num="162" type="stmt" count="21"/> |
| 44 | + <line num="171" type="method" name="findChildrenOfTypeVariable" visibility="public" complexity="1" crap="1" count="23"/> |
| 45 | + <line num="173" type="stmt" count="23"/> |
| 46 | + <line num="182" type="method" name="isInstanceOf" visibility="public" complexity="1" crap="1" count="2"/> |
| 47 | + <line num="184" type="stmt" count="2"/> |
| 48 | + <line num="186" type="stmt" count="2"/> |
| 49 | + <line num="194" type="method" name="getImage" visibility="public" complexity="1" crap="1" count="4"/> |
| 50 | + <line num="196" type="stmt" count="4"/> |
| 51 | + <line num="205" type="method" name="getName" visibility="public" complexity="1" crap="1" count="28"/> |
| 52 | + <line num="207" type="stmt" count="28"/> |
| 53 | + <line num="215" type="method" name="getBeginLine" visibility="public" complexity="1" crap="1" count="16"/> |
| 54 | + <line num="217" type="stmt" count="16"/> |
| 55 | + <line num="225" type="method" name="getEndLine" visibility="public" complexity="1" crap="2" count="0"/> |
| 56 | + <line num="227" type="stmt" count="0"/> |
| 57 | + <line num="235" type="method" name="getFileName" visibility="public" complexity="3" crap="3" count="75"/> |
| 58 | + <line num="237" type="stmt" count="75"/> |
| 59 | + <line num="238" type="stmt" count="75"/> |
| 60 | + <line num="239" type="stmt" count="75"/> |
| 61 | + <line num="241" type="stmt" count="75"/> |
| 62 | + <line num="242" type="stmt" count="75"/> |
| 63 | + <line num="243" type="stmt" count="75"/> |
| 64 | + <line num="251" type="method" name="getNode" visibility="public" complexity="1" crap="1" count="72"/> |
| 65 | + <line num="253" type="stmt" count="72"/> |
| 66 | + <line num="261" type="method" name="getType" visibility="public" complexity="1" crap="1" count="3"/> |
| 67 | + <line num="263" type="stmt" count="3"/> |
| 68 | + <line num="265" type="stmt" count="3"/> |
| 69 | + <line num="275" type="method" name="getMetric" visibility="public" complexity="2" crap="2.15" count="3"/> |
| 70 | + <line num="277" type="stmt" count="3"/> |
| 71 | + <line num="278" type="stmt" count="3"/> |
| 72 | + <line num="281" type="stmt" count="0"/> |
| 73 | + <line num="290" type="method" name="setMetrics" visibility="public" complexity="2" crap="2" count="6"/> |
| 74 | + <line num="292" type="stmt" count="6"/> |
| 75 | + <line num="293" type="stmt" count="6"/> |
| 76 | + <metrics loc="328" ncloc="166" classes="1" methods="18" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="49" coveredstatements="43" elements="67" coveredelements="56"/> |
| 77 | + </file> |
| 78 | + </package> |
| 79 | + <metrics files="101" loc="11932" ncloc="6615" classes="91" methods="437" coveredmethods="354" conditionals="0" coveredconditionals="0" statements="2156" coveredstatements="1898" elements="2593" coveredelements="2252"/> |
| 80 | + </project> |
| 81 | +</coverage> |
0 commit comments