lib/Perlmazing/Perlmazing/Precompile/merge.pm

filter: Statementstmt 100% 7 / 7 Branchbran 100% 2 / 2 Conditioncond 66.6% 2 / 3 MC/DCmcdc 50.0% 1 / 2 Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 87.5% 14 / 16 CC 3 SCAR 9.2
CC
3
Cov
92%
main
3.0
BEGIN
1.0
CRAP 2.5
« lib/Perlmazing/Perlmazing/stat.pm ↑ Summary lib/Perlmazing/Feature.pm »
1 30 ▶use Perlmazing;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 1 ▶sub main (\%@) {
Subroutine main: called CC=3 SCAR=11.0
4 1 my $h = shift;
5 1 ▶ while (@_ and my ($k, $v) = (shift @_, shift @_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_ and () = (shift @_, shift @_)) 6 1 7
Condition66%2/3
@_ and () = (shift @_, shift @_)
!ll&&!rl&&r
106
MC/DC50%1/2
@_ and () = (shift @_, shift @_)
@_ () = (shift @_, shift @_)
Truth table66%2/3
A and B
A= @_B= () = (shift @_, shift @_)
ABresult
0X0
100
111
6 6 $h->{$k} = $v;
7 }
8 1 %$h;
9 }
10  
« lib/Perlmazing/Perlmazing/stat.pm ↑ Summary lib/Perlmazing/Feature.pm »