菜谱项目

class-with-anonymous-function-crap4j.xml 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <crap_result>
  3. <project>CoverageForClassWithAnonymousFunction</project>
  4. <timestamp>%s</timestamp>
  5. <stats>
  6. <name>Method Crap Stats</name>
  7. <methodCount>2</methodCount>
  8. <crapMethodCount>0</crapMethodCount>
  9. <crapLoad>0</crapLoad>
  10. <totalCrap>2.04</totalCrap>
  11. <crapMethodPercent>0</crapMethodPercent>
  12. </stats>
  13. <methods>
  14. <method>
  15. <package>global</package>
  16. <className>CoveredClassWithAnonymousFunctionInStaticMethod</className>
  17. <methodName>runAnonymous</methodName>
  18. <methodSignature>runAnonymous()</methodSignature>
  19. <fullMethod>runAnonymous()</fullMethod>
  20. <crap>1.04</crap>
  21. <complexity>1</complexity>
  22. <coverage>66.67</coverage>
  23. <crapLoad>0</crapLoad>
  24. </method>
  25. <method>
  26. <package>global</package>
  27. <className>CoveredClassWithAnonymousFunctionInStaticMethod</className>
  28. <methodName>anonymous function</methodName>
  29. <methodSignature>anonymous function (&amp;$val, $key)</methodSignature>
  30. <fullMethod>anonymous function (&amp;$val, $key)</fullMethod>
  31. <crap>1</crap>
  32. <complexity>1</complexity>
  33. <coverage>100</coverage>
  34. <crapLoad>0</crapLoad>
  35. </method>
  36. </methods>
  37. </crap_result>