File tree 4 files changed +4
-4
lines changed
HTML/CoverageForBankAccount
XML/CoverageForBankAccount
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ private function processFunctions(\PHP_Token_Stream $tokens): void
578
578
579
579
private function crap (int $ ccn , float $ coverage ): string
580
580
{
581
- if ($ coverage === 0 ) {
581
+ if ($ coverage === 0.0 ) {
582
582
return (string ) ($ ccn ** 2 + $ ccn );
583
583
}
584
584
Original file line number Diff line number Diff line change 7
7
</class >
8
8
<line num =" 6" type =" method" name =" getBalance" signature =" getBalance" visibility =" public" complexity =" 1" crap =" 1" count =" 2" />
9
9
<line num =" 8" type =" stmt" count =" 2" />
10
- <line num =" 11" type =" method" name =" setBalance" signature =" setBalance" visibility =" protected" complexity =" 2" crap =" 6.00 " count =" 0" />
10
+ <line num =" 11" type =" method" name =" setBalance" signature =" setBalance" visibility =" protected" complexity =" 2" crap =" 6" count =" 0" />
11
11
<line num =" 13" type =" stmt" count =" 0" />
12
12
<line num =" 14" type =" stmt" count =" 0" />
13
13
<line num =" 15" type =" stmt" count =" 0" />
Original file line number Diff line number Diff line change 130
130
</ td >
131
131
< td class ="danger small "> < div align ="right "> 0.00%</ div > </ td >
132
132
< td class ="danger small "> < div align ="right "> 0 / 1</ div > </ td >
133
- < td class ="danger small "> 6.00 </ td >
133
+ < td class ="danger small "> 6</ td >
134
134
< td class ="danger big "> < div class ="progress ">
135
135
< div class ="progress-bar bg-danger " role ="progressbar " aria-valuenow ="0.00 " aria-valuemin ="0 " aria-valuemax ="100 " style ="width: 0.00% ">
136
136
< span class ="sr-only "> 0.00% covered (danger)</ span >
Original file line number Diff line number Diff line change 12
12
<package full =" " name =" " sub =" " category =" " />
13
13
<namespace name =" " />
14
14
<method name =" getBalance" signature =" getBalance()" start =" 6" end =" 9" crap =" 1" executable =" 1" executed =" 1" coverage =" 100" />
15
- <method name =" setBalance" signature =" setBalance($balance)" start =" 11" end =" 18" crap =" 6.00 " executable =" 5" executed =" 0" coverage =" 0" />
15
+ <method name =" setBalance" signature =" setBalance($balance)" start =" 11" end =" 18" crap =" 6" executable =" 5" executed =" 0" coverage =" 0" />
16
16
<method name =" depositMoney" signature =" depositMoney($balance)" start =" 20" end =" 25" crap =" 1" executable =" 2" executed =" 2" coverage =" 100" />
17
17
<method name =" withdrawMoney" signature =" withdrawMoney($balance)" start =" 27" end =" 32" crap =" 1" executable =" 2" executed =" 2" coverage =" 100" />
18
18
</class >
You can’t perform that action at this time.
0 commit comments