blib/lib/Map/Metro/Plugin/Map/Budapest.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::Budapest;
4  
5 1 our $VERSION = '0.1000'; # VERSION
6 # ABSTRACT: Map::Metro map for Budapest
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-budapest.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::Budapest - Map::Metro map for Budapest
32  
33 =head1 VERSION
34  
35 Version 0.1000, released 2015-01-08.
36  
37 =head1 SYNOPSIS
38  
39 use Map::Metro;
40 my $graph = Map::Metro->new('Budapest')->parse;
41  
42 Or
43  
44 $ map-metro.pl route Budapest "II. János Pál pápa tér" "Opera"
45  
46 =head1 DESCRIPTION
47  
48 See L<Map::Metro> for usage information.
49  
50 =head1 Status
51  
52 L<Map::Metro::Plugin::Map::Budapest::Lines>
53  
54 This map consists of:
55  
56 =over 4
57  
58 =item *
59  
60 The four metro lines [L<wikipedia|https://en.wikipedia.org/wiki/Budapest_Metro>]
61  
62 =back
63  
64 =for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Budapest/master/static/images/budapest.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Budapest/master/static/images/budapest.png" style="max-width: 600px" /></a></p>
65  
66 =head1 SOURCE
67  
68 L<https://github.com/Csson/p5-Map-Metro-Budapest>
69  
70 =head1 HOMEPAGE
71  
72 L<https://metacpan.org/release/Map-Metro-Plugin-Map-Budapest>
73  
74 =head1 AUTHOR
75  
76 Erik Carlsson <info@code301.com>
77  
78 =head1 COPYRIGHT AND LICENSE
79  
80 This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>.
81  
82 This is free software; you can redistribute it and/or modify it under
83 the same terms as the Perl 5 programming language system itself.
84  
85 =cut
↑ Summary Build »