Branch Coverage

blib/lib/Data/Checker.pm
Criterion Covered Total %
branch 44 66 66.6


line true false branch
48 0 0 if (defined $n and $n =~ /^\d+$/) { }
66 21 2 if (ref $data eq 'ARRAY') { }
2 0 elsif (ref $data eq 'HASH') { }
79 0 23 if (not defined $type) { }
1 22 elsif (ref $type eq 'CODE') { }
102 22 110 unless $name =~ /^(.*)::(.+)$/
104 0 110 unless defined $mod
108 46 42 if ($mod ne 'main' and $mod ne $caller and not &is_loaded($mod))
111 44 2 unless eval "require $mod"
117 22 44 if (defined &{$name;})
123 0 22 unless defined $func
129 0 23 if ($self->{'parallel'} != 1) { }
140 0 0 $self->{'parallel'} > 1 ? :
149 0 0 if (defined $err and @$err) { }
155 0 0 if (defined $warn and @$warn)
158 0 0 if (defined $info and @$info)
165 0 0 if $manager->start
174 0 0 if ($wantlist) { }
190 32 24 if (defined $err and @$err) { }
196 4 52 if (defined $warn and @$warn)
199 4 52 if (defined $info and @$info)
204 21 2 if ($wantlist) { }
219 84 130 if exists $check_opts->{$label}
226 25 210 if (defined $label and exists $check_opts->{$label} and exists $check_opts->{$label}{$opt}) { }
1 209 elsif (exists $check_opts->{$opt}) { }
249 0 28 if (ref $mess eq 'ARRAY') { }
258 0 28 if ($level eq 'info') { }
0 28 elsif ($level eq 'warn') { }
276 90 32 if not $label or $self->check_performed($check_opts, $label)
278 32 90 unless $do_check
285 44 46 unless defined $negate_fail
289 22 68 if (not $negate || $value) { }
6 118 elsif ($negate and $value) { }