Condition Coverage

blib/lib/MIME/Expander.pm
Criterion Covered Total %
condition 33 46 71.7


and 3 conditions

line !l l&&!r l&&r condition
41 0 299 0 $$ct{'discrete'} and $$ct{'composite'}
82 2 24 1 defined $$self{'expects'} and ref $$self{'expects'} ne 'ARRAY'
104 21 4 1 defined $$self{'depth'} and $$self{'depth'} =~ /\D/
114 22 2 3 defined $$self{'guesser'} and ref $$self{'guesser'} ne 'CODE'
24 2 1 defined $$self{'guesser'} and ref $$self{'guesser'} ne 'CODE' and ref $$self{'guesser'} ne 'ARRAY'
144 1 0 49 $type and $type ne 'application/octet-stream'
215 8 0 1 blessed $data and $data->isa('Email::Simple')
246 20 0 2 $self->depth and $self->depth <= $level

or 2 conditions

line l !l condition
63 3 0 shift() || {}
125 51 0 shift() || {}
147 50 1 $type || 'application/octet-stream'
184 45 0 shift() || {}
211 0 9 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
47 0 18 0 ref $class || $class
187 45 0 0 not $type or $type eq 'application/octet-stream'
233 1 3 42 $limit or $self->is_expected($type)
4 24 18 $limit or $self->is_expected($type) or not $plugin