Condition Coverage

blib/lib/Data/Header/Fields.pm
Criterion Covered Total %
condition 16 32 50.0


and 3 conditions

line !l l&&!r l&&r condition
233 0 0 2 ref $a and $a->can('encode')
234 2 0 0 ref $b and $b->can('encode')
302 73 0 129 ref $$self{'parent'} and not isweak($$self{'parent'})
329 0 0 25 ref $a and $a->can('as_string')
330 23 0 2 ref $b and $b->can('as_string')
404 6 0 115 ref $$line{'parent'} and not isweak($$line{'parent'})
460 0 0 3 ref $a and $a->can('as_string')
461 3 0 0 ref $b and $b->can('as_string')

or 2 conditions

line l !l condition
65 17 0 $lines[0] || ''

or 3 conditions

line l !l&&r !l&&!r condition
117 18 0 17 shift() || (ref $self ? $self->_lines : undef)
241 1 0 3 shift() || (ref $self ? $self->_lines : [])