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/Router/Proto.pm ↑ Summary Gears/Component.pm »
1 package Gears::Router::Pattern;
2 4 $Gears::Router::Pattern::VERSION = '0.105';
3 4 ▶use v5.40;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use Mooish::Base -standard;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 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)
Subroutine compare: not called CC=1 SCAR=6.9
Pod documented
14 {
15 0 ...;
16 }
17  
18 # must be reimplemented
19 0 ▶sub build ($self, @more_args)
Subroutine build: not called CC=1 SCAR=6.9
Pod documented
20 {
21 0 ...;
22 }
23  
24 __END__
« Gears/Router/Proto.pm ↑ Summary Gears/Component.pm »