blib/lib/Map/Tube/Hongkong.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 83.3% 10 / 12 CC 1 SCAR 0.9
CC
1
Cov
78%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
↑ Summary
1 package Map::Tube::Hongkong;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 our $VERSION = '0.02';
7  
8 # ABSTRACT: Map::Tube::Hongkong - interface to the Hongkong MTR map
9  
10 1 ▶use File::Share ':all';
Subroutine BEGIN: called CC=1 SCAR=2.6
11  
12 use Moo;
13 use namespace::clean;
14  
15 has xml => (is => 'ro', default => sub { return dist_file('Map-Tube-Hongkong', 'hongkong-map.xml') });
16 with 'Map::Tube';
17  
18  
19 1;
20  
21 __END__
↑ Summary