| blib/lib/Mojolicious/Plugin/NYTProf.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 17 | 25 | 68.0 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 167 | 85 | 1 | 1 | $app->mode eq 'production' and not $nytprof->{'allow_production'} | 
| 178 | 0 | 1 | 85 | $nytprofhtml_path and -e $nytprofhtml_path | 
| 227 | 0 | 0 | 92 | $nytprofhtml_path && -e $nytprofhtml_path | 
| 273 | 2381 | 0 | 0 | $^O eq 'MSWin32' and length $profile > 259 | 
| 370 | 1 | 0 | 7 | $nytprof && $nytprof->attributes->{'profiler_duration'} | 
| line | l | !l | condition | 
|---|---|---|---|
| 184 | 85 | 0 | $nytprof->{'profiles_dir'} || 'nytprof' | 
| 235 | 85 | 0 | $nytprof->{'profiles_dir'} || 'nytprof' | 
| 236 | 81 | 4 | $nytprof->{'pre_hook'} || 'before_routes' | 
| 237 | 81 | 4 | $nytprof->{'post_hook'} || 'around_dispatch' | 
| 238 | 81 | 4 | $nytprof->{'disable'} || 0 |