| blib/lib/Pod/Links.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 39 | 20.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 20 | 2 | 0 | 0 | exists $$sec{$link} and $link =~ /^(.*)$/ |
| 1 | 0 | 0 | not $link =~ m[/] and $link =~ /^(.*\s.*)$/ | |
| 79 | 0 | 0 | 0 | $command eq 'item' and not $expansion =~ /^(\*|\d+\.)/ |
| 81 | 0 | 0 | 0 | $command eq 'head1' && $expansion eq 'NAME' |
| 82 | 0 | 0 | 0 | $command eq 'item' and $expansion =~ /\s/ |
| 127 | 0 | 0 | 0 | defined $name and length $name |
| 255 | 0 | 0 | 0 | $f & 4 and not $f & 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 20 | 0 | 0 | 2 | exists $$sec{$link} and $link =~ /^(.*)$/ or $link =~ /^"(.*)"$/ |
| 0 | 1 | 1 | exists $$sec{$link} and $link =~ /^(.*)$/ or $link =~ /^"(.*)"$/ or $link =~ m[^/"?(.*?)"?$] | |
| 1 | 0 | 1 | exists $$sec{$link} and $link =~ /^(.*)$/ or $link =~ /^"(.*)"$/ or $link =~ m[^/"?(.*?)"?$] or not $link =~ m[/] and $link =~ /^(.*\s.*)$/ | |
| 24 | 1 | 0 | 0 | $1 || $link |
| 79 | 0 | 0 | 0 | $command =~ /^(head\d)/ or $command eq 'item' and not $expansion =~ /^(\*|\d+\.)/ |
| 126 | 0 | 0 | 0 | $sec or $name |