Branch Coverage

blib/lib/Test/MockCommand/ScalarReadline.pm
Criterion Covered Total %
branch 24 26 92.3


line true false branch
12 0 170 unless wantarray or @_ > 1
15 11 159 if (not defined $_[0] or $_[0] eq '')
16 0 11 if wantarray
22 5 154 unless (defined $/)
23 4 1 if wantarray
29 99 55 if (ref $/ eq 'SCALAR' and ${$/;} > 0)
31 83 16 unless (wantarray)
49 7 48 if ($rs eq '')
55 24 31 unless (wantarray)
57 5 19 if ($found < 0) { }
63 2 17 if ($paras)
74 8 81 if ($paras)
77 20 11 if $pos < length $_[0]