File Coverage

blib/lib/Map/Metro/Plugin/Map/Stockholm.pm
Criterion Covered Total %
statement 6 7 85.7
branch n/a
condition n/a
subroutine 3 4 75.0
pod 0 2 0.0
total 9 13 69.2


line stmt bran cond sub pod time code
1 1     1   2812 use 5.16.0;
  1         2  
2              
3             package Map::Metro::Plugin::Map::Stockholm;
4              
5             our $VERSION = '0.1971'; # VERSION
6             # ABSTRACT: Map::Metro map for Stockholm
7              
8 1     1   4 use Moose;
  1         1  
  1         6  
9             with 'Map::Metro::Plugin::Map';
10              
11             has '+mapfile' => (
12             default => 'map-stockholm.metro',
13             );
14             sub map_version {
15 0     0 0 0 return $VERSION;
16             }
17             sub map_package {
18 1     1 0 3 return __PACKAGE__;
19             }
20              
21             1;
22              
23             __END__
24              
25             =pod
26              
27             =encoding utf-8
28              
29             =head1 NAME
30              
31             Map::Metro::Plugin::Map::Stockholm - Map::Metro map for Stockholm
32              
33              
34              
35             =begin HTML
36              
37             <p><img src="https://img.shields.io/badge/perl-5.16+-brightgreen.svg" alt="Requires Perl 5.16+" /> <a href="https://travis-ci.org/Csson/p5-Map-Metro-Plugin-Map-Stockholm"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Plugin-Map-Stockholm.svg?branch=master" alt="Travis status" /></a> <img src="https://img.shields.io/badge/coverage-69.2%-red.svg" alt="coverage 69.2%" /></p>
38              
39             =end HTML
40              
41              
42             =begin markdown
43              
44             ![Requires Perl 5.16+](https://img.shields.io/badge/perl-5.16+-brightgreen.svg) [![Travis status](https://api.travis-ci.org/Csson/p5-Map-Metro-Plugin-Map-Stockholm.svg?branch=master)](https://travis-ci.org/Csson/p5-Map-Metro-Plugin-Map-Stockholm) ![coverage 69.2%](https://img.shields.io/badge/coverage-69.2%-red.svg)
45              
46             =end markdown
47              
48             =head1 VERSION
49              
50             Version 0.1971, released 2016-01-27.
51              
52             =head1 SYNOPSIS
53              
54             use Map::Metro;
55             my $graph = Map::Metro->new('Stockholm')->parse;
56              
57             Or:
58              
59             $ map-metro.pl route Stockholm Akalla Medborgarplatsen
60              
61             =head1 DESCRIPTION
62              
63             See L<Map::Metro> for usage information.
64              
65             =head1 STATUS
66              
67             This map L<contains|Map::Metro::Plugin::Map::Stockholm>:
68              
69             * All seven subway lines [L<wikipedia|https://en.wikipedia.org/wiki/Stockholm_metro>]
70              
71             * The I<SpÃ¥rväg City> tram line [L<wikipedia|https://en.wikipedia.org/wiki/Sp%C3%A5rv%C3%A4g_City>]
72              
73             * The I<Tvärbanan> tram line [L<wikipedia|https://en.wikipedia.org/wiki/Nockebybanan>]
74              
75             * The I<Nockebybanan> tram line [L<wikipedia|https://en.wikipedia.org/wiki/Tv%C3%A4rbanan>]
76              
77             =for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Plugin-Map-Stockholm/master/static/images/stockholm.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Plugin-Map-Stockholm/master/static/images/stockholm.png" style="max-width: 600px" /></a></p>
78              
79             =head1 SOURCE
80              
81             L<https://github.com/Csson/p5-Map-Metro-Plugin-Map-Stockholm>
82              
83             =head1 HOMEPAGE
84              
85             L<https://metacpan.org/release/Map-Metro-Plugin-Map-Stockholm>
86              
87             =head1 AUTHOR
88              
89             Erik Carlsson <info@code301.com>
90              
91             =head1 COPYRIGHT AND LICENSE
92              
93             This software is copyright (c) 2016 by Erik Carlsson.
94              
95             This is free software; you can redistribute it and/or modify it under
96             the same terms as the Perl 5 programming language system itself.
97              
98             =cut