Condition Coverage

blib/lib/Data/Embed/Writer.pm
Criterion Covered Total %
condition 20 24 83.3


and 3 conditions

line !l l&&!r l&&r condition
21 12 6 44 defined $output && length $output
40 5 1 3 $self->{'input_type'} eq 'file' and $output eq $self->{'input'}
64 14 1 7 $self->{'input_type'} eq 'scalar-ref' and &refaddr($output) eq &refaddr($self->{'input'})
89 5 2 0 $self->{'input_type'} eq 'filehandle' && &refaddr($output) eq &refaddr($self->{'input_fh'})
219 1 61 0 scalar @_ && ref $_[0]
238 0 106 0 scalar @_ && ref $_[0]

or 3 conditions

line l !l&&r !l&&!r condition
21 18 6 38 not defined $output && length $output or $output eq '-'
260 1 1 1 not $ref or $ref eq 'SCALAR'