| line |
true |
false |
branch |
|
64
|
0 |
3 |
unless defined $self->enable_reporting |
|
69
|
2 |
1 |
unless $self->enable_profile |
|
75
|
2 |
1 |
unless is_code_ref($self->profiling_result_dir) |
|
81
|
3 |
0 |
unless is_code_ref($self->report_dir) |
|
86
|
0 |
3 |
if $self->nytprofhtml_path |
|
87
|
0 |
3 |
unless my $nytprofhtml_path = File::Which::which('nytprofhtml') |
|
95
|
3 |
0 |
unless is_code_ref($self->generate_profile_id) |
|
102
|
2 |
1 |
unless is_code_ref($self->profiling_result_file_name) |
|
108
|
3 |
0 |
unless $self->nullfile_name |
|
114
|
3 |
0 |
unless is_code_ref($self->before_profile) |
|
116
|
3 |
0 |
unless is_code_ref($self->after_profile) |
|
128
|
3 |
0 |
if (ref $res and ref $res eq 'ARRAY') |
|
139
|
0 |
0 |
unless (defined $chunk) |
|
152
|
1 |
2 |
unless $is_profiler_enabled |
|
162
|
1 |
2 |
unless $is_profiler_enabled |
|
165
|
0 |
2 |
if $self->enable_reporting |
|
173
|
0 |
3 |
if $PROFILER_SETUPED{$pid} |
|
177
|
1 |
2 |
unless $is_profiler_enabled |
|
179
|
0 |
2 |
if $NYTPROF_LOADED |
|
201
|
0 |
0 |
unless $$env{'PROFILE_ID'} |
|
206
|
0 |
0 |
unless -f $profiling_result_file |
|
229
|
2 |
16 |
ref $ref eq 'CODE' ? : |
|
233
|
2 |
1 |
if defined &{'DB::finish_profile';} |