Branch Coverage

blib/lib/Devel/NYTProf/FileInfo.pm
Criterion Covered Total %
branch 62 96 64.5


line true false branch
51 0 30 +(shift())->[8] ? :
68 3230 848 unless my $eval_fis = $self->[9]
70 752 96 unless $include_nested
84 1 0 unless my $parent_fi = $self->eval_fi
102 0 1561 if $incl_nested_evals
116 0 256 unless delete $self->[10]{$subname}
126 0 240 if $existing_si
203 468 0 if $fid_ary and $fid_ary->[$fid]
214 13 6 unless $_
224 0 16 if $incl_nested_evals
228 16 0 unless defined $$ref
237 0 16 if $incl_nested_evals
241 16 0 unless defined $$ref
258 1 0 unless my $fi = $self->eval_fi
266 0 0 unless wantarray
281 224 0 unless $_->eval_fid != $survivor_fi->eval_fid
0 192 if grep {$_->eval_line != $survivor_fi->eval_line unless $_->eval_fid != $survivor_fi->eval_fid;} @donors
294 0 224 if trace_level() >= 3
299 0 224 if $donor_fi->has_evals
305 128 96 if (my(@subs_defined) = $donor_fi->subs_defined)
308 0 128 if trace_level() >= 4
312 0 128 if trace_level() >= 4
320 224 0 if (my $sub_call_lines = $donor_fi->sub_call_lines)
347 224 320 unless my $d_tld_l = $d_ltd->[$line]
356 0 224 if $donor_fi->src_digest ne $survivor_fi->src_digest
362 192 0 if (my $eval_fis = $self->[9])
366 0 192 if @$eval_fis != $count - @donors
371 0 192 if ($donor_fids{$profile->attributes->{'sawampersand_fid'} or 0})
379 112 80 if (my(@subs_defined) = $survivor_fi->subs_defined_sorted)
384 0 240 unless $si->is_anon
391 0 112 unless @$to_merge
396 0 112 if trace_level() >= 3
408 576 128 unless my $sc_info = delete $subs_called_on_line->{$delete_subname}
424 0 192 if trace_level() >= 2
455 0 343 if $self->is_pmc
459 340 3 unless ($filename =~ m[^/])
465 0 4423 if -f $file
481 300 327 if (my $srclines = $self->has_savesrc)
488 0 327 if (open my $fh, "<", $filename)
501 284 324 $src ? :
515 739 224 unless $ENV{'NYTPROF_TEST_SKIP_EVAL_NORM'}
529 2235 160 unless ($ENV{'NYTPROF_TEST_SKIP_EVAL_NORM'})
532 48 2187 if ($newname ne $subname)
534 0 48 if $subscalled->{$newname}
562 6734 0 defined $_ ? :
564 946 16 if (not $opts->{'skip_internal_details'})
587 17680 0 defined $_ ? :
600 288 128 unless $_->meta->{'merged_fids'}