| line |
true |
false |
branch |
|
151
|
87 |
1 |
if (my $nytprof = $config->{'nytprof'}) |
|
153
|
1 |
86 |
if $app->mode eq 'production' and not $nytprof->{'allow_production'} |
|
157
|
1 |
85 |
if ($nytprofhtml_path = $nytprof->{'nytprofhtml_path'}) { } |
|
164
|
1 |
85 |
unless $nytprofhtml_path and -e $nytprofhtml_path |
|
173
|
0 |
170 |
unless (-d $dir) |
|
174
|
0 |
0 |
unless mkdir $dir |
|
181
|
4 |
81 |
unless ($nytprof->{'disable'}) |
|
205
|
0 |
92 |
unless (-e $nytprofhtml_path) |
|
213
|
92 |
0 |
$nytprofhtml_path && -e $nytprofhtml_path ? : |
|
240
|
693 |
1695 |
if ($pre_hook eq 'after_build_tx') { } |
|
|
0 |
1695 |
elsif ($pre_hook =~ /around/) { } |
|
248
|
3 |
1692 |
if $c->stash->{'mojo.static'} |
|
251
|
4 |
2381 |
if $path =~ m[^/nytprof] |
|
254
|
0 |
2381 |
if $^O eq 'MSWin32' |
|
259
|
0 |
2381 |
if ($^O eq 'MSWin32' and length $profile > 259) |
|
268
|
5 |
2376 |
unless $disable |
|
269
|
0 |
2381 |
if $pre_hook =~ /around/ |
|
274
|
11 |
2232 |
if $post_hook =~ /around/ |
|
275
|
11 |
2232 |
unless $disable |
|
298
|
1 |
1 |
@profiles ? : |
|
311
|
1 |
1 |
unless $list =~ /No profiles found/ |
|
332
|
0 |
7 |
unless opendir my $dirh, $prof_dir |
|
356
|
7 |
1 |
$nytprof && $nytprof->attributes->{'profiler_duration'} ? : |
|
373
|
1 |
1 |
unless -f $profile |
|
380
|
1 |
2 |
unless (-d $sub_dir) |
|
381
|
0 |
1 |
unless mkdir $sub_dir |
|
388
|
1 |
0 |
unless (-f catfile($htmldir, 'index.html')) |
|
391
|
0 |
1 |
if ($? == -1) { } |
|
|
0 |
1 |
elsif ($? & 127) { } |
|
|
0 |
1 |
elsif ($? != 0) { } |
|
394
|
0 |
0 |
$? & 128 ? : |