| lib/Mojolicious/Plugin/Prove/Controller.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 22 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 2 | 5 | if ($name and not exists $conf->{$name}) |
| 25 | 1 | 4 | if ($name) { } |
| 49 | 1 | 4 | unless (exists $conf->{$name}) |
| 58 | 2 | 2 | unless ($found) |
| 78 | 2 | 6 | unless (exists $conf->{$name}) |
| 86 | 3 | 3 | if ($file) |
| 89 | 1 | 2 | unless ($found) |
| 95 | 2 | 3 | $found ? : |
| 101 | 1 | 4 | $accepts =~ /\Ahtml?/ ? : |
| 106 | 1 | 4 | if $format eq 'html' |
| 112 | 1 | 4 | if ($format eq 'html') { } |