File Coverage

blib/lib/Map/Metro/Plugin/Map/Brussels.pm
Criterion Covered Total %
statement 12 13 92.3
branch n/a
condition n/a
subroutine 5 6 83.3
pod 0 2 0.0
total 17 21 80.9


line stmt bran cond sub pod time code
1 1     1   4522 use 5.14.0;
  1         3  
2 1     1   7 use strict;
  1         2  
  1         20  
3 1     1   7 use warnings;
  1         2  
  1         59  
4              
5             package Map::Metro::Plugin::Map::Brussels;
6              
7             # ABSTRACT: Map::Metro map for Brussels
8             our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9             our $VERSION = '0.1002';
10              
11 1     1   6 use Moose;
  1         2  
  1         8  
12             with 'Map::Metro::Plugin::Map';
13              
14             has '+mapfile' => (
15             default => 'map-brussels.metro',
16             );
17             sub map_version {
18 0     0 0 0 return $VERSION;
19             }
20             sub map_package {
21 1     1 0 4 return __PACKAGE__;
22             }
23              
24             1;
25              
26             __END__
27              
28             =pod
29              
30             =encoding UTF-8
31              
32             =head1 NAME
33              
34             Map::Metro::Plugin::Map::Brussels - Map::Metro map for Brussels
35              
36              
37              
38             =begin html
39              
40             <p>
41             <img src="https://img.shields.io/badge/perl-5.16+-blue.svg" alt="Requires Perl 5.16+" />
42             <a href="https://travis-ci.org/Csson/p5-Map-Metro-Brussels"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Brussels.svg?branch=master" alt="Travis status" /></a>
43             <a href="http://cpants.cpanauthors.org/release/CSSON/Map-Metro-Plugin-Map-Brussels-0.1002"><img src="http://badgedepot.code301.com/badge/kwalitee/CSSON/Map-Metro-Plugin-Map-Brussels/0.1002" alt="Distribution kwalitee" /></a>
44             <a href="http://matrix.cpantesters.org/?dist=Map-Metro-Plugin-Map-Brussels%200.1002"><img src="http://badgedepot.code301.com/badge/cpantesters/Map-Metro-Plugin-Map-Brussels/0.1002" alt="CPAN Testers result" /></a>
45             </p>
46              
47             =end html
48              
49             =head1 VERSION
50              
51             Version 0.1002, released 2019-04-30.
52              
53             =head1 SYNOPSIS
54              
55             use Map::Metro;
56             my $graph = Map::Metro->new('Brussels')->parse;
57              
58             Or:
59              
60             map-metro.pl route Brussels "Gare de l'Ouest" 'Centraal Station'
61              
62             =head1 DESCRIPTION
63              
64             See L<Map::Metro> for usage information.
65              
66             =head1 Status
67              
68             This map L<contains|Map::Metro::Plugin::Map::Brussels::Lines>:
69              
70             =over 4
71              
72             =item *
73              
74             The four metro lines I<L1>, I<L2>, I<L5> and I<L6> [L<wikipedia|https://en.wikipedia.org/wiki/Brussels_Metro>]
75              
76             =item *
77              
78             The I<T3> tram line, but only between I<Gare du Nord/Noordstation> and I<Albert> [L<wikipedia|https://en.wikipedia.org/wiki/Brussels_tram_route_3>]
79              
80             =back
81              
82             =for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Brussels/master/static/images/brussels.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Brussels/master/static/images/brussels.png" style="max-width: 600px" /></a></p>
83              
84             =head1 SOURCE
85              
86             L<https://github.com/Csson/p5-Map-Metro-Brussels>
87              
88             =head1 HOMEPAGE
89              
90             L<https://metacpan.org/release/Map-Metro-Plugin-Map-Brussels>
91              
92             =head1 AUTHOR
93              
94             Erik Carlsson <info@code301.com>
95              
96             =head1 COPYRIGHT AND LICENSE
97              
98             This software is copyright (c) 2016 by Erik Carlsson.
99              
100             This is free software; you can redistribute it and/or modify it under
101             the same terms as the Perl 5 programming language system itself.
102              
103             =cut