Condition Coverage

blib/lib/Text/Diff.pm
Criterion Covered Total %
condition 23 32 71.8


and 3 conditions

line !l l&&!r l&&r condition
113 0 1 31 not ref $style and $style->can('new')
152 91 16 11 $diffs and ++$ctx > $ctx_lines * 2
158 16 55 47 not $diffs and @ops > $ctx_lines
189 9 0 5 defined $fn1 and defined $fn2
219 12 4 2 $format eq 'unified' && $empty_range
325 3 3 2 $after <= $#$ops and $ops->[$after][2] ne ' '

or 2 conditions

line l !l condition
30 20 12 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
43 4 0 0 $type eq 'GLOB' or UNIVERSAL::isa($seq, 'IO::Handle')
82 1 1 0 $type eq 'GLOB' or UNIVERSAL::isa($output_handler, 'IO::Handle')
247 0 23 0 ref $proto || $proto
326 0 2 0 $bang_it ||= $ops->[$after][2] ne $opcode