blib/lib/PICA/Path.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 29 | 51.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
35 | 2 | 0 | 0 | not $from and $dash |
70 | 0 | 0 | 0 | $field->[0] =~ /$self->[0]/ and !$self->[1] || defined $field->[1] && $field->[1] =~ /$self->[1]/ |
139 | 0 | 5 | 4 | defined $subfields and $subfields ne '[_A-Za-z0-9]' |
141 | 3 | 0 | 1 | $short and not $subfields =~ /^\$/ |
152 | 0 | 1 | 1 | $length == 1 and not $from |
line | l | !l | condition |
---|---|---|---|
93 | 2 | 0 | $value // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
31 | 5 | 0 | 1 | $from // $to |
47 | 3 | 4 | 0 | not defined $length or $length >= 1 |
48 | 5 | 1 | 1 | $from or defined $length |
70 | 0 | 0 | 0 | !$self->[1] || defined $field->[1] && $field->[1] =~ /$self->[1]/ |