Condition Coverage

blib/lib/Convert/TNEF.pm
Criterion Covered Total %
condition 24 58 41.3


and 3 conditions

line !l l&&!r l&&r condition
291 14 5 0 $is_att and not @atts
19 0 0 $is_att and not @atts and $att_name ne 'AttachRenddata'
332 6 16 0 $is_msg and $is_att
350 0 0 0 substr($att_id, 2) eq $Convert::TNEF::atp{'Date'} and $length == 14
0 0 0 $att_id eq $Convert::TNEF::att{'AttachRenddata'} and $length == 14
468 0 0 3 $$self{$attr} && $$self{$attr}->as_string
474 0 0 1 $$self{$attr} && $$self{$attr}->data

or 2 conditions

line l !l condition
159 0 0 $$parms{'display_after_err'} || 32
467 2 1 shift() || 'AttachData'
473 0 1 shift() || 'AttachTitle'
497 24 0 shift() || 'AttachData'
505 24 0 shift() || 'AttachData'

or 3 conditions

line l !l&&r !l&&!r condition
182 0 0 0 @_ == 2 or @_ == 3
199 1 1 0 @_ == 2 or @_ == 3
217 0 2 0 @_ == 2 or @_ == 3
220 0 2 0 ref $self || $self
254 2 0 0 $is_msg or $is_att
321 22 1 1 $calc_chksum eq $file_chksum or $ignore_checksum
335 16 6 0 $is_msg or $is_att
459 0 3 0 ref $proto || $proto
492 1 0 0 $longname || $self->name