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