Geography.pm

filter: Statementstmt 66.6% 4 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 75.0% 6 / 8 CC 1 SCAR 1.4
CC
1
Cov
67%
BEGIN
1.3
BEGIN
1.0
CRAP 1.1
↑ Summary Geography/Implementation.pm »
1 package Catalyst::Plugin::Geography;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 0 ▶use Catalyst::Plugin::Geography::Implementation;
Subroutine BEGIN: called CC=1 SCAR=2.6
5  
6 our $VERSION = '0.03';
7  
8 *geo = \&geography; # Makes sri happy ;)
9  
10 sub geography {
11 my $c = shift;
12  
13 unless ( $c->{geography} ) {
14 $c->{geography} = Catalyst::Plugin::Geography::Implementation->new($c);
15 }
16  
17 return $c->{geography};
18 }
19  
20 __END__
↑ Summary Geography/Implementation.pm »