| blib/lib/Mojolicious/Plugin/NYTProf.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 25 | 68.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 157 | 85 | 1 | 1 | $app->mode eq 'production' and not $nytprof->{'allow_production'} |
| 168 | 0 | 1 | 85 | $nytprofhtml_path and -e $nytprofhtml_path |
| 217 | 0 | 0 | 92 | $nytprofhtml_path && -e $nytprofhtml_path |
| 263 | 2381 | 0 | 0 | $^O eq 'MSWin32' and length $profile > 259 |
| 360 | 1 | 0 | 7 | $nytprof && $nytprof->attributes->{'profiler_duration'} |
| line | l | !l | condition |
|---|---|---|---|
| 174 | 85 | 0 | $nytprof->{'profiles_dir'} || 'nytprof' |
| 225 | 85 | 0 | $nytprof->{'profiles_dir'} || 'nytprof' |
| 226 | 81 | 4 | $nytprof->{'pre_hook'} || 'before_routes' |
| 227 | 81 | 4 | $nytprof->{'post_hook'} || 'around_dispatch' |
| 228 | 81 | 4 | $nytprof->{'disable'} || 0 |