Condition Coverage

blib/lib/WARC/Record/Logical/Heuristics.pm
Criterion Covered Total %
condition 24 24 100.0


and 3 conditions

line !l l&&!r l&&r condition
118 279 8 237 $pieces[$i] =~ /^[0-9]+$/ and length $pieces[$i] < 9
259 86 11 885 $record and !defined($end) || $record->offset <= $end
262 620 41 224 defined $record->field('WARC-Segment-Number') and grep {defined $record->field($_->[0]);} @_
268 842 16 27 defined $record->{'compression'} and not defined $record->{'sl_packed_size'}

or 3 conditions

line l !l&&r !l&&!r condition
259 793 92 11 !defined($end) || $record->offset <= $end
477 1 1 10 &_have_all_segments_p($total_segment_count, @have_segments) or $Effort > $Patience
499 3 1 23 &_have_all_segments_p($total_segment_count, @have_segments) or $Effort > $Patience
532 3 1 29 &_have_all_segments_p($total_segment_count, @have_segments) or $Effort > $Patience