Branch Coverage

blib/lib/SuperSplit.pm
Criterion Covered Total %
branch 15 44 34.0


line true false branch
241 0 0 unless ref $limit_array eq 'ARRAY'
244 0 0 unless ref $separator_array eq 'ARRAY'
250 0 0 unless ref $input eq 'HASH'
251 0 0 unless my $limit_array = $$input{'limits'}
252 0 0 unless my $separator_array = $$input{'separators'}
256 0 0 if $$input{'string'}
258 0 0 if $$input{'filehandle'}
259 0 0 if $$input{'open'}
267 1 0 unless $_[0]
268 1 0 unless $_[1]
274 0 1 unless (defined $fh)
278 1 0 unless do { local $/ = undef; join '', <$fh> }
286 0 3 scalar @SuperSplit::limit ? :
288 1 2 if (@_)
296 0 1 if /^-?\d+$/s
297 0 1 if (scalar @SuperSplit::limit)
312 0 0 unless $text
317 1 0 if @_ < 1
318 1 0 if @_ < 2
319 0 1 unless ref $array_ref eq 'ARRAY'
320 0 1 unless ref($$array_ref[0]) =~ /ARRAY/
328 1 2 if (@_)