Branch Coverage

blib/lib/Test/Mock/Cmd.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
10 14 25 if (@_ == 3 or @_ == 5 or @_ == 7)
14 10 20 if ($k ne 'system' and $k ne 'exec' and $k ne 'qr')
17 2 38 if (ref $override{$k} ne 'CODE' and ref $override{$k} ne 'HASH')
23 10 6 if $override{'system'}
24 12 4 if $override{'exec'}
25 8 8 if $override{'qr'}
30 14 11 if (@_ == 4) { }
10 1 elsif (@_ == 2) { }
32 6 36 if ref $_[$idx] ne 'CODE' and ref $_[$idx] ne 'HASH'
36 1 9 if ref $_[1] ne 'CODE' and ref $_[1] ne 'HASH'
77 56 49 if ref $val eq 'CODE'
80 3 6 if (exists $$val{$_[0]}) { }