blib/lib/Map/Metro/Plugin/Map/Berlin.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 # -*- perl -*-
2  
3 #
4 # Author: Slaven Rezic
5 #
6 # Copyright (C) 2014,2015,2017,2018,2019,2020,2021,2023,2024,2025,2026 Slaven Rezic. All rights reserved.
7 # This package is free software; you can redistribute it and/or
8 # modify it under the same terms as Perl itself.
9 #
10 # WWW: https://github.com/eserte/Map-Metro-Plugin-Map-Berlin
11 #
12  
13 {
14 1 package Map::Metro::Plugin::Map::Berlin;
15  
16 1 our $VERSION = '2026.0615';
17  
18 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶ use File::ShareDir 'dist_dir';
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶ use Path::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 with 'Map::Metro::Plugin::Map';
22
23 has '+mapfile' => (
24 1 ▶ default => sub { path(dist_dir('Map-Metro-Plugin-Map-Berlin'))->child('map-berlin.metro')->absolute },
Subroutine __ANON__: called CC=1 SCAR=0.0
25 1 );
26 }
27  
28 1 1;
29  
30 __END__
↑ Summary