class-with-anonymous-function-clover.xml 1.4 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <coverage generated="%i">
  3. <project timestamp="%i">
  4. <file name="%s/source_with_class_and_anonymous_function.php">
  5. <class name="CoveredClassWithAnonymousFunctionInStaticMethod" namespace="global">
  6. <metrics complexity="2" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="4" elements="7" coveredelements="5"/>
  7. </class>
  8. <line num="5" type="method" name="runAnonymous" visibility="public" complexity="1" crap="1.04" count="1"/>
  9. <line num="7" type="stmt" count="1"/>
  10. <line num="9" type="stmt" count="1"/>
  11. <line num="10" type="stmt" count="0"/>
  12. <line num="11" type="method" name="anonymous function" complexity="1" crap="1" count="1"/>
  13. <line num="12" type="stmt" count="1"/>
  14. <line num="13" type="stmt" count="1"/>
  15. <line num="14" type="stmt" count="1"/>
  16. <line num="17" type="stmt" count="1"/>
  17. <line num="18" type="stmt" count="1"/>
  18. <metrics loc="19" ncloc="17" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="7" elements="10" coveredelements="8"/>
  19. </file>
  20. <metrics files="1" loc="19" ncloc="17" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="7" elements="10" coveredelements="8"/>
  21. </project>
  22. </coverage>