Condition Coverage

blib/lib/File/MergeSort.pm
Criterion Covered Total %
condition 16 24 66.6


and 3 conditions

line !l l&&!r l&&r condition
61 2 17 4 defined $line && $line =~ /^$/
95 3 1 8 ref $files_ref eq 'ARRAY' and @{$files_ref;}
103 6 1 0 $opts_ref and ref $opts_ref ne 'HASH'
186 16 13 12 $$_{'index'} eq $$pick{'index'} and $$pick{'pref'} <= $$_{'pref'}

or 3 conditions

line l !l&&r !l&&!r condition
26 15 0 0 shift() || croak('No filename specified')
56 82 0 0 shift() || croak('No filehandle supplied')
75 68 0 0 shift() || croak('No line supplied')
186 15 0 41 $$_{'index'} gt $$pick{'index'} or $$_{'index'} eq $$pick{'index'} and $$pick{'pref'} <= $$_{'pref'}