Branch Coverage

blib/lib/Devel/hdb/Router.pm
Criterion Covered Total %
branch 10 26 38.4


line true false branch
33 0 5 if $ENV{'HDB_DEBUG_MSG'}
34 1 4 unless exists $self->{$req_method}
41 0 4 if (my $ref = ref $path) { }
4 0 elsif ($env->{'PATH_INFO'} eq $path) { }
42 0 0 if ($ref eq 'Regexp') { }
0 0 elsif ($ref eq 'CODE') { }
43 0 0 if @matches = $env->{'PATH_INFO'} =~ /$path/
45 0 0 if &$path($self, $env)
51 4 0 if ($fire)
52 0 4 if $ENV{'HDB_DEBUG_MSG'}
55 1 3 if ($hooks and @$hooks)
61 0 0 if $ENV{'HDB_DEBUG_MSG'}
74 1 0 if ($this_list->[$i] eq $wrapped_as_str)