菜谱项目

BankAccount-clover.xml 1.7KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <coverage generated="%i">
  3. <project timestamp="%i" name="BankAccount">
  4. <file name="%s/BankAccount.php">
  5. <class name="BankAccount" namespace="global">
  6. <metrics complexity="5" methods="4" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="5" elements="14" coveredelements="8"/>
  7. </class>
  8. <line num="6" type="method" name="getBalance" visibility="public" complexity="1" crap="1" count="2"/>
  9. <line num="8" type="stmt" count="2"/>
  10. <line num="11" type="method" name="setBalance" visibility="protected" complexity="2" crap="6" count="0"/>
  11. <line num="13" type="stmt" count="0"/>
  12. <line num="14" type="stmt" count="0"/>
  13. <line num="15" type="stmt" count="0"/>
  14. <line num="16" type="stmt" count="0"/>
  15. <line num="18" type="stmt" count="0"/>
  16. <line num="20" type="method" name="depositMoney" visibility="public" complexity="1" crap="1" count="2"/>
  17. <line num="22" type="stmt" count="2"/>
  18. <line num="24" type="stmt" count="1"/>
  19. <line num="27" type="method" name="withdrawMoney" visibility="public" complexity="1" crap="1" count="2"/>
  20. <line num="29" type="stmt" count="2"/>
  21. <line num="31" type="stmt" count="1"/>
  22. <metrics loc="33" ncloc="33" classes="1" methods="4" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="5" elements="14" coveredelements="8"/>
  23. </file>
  24. <metrics files="1" loc="33" ncloc="33" classes="1" methods="4" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="5" elements="14" coveredelements="8"/>
  25. </project>
  26. </coverage>