| blib/lib/PICA/PlainParser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 30 | 60.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 88 | 0 | 218 | 3 | defined $line and not @linebuf |
| 110 | 19 | 0 | 3560 | defined $line and not $self->finished |
| 169 | 507 | 3299 | 0 | $$self{'limit'} && $self->counter >= $$self{'limit'} |
| 197 | 0 | 4016 | 6 | not $$self{'strict'} and $line =~ /^\s*$|^#|^SET/ |
| 198 | 23 | 0 | 4 | $$self{'active'} and @{$$self{'fields'};} |
| 235 | 0 | 0 | 6 | UNIVERSAL::isa($record, 'PICA::Record') and $record->empty |
| line | l | !l | condition |
|---|---|---|---|
| 18 | 9 | 19 | $params{'Limit'} || 0 |
| 0 | 28 | $params{'Offset'} || 0 | |
| 0 | 28 | $params{'strict'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 16 | 0 | 28 | 0 | ref $class || $class |
| 197 | 21 | 0 | 4022 | $line eq "\035" or not $$self{'strict'} and $line =~ /^\s*$|^#|^SET/ |