| blib/lib/MIME/Detect.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 18 | 77.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 109 | 0 | 0 | 3 | $options{'xml'} and not ref $options{'xml'} |
| 380 | 0 | 387 | 1116 | $offset >= $self->offset and $self->offset + $self->length >= $offset + $length |
| line | l | !l | condition |
|---|---|---|---|
| 104 | 1 | 2 | $options{'files'} ||= [] |
| 137 | 5212 | 3127 | $b->priority || 50 |
| 5440 | 2899 | $a->priority || 50 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 146 | 3 | 795 | 0 | $mime_map{$a} ||= $t |
| 355 | 81 | 396 | 1026 | $offset < $self->offset or $self->offset + $self->length < $offset + $length |