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

filter: Statementstmt 90.9% 10 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 2 totaltotal 76.4% 13 / 17 CC 1 SCAR 2.2
CC
1
Cov
91%
map_version
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
↑ Summary Build »
1 1 ▶use 5.14.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package Map::Metro::Plugin::Map::Gothenburg;
4  
5 1 our $VERSION = '0.1003'; # VERSION
6 # ABSTRACT: Map::Metro map for Gothenburg
7  
8 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 with 'Map::Metro::Plugin::Map';
10  
11 1 has '+mapfile' => (
12 default => 'map-gothenburg.metro',
13 );
14 sub map_version {
15 0 ▶ return $VERSION;
Subroutine map_version: not called CC=1 SCAR=6.9
Pod undocumented
16 }
17 sub map_package {
18 1 ▶ return __PACKAGE__;
Subroutine map_package: called CC=1 SCAR=0.0
Pod undocumented
19 }
20  
21 1 1;
22  
23 __END__
24  
25 =pod
26  
27 =encoding utf-8
28  
29 =head1 NAME
30  
31 Map::Metro::Plugin::Map::Gothenburg - Map::Metro map for Gothenburg
32  
33 =head1 VERSION
34  
35 Version 0.1003, released 2015-01-21.
36  
37 =head1 SYNOPSIS
38  
39 use Map::Metro;
40 my $graph = Map::Metro->new('Gothenburg')->parse;
41  
42 Or:
43  
44 $ map-metro.pl route Gothenburg Saltholmen Torp
45  
46 =head1 DESCRIPTION
47  
48 See L<Map::Metro> for usage information.
49  
50 =head1 Status
51  
52 This map L<contains|Map::Metro::Plugin::Map::Gothenburg::Lines>:
53  
54 =over 4
55  
56 =item *
57  
58 All twelve regular tram lines [L<wikipedia|https://en.wikipedia.org/wiki/Gothenburg_tram_network>]
59  
60 =back
61  
62 =for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Gothenburg/master/static/images/gothenburg.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Gothenburg/master/static/images/gothenburg.png" style="max-width: 600px" /></a></p>
63  
64 =head1 SOURCE
65  
66 L<https://github.com/Csson/p5-Map-Metro-Gothenburg>
67  
68 =head1 HOMEPAGE
69  
70 L<https://metacpan.org/release/Map-Metro-Plugin-Map-Gothenburg>
71  
72 =head1 AUTHOR
73  
74 Erik Carlsson <info@code301.com>
75  
76 =head1 COPYRIGHT AND LICENSE
77  
78 This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>.
79  
80 This is free software; you can redistribute it and/or modify it under
81 the same terms as the Perl 5 programming language system itself.
82  
83 =cut
↑ Summary Build »