Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
Total | |
55.56% |
5 / 9 |
|
42.86% |
3 / 7 |
|
60.00% |
3 / 5 |
|
75.00% |
3 / 4 |
CRAP | |
0.00% |
0 / 1 |
BankAccount | |
55.56% |
5 / 9 |
|
42.86% |
3 / 7 |
|
60.00% |
3 / 5 |
|
75.00% |
3 / 4 |
6.60 | |
0.00% |
0 / 1 |
getBalance | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
setBalance | |
0.00% |
0 / 4 |
|
0.00% |
0 / 4 |
|
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
6 | |||
depositMoney | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
withdrawMoney | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | %s |
2 | %s |
3 | %s |
4 | %s |
5 | |
6 | %s |
7 | %s |
8 | %s |
9 | %s |
10 | |
11 | %s |
12 | %s |
13 | %s |
14 | %s |
15 | %s |
16 | %s |
17 | %s |
18 | %s |
19 | |
20 | %s |
21 | %s |
22 | %s |
23 | |
24 | %s |
25 | %s |
26 | |
27 | %s |
28 | %s |
29 | %s |
30 | |
31 | %s |
32 | return $this->getBalance(); |
33 | } |
34 | } |
%s %s %s %s
20 | %s |
21 | %s |
22 | %s |
23 | |
24 | %s |
25 | %s |
6 | %s |
7 | %s |
8 | %s |
9 | %s |
11 | %s |
12 | %s |
13 | %s |
14 | %s |
16 | %s |
18 | %s |
27 | %s |
28 | %s |
29 | %s |
30 | |
31 | %s |
32 | %s |