1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
<coverage line-rate="0.625" branch-rate="0" lines-covered="5" lines-valid="8" branches-covered="0" branches-valid="0" complexity="5" version="0.4" timestamp="%i">
<sources>
<source>%s</source>
</sources>
<packages>
<package name="BankAccount.php" line-rate="0.625" branch-rate="0" complexity="5">
<classes>
<class name="BankAccount" filename="BankAccount.php" line-rate="0.625" branch-rate="0" complexity="5">
<methods>
<method name="getBalance" signature="" line-rate="1" branch-rate="0" complexity="1">
<lines>
<line number="8" hits="2"/>
</lines>
</method>
<method name="setBalance" signature="$balance" line-rate="0" branch-rate="0" complexity="2">
<lines>
<line number="13" hits="0"/>
<line number="14" hits="0"/>
<line number="16" hits="0"/>
</lines>
</method>
<method name="depositMoney" signature="$balance" line-rate="1" branch-rate="0" complexity="1">
<lines>
<line number="22" hits="2"/>
<line number="24" hits="1"/>
</lines>
</method>
<method name="withdrawMoney" signature="$balance" line-rate="1" branch-rate="0" complexity="1">
<lines>
<line number="29" hits="2"/>
<line number="31" hits="1"/>
</lines>
</method>
</methods>
<lines>
<line number="8" hits="2"/>
<line number="13" hits="0"/>
<line number="14" hits="0"/>
<line number="16" hits="0"/>
<line number="22" hits="2"/>
<line number="24" hits="1"/>
<line number="29" hits="2"/>
<line number="31" hits="1"/>
</lines>
</class>
</classes>
</package>
</packages>
</coverage>
|