| lib/Mojolicious/Plugin/Prove/Controller.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 25 | 28 | 89.2 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 2 | 5 | if ($name and not exists $conf->{$name}) |
| 22 | 1 | 4 | if ($name) { } |
| 50 | 1 | 4 | unless (exists $conf->{$name}) |
| 57 | 8 | 0 | if $_->extname eq 't' |
| 60 | 2 | 2 | unless ($found) |
| 81 | 2 | 6 | unless (exists $conf->{$name}) |
| 93 | 3 | 3 | if ($file) |
| 94 | 0 | 3 | unless $files |
| 96 | 1 | 2 | unless ($found) |
| 102 | 0 | 3 | unless $files |
| 2 | 3 | $found ? : | |
| 108 | 1 | 4 | $accepts =~ /\Ahtml?/u ? : |
| 113 | 1 | 4 | if $format eq 'html' |
| 119 | 1 | 4 | if ($format eq 'html') { } |