| blib/lib/WWW/CPANRatings.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 18 | 55.5 |
| line | true | false | branch |
|---|---|---|---|
| 45 | 0 | 1 | if ($arg and -e $arg) { } |
| 0 | 2 | elsif ($arg and $arg =~ /^http/) { } | |
| 55 | 1 | 0 | unless ($text) |
| 69 | 0 | 3007 | unless $status |
| 84 | 1 | 1 | unless $$self{'rating_data'} |
| 102 | 0 | 1 | unless $content |
| 103 | 0 | 1 | unless $content =~ /$modname reviews/ |
| 157 | 22 | 0 | if ($$review{'header'} =~ /^\s*([a-zA-Z:]+)\s+\(([0-9.]+)\)\s*$/) |
| 164 | 0 | 22 | if ($$review{'attrs'} =~ /([0-9-T:]+)\s*$/) |