| blib/lib/Mojolicious/Plugin/NYTProf.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 25 | 68.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 153 | 85 | 1 | 1 | $app->mode eq 'production' and not $nytprof->{'allow_production'} |
| 164 | 0 | 1 | 85 | $nytprofhtml_path and -e $nytprofhtml_path |
| 213 | 0 | 0 | 92 | $nytprofhtml_path && -e $nytprofhtml_path |
| 259 | 2381 | 0 | 0 | $^O eq 'MSWin32' and length $profile > 259 |
| 356 | 1 | 0 | 7 | $nytprof && $nytprof->attributes->{'profiler_duration'} |
| line | l | !l | condition |
|---|---|---|---|
| 170 | 85 | 0 | $nytprof->{'profiles_dir'} || 'nytprof' |
| 221 | 85 | 0 | $nytprof->{'profiles_dir'} || 'nytprof' |
| 222 | 81 | 4 | $nytprof->{'pre_hook'} || 'before_routes' |
| 223 | 81 | 4 | $nytprof->{'post_hook'} || 'around_dispatch' |
| 224 | 81 | 4 | $nytprof->{'disable'} || 0 |