Branch Coverage

blib/lib/Devel/KYTProf.pm
Criterion Covered Total %
branch 30 54 55.5


line true false branch
45 28 7 if $@
49 0 7 if ($@)
52 0 7 unless ($prof_pkg->can('apply'))
55 1 6 if ++$Applied->{$prof_pkg} > 1
62 0 7 if ($methods eq ':all')
64 0 0 if $@
77 40 0 unless ($orig)
78 0 40 unless $orig = $module->can($method)
83 3 9 if ($sampler)
85 0 3 unless ($is_sample)
95 0 12 if ($namespace_regex or $context_classes_regex) { }
97 0 0 unless my($p, $f, $l) = caller $i
98 0 0 if ($namespace_regex and not $package and $p =~ /^($namespace_regex)/ and not $ignore_class_regex && $p =~ /$ignore_class_regex/)
110 0 0 if ($context_classes_regex and not $level and $p =~ /^($context_classes_regex)$/)
116 360 0 unless my($p, $f, $l) = caller $i
117 0 0 unless ($p =~ /^($module)/)
123 12 0 unless ($package)
128 0 12 if (wantarray) { }
134 12 0 if (not $threshold or $ns >= $threshold)
140 7 5 if ($callback) { }
142 6 1 if (ref $v eq 'ARRAY') { }
153 1 11 if $class->remove_escape_sequences
157 0 12 if $class->remove_linefeed
159 0 12 $class->logger ? :
171 0 12 wantarray ? :
188 1 1 if (scalar @methods) { }
202 1 1 if (scalar @methods) { }