Condition Coverage

lib/File/ByLine/Object.pm
Criterion Covered Total %
condition 36 42 85.7


and 3 conditions

line !l l&&!r l&&r condition
159 1 49 0 $_[0] and $self->{'header_handler'}
451 34 30 8 $lineno == 1 and $self->_handle_header($f, $_, $part, $fileno - 1)
462 47 0 25 $end > 0 and tell $fh > $end
504 499 87 6 $lineno == 1 and $self->_handle_header($f, $_, $part, $fileno - 1)
226 41 319 not $part and $fileno == 1
267 248 71 not $part and $fileno == 1 and $lineno == 1
289 71 0 not $part and $fileno == 1 and $lineno == 1 and $self->{'header_skip'}
534 323 242 27 $end > 0 and tell $fh > $end
644 361 0 1 not -r $file and $self->{'skip_unreadable'}
678 1 3 106 defined &reftype($thing) and &reftype($thing) eq 'CODE'
679 2 1 1 &blessed($thing) and overload::Method($thing, '&{}')
689 469 0 0 defined &blessed($thing) and overload::Method($thing, '[]')
760 120 1 46 $fileno and not $self->header_all_files

or 3 conditions

line l !l&&r !l&&!r condition
756 5 162 99 $self->header_skip or defined $self->header_handler