blib/lib/Data/Embed/Writer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 24 | 83.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
26 | 12 | 6 | 37 | defined $output && length $output |
45 | 5 | 1 | 3 | $$self{'input_type'} eq 'file' and $output eq $$self{'input'} |
69 | 14 | 1 | 1 | $$self{'input_type'} eq 'scalar-ref' and refaddr $output eq refaddr($$self{'input'}) |
91 | 4 | 2 | 0 | $$self{'input_type'} eq 'filehandle' && refaddr $output eq refaddr($$self{'input_fh'}) |
157 | 1 | 54 | 0 | scalar @_ && ref $_[0] |
231 | 0 | 99 | 0 | scalar @_ && ref $_[0] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
26 | 18 | 6 | 31 | not defined $output && length $output or $output eq '-' |
244 | 1 | 1 | 1 | not $ref or $ref eq 'SCALAR' |