File Coverage

blib/lib/Gears/Router/Location/SigilMatch.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Gears::Router::Location::SigilMatch;
2             $Gears::Router::Location::SigilMatch::VERSION = '0.101';
3 2     2   1279 use v5.40;
  2         5  
4 2     2   9 use Mooish::Base -standard;
  2         3  
  2         18  
5              
6 2     2   21123 use Gears::Router::Pattern::SigilMatch;
  2         1183  
  2         324  
7              
8             extends 'Gears::Router::Location';
9              
10             has param 'checks' => (
11             isa => HashRef,
12             default => sub { {} },
13             );
14              
15             has param 'defaults' => (
16             isa => HashRef,
17             default => sub { {} },
18             );
19              
20             sub _build_pattern_obj ($self)
21 33     33   379 {
  33         63  
  33         51  
22 33         680 return Gears::Router::Pattern::SigilMatch->new(
23             location => $self,
24             );
25             }
26              
27             __END__