Branch Coverage

blib/lib/Thunderhorse/Router/Location.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
56 0 169 if defined $self->to and not $self->get_destination
66 2 14 $scope eq '*' ? :
68 11 5 if (($method // '*') eq '*') { }
2 3 elsif (lc $method eq 'get') { }
98 0 92 if $self->pagi and $self->is_bridge
101 10 82 $self->pagi ? :
106 3 89 if (my $mw = $self->pagi_middleware)
116 2 243 unless defined $to
118 120 123 if ref $to eq "CODE"
124 123 667 if $self->has_action and not $action =~ $self->_action_re