| blib/lib/Biblio/Citation/Parser/Jiao/Utility.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 22 | 45.4 |
| line | true | false | branch |
|---|---|---|---|
| 87 | 0 | 0 | if ($c < 128 or $c > 255) { } |
| 134 | 0 | 1 | if ($Text =~ s/[, \.]+(Jr|Sr|Snr)\.?\s*$//i) { } |
| 0 | 1 | elsif ($Text =~ s/([, \.]+)(Jr|Sr|Snr)[. ]/$1/i) { } | |
| 142 | 0 | 1 | if ($Text =~ /^\s*(((van|von|de|den|der)\s+)+)(\S\S+)\s+(.+)/i) |
| 152 | 0 | 1 | if ($Text =~ /^([^\s.]{2,})\s+(([A-Z][a-zA-Z]?\W+)*)([A-Z][a-zA-Z]?)\W*$/) |
| 156 | 0 | 1 | if $Suffix |
| 184 | 1 | 0 | if $author = lc $author |
| 254 | 0 | 3 | if $2 =~ /^th$/i |
| 255 | 0 | 3 | if $' =~ /^\.\d+/ |
| 256 | 0 | 3 | if $` =~ /\d+\.$/ |
| 257 | 0 | 3 | if $` =~ m[[=<>/-]\s*$] |