| lib/Dancer/Plugin/DynamicConfig.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 22 | 77.2 |
| line | true | false | branch |
|---|---|---|---|
| 40 | 1 | 8 | unless $dynamic_config |
| 42 | 8 | 1 | if (my $fileinfo = $$dynamic_config{$file_key}) { } |
| 45 | 7 | 1 | if (not defined $$fileinfo{'data'} or $mtime > $$fileinfo{'mtime'}) |
| 48 | 7 | 0 | if (defined $parsed) { } |
| 50 | 3 | 4 | $$fileinfo{'rewrite_class'} ? : |
| 53 | 0 | 0 | if $@ |
| 70 | 8 | 11 | if (ref $etc) { } |
| 78 | 18 | 1 | if ($path =~ /$$ft{'re'}/) { } |
| 88 | 8 | 10 | if ($rewrite_class) |
| 89 | 0 | 8 | unless 'Dancer::ModuleLoader'->load($rewrite_class) |
| 106 | 8 | 0 | if (defined &Time::HiRes::stat) { } |