| blib/lib/MIME/Expander.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 33 | 45 | 73.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 42 | 0 | 50 | 0 | $$ct{'discrete'} and $$ct{'composite'} |
| 89 | 2 | 23 | 1 | defined $$self{'expects'} and ref $$self{'expects'} ne 'ARRAY' |
| 111 | 20 | 4 | 1 | defined $$self{'depth'} and $$self{'depth'} =~ /\D/ |
| 121 | 21 | 2 | 3 | defined $$self{'guesser'} and ref $$self{'guesser'} ne 'CODE' |
| 23 | 2 | 1 | defined $$self{'guesser'} and ref $$self{'guesser'} ne 'CODE' and ref $$self{'guesser'} ne 'ARRAY' | |
| 151 | 1 | 0 | 42 | $type and $type ne 'application/octet-stream' |
| 251 | 16 | 0 | 2 | $self->depth and $self->depth <= $level |
| line | l | !l | condition |
|---|---|---|---|
| 70 | 3 | 0 | shift() || {} |
| 132 | 44 | 0 | shift() || {} |
| 154 | 43 | 1 | $type || 'application/octet-stream' |
| 191 | 38 | 0 | shift() || {} |
| 212 | 0 | 8 | shift() || {} |
| 231 | 19 | 19 | $plugin || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 54 | 0 | 17 | 0 | ref $class || $class |
| 194 | 38 | 0 | 0 | not $type or $type eq 'application/octet-stream' |
| 233 | 1 | 3 | 34 | $limit or $self->is_expected($type) |
| 4 | 19 | 15 | $limit or $self->is_expected($type) or not $plugin |