File Coverage

blib/lib/Gears/Router/Pattern.pm
Criterion Covered Total %
statement 5 15 33.3
branch n/a
condition n/a
subroutine 2 4 50.0
pod 2 2 100.0
total 9 21 42.8


line stmt bran cond sub pod time code
1             package Gears::Router::Pattern;
2             $Gears::Router::Pattern::VERSION = '0.101';
3 3     3   2045 use v5.40;
  3         27  
4 3     3   18 use Mooish::Base -standard;
  3         6  
  3         27  
5              
6             has param 'location' => (
7             isa => InstanceOf ['Gears::Router::Location'],
8             weak_ref => 1,
9             handles => [qw(pattern is_bridge)],
10             );
11              
12             # must be reimplemented
13 0           sub compare ($self, $request_path)
14 0     0 1   {
  0            
  0            
15 0           ...;
16             }
17              
18             # must be reimplemented
19 0           sub build ($self, @more_args)
20 0     0 1   {
  0            
  0            
21 0           ...;
22             }
23              
24             __END__