Condition Coverage

blib/lib/EBook/Ishmael.pm
Criterion Covered Total %
condition 10 20 50.0


and 3 conditions

line !l l&&!r l&&r condition
201 93 22 0 defined $self->{'Encode'} and not defined &find_encoding($self->{'Encode'})
205 110 5 0 defined $self->{'FileEnc'} and not defined &find_encoding($self->{'FileEnc'})

or 2 conditions

line l !l condition
163 33 0 lc $_[1] || 'ishmael'

or 3 conditions

line l !l&&r !l&&!r condition
162 0 33 0 not $_[1] or exists $META_MODES{lc $_[1]}
180 11 0 0 $self->{'Output'} //= (fileparse($self->{'Ebook'}, qr/\.[^.]*/u))[0] . '.-'
182 11 0 0 $self->{'Output'} //= (fileparse($self->{'Ebook'}, qr/\.[^.]*/u))[0]
184 82 11 0 $self->{'Output'} //= $STDOUT