1<?xml version="1.0"?> 2<phpunit xmlns="http://schema.phpunit.de/coverage/1.0"> 3 <file name="source_with_class_and_anonymous_function.php"> 4 <totals> 5 <lines total="19" comments="2" code="17" executable="8" executed="7" percent="87.50%"/> 6 <methods count="2" tested="1" percent="50.00%"/> 7 <functions count="0" tested="0" percent=""/> 8 <classes count="1" tested="0" percent="0.00%"/> 9 <traits count="0" tested="0" percent=""/> 10 </totals> 11 <class name="CoveredClassWithAnonymousFunctionInStaticMethod" start="3" executable="8" executed="7" crap="2.01"> 12 <package full="" name="" sub="" category=""/> 13 <namespace name=""/> 14 <method name="runAnonymous" signature="runAnonymous()" start="5" end="18" crap="1.04" executable="3" executed="2" coverage="66.666666666667"/> 15 <method name="anonymous function" signature="anonymous function (&$val, $key)" start="11" end="13" crap="1" executable="2" executed="2" coverage="100"/> 16 </class> 17 <coverage> 18 <line nr="7"> 19 <covered by="ClassWithAnonymousFunction"/> 20 </line> 21 <line nr="9"> 22 <covered by="ClassWithAnonymousFunction"/> 23 </line> 24 <line nr="12"> 25 <covered by="ClassWithAnonymousFunction"/> 26 </line> 27 <line nr="13"> 28 <covered by="ClassWithAnonymousFunction"/> 29 </line> 30 <line nr="14"> 31 <covered by="ClassWithAnonymousFunction"/> 32 </line> 33 <line nr="17"> 34 <covered by="ClassWithAnonymousFunction"/> 35 </line> 36 <line nr="18"> 37 <covered by="ClassWithAnonymousFunction"/> 38 </line> 39 </coverage> 40 </file> 41</phpunit> 42