Condition Coverage

blib/lib/Treex/Block/Write/BaseWriter.pm
Criterion Covered Total %
condition 8 27 29.6


and 3 conditions

line !l l&&!r l&&r condition
87 0 1 0 $self->scenario and $self->scenario->runner
1 0 0 $self->scenario and $self->scenario->runner and $self->scenario->runner->jobindex
89 0 0 0 defined $self->to and $self->to ne '-'
0 0 0 defined $self->to and $self->to ne '-' and $self->to ne '.'
153 0 0 1 defined $self->to and $self->to ne '.'
274 1 1 0 defined $self->_file_handle and !defined($self->_last_filename) || $self->_last_filename ne '-'
294 1 0 0 defined $self->_last_filename and $filename eq $self->_last_filename
1 0 0 defined $self->_last_filename and $filename eq $self->_last_filename and not $filename =~ /__FAKE_OUTPUT__/

or 3 conditions

line l !l&&r !l&&!r condition
274 0 0 1 !defined($self->_last_filename) || $self->_last_filename ne '-'