Branch Coverage

blib/lib/Devel/NYTProf/SubInfo.pm
Criterion Covered Total %
branch 61 92 66.3


line true false branch
33 224 3122 unless +(shift())->[0]
71 0 2558 if $merge_evals
73 998 1560 unless $self->[10]
97 0 15 unless defined $first
98 3 12 if $first == 0 and $self->last_line == 0
104 12 6 if $self->first_line or $self->last_line
105 3 3 if $self->subname =~ /(?:^CORE::|::CORE:)\w+$/
115 3 15 if $self->is_opcode
116 3 12 if $self->is_xsub
123 0 1 unless ($fid)
136 0 138 unless defined $a
137 0 138 unless defined $b
139 0 138 unless defined $a
145 0 138 unless defined $a
146 0 138 unless defined $b
148 0 138 unless defined $a
155 128 112 $remove_fi ? :
156 240 0 $new_fi ? :
158 240 0 if ($self->fid == $remove_fid)
161 128 112 if $remove_fi
162 240 0 if $new_fi
169 176 0 $remove_fi ? :
170 176 0 $new_fi ? :
174 176 0 if (my $called_by = $self->[10])
177 176 0 if ($cb and $new_fid)
180 0 176 if trace_level() >= 4
209 0 138 if trace_level() >= 4
240 128 15 unless $opts{'src_keep'}
251 480 143 $opts{'tag'} ? :
253 0 623 unless (@$src_line_info)
254 0 0 if trace_level()
259 0 623 if (trace_level() >= 5)
264 79 544 unless (@$dst_line_info)
283 0 623 if trace_level() >= 5
291 0 0 unless @$sc
294 0 0 $by ? :
331 48 2402 if $self->[6] =~ /__ANON__/ and not $ENV{'NYTPROF_TEST_SKIP_EVAL_NORM'}
345 467 1548 unless $fid
346 0 1548 unless my $fileinfo = $profile->fileinfo_of($fid)
347 1404 144 unless $fileinfo->filename =~ /(AutoLoader|Exporter)\.pm$/
361 2235 160 unless ($ENV{'NYTPROF_TEST_SKIP_EVAL_NORM'})
366 2219 16 if $newname eq $subname
368 0 16 if $names->{$newname}
389 8976 32 defined $_ ? :
390 9008 0 defined $_ ? :
401 17680 0 defined $_ ? :