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