Gears/Router/Pattern.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 100% 2 / 2 totaltotal 73.3% 11 / 15 CC 1 SCAR 4.1
CC
1
Cov
78%
compare
2.0
build
2.0
BEGIN
1.0
CRAP 1.5
« Gears.pm ↑ Summary Gears/Component.pm »
1 package Gears::Router::Pattern;
2 3 $Gears::Router::Pattern::VERSION = '0.103';
3 3 ▶use v5.40;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use Mooish::Base -standard;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 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 sub compare ($self, $request_path)
14 ▶{
Subroutine compare: not called CC=1 SCAR=6.9
Pod documented
15 0 ...;
16 }
17  
18 # must be reimplemented
19 sub build ($self, @more_args)
20 ▶{
Subroutine build: not called CC=1 SCAR=6.9
Pod documented
21 0 ...;
22 }
23  
24 __END__
« Gears.pm ↑ Summary Gears/Component.pm »