Condition Coverage

blib/lib/WARC/Record/Logical/Block.pm
Criterion Covered Total %
condition 28 29 96.5


and 3 conditions

line !l l&&!r l&&r condition
33 5 57 0 $self->[2] and UNIVERSAL::can(tied *{$self->[2];}, '_dbg_dump')
93 2 9 13 defined $input && ($para .= $input) || $self->_next_segment and "\n\n" ne substr($para, -2)
101 3 3 2 defined($ch = $self->GETC) and $ch eq "\n"
113 5 22 51 defined $input && ($line .= $input) || $self->_next_segment and $/ ne substr($line, -length($/))
147 64 19 84 $length and $count || $self->_next_segment
205 2 15 6 $npos >= $segments->[$i][2] and $npos < $segments->[$i][2] + $segments->[$i][1]

or 2 conditions

line l !l condition
142 1 69 $_[2] || 0

or 3 conditions

line l !l&&r !l&&!r condition
93 16 6 2 defined $input && ($para .= $input) || $self->_next_segment
113 50 23 5 defined $input && ($line .= $input) || $self->_next_segment
147 76 23 4 $count || $self->_next_segment