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 8 22 if ($k ne 'system' and $k ne 'exec' and $k ne 'qx')
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 10 6 if $override{'qx'}
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 57 50 if ref $val eq 'CODE'
80 3 6 if (exists $$val{$_[0]}) { }