blib/lib/Map/Metro/Plugin/Map/Lyon.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::Lyon;
4  
5 1 our $VERSION = '1.000'; # VERSION
6 # ABSTRACT: Map::Metro map for Lyon
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-lyon.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::Lyon - Map::Metro map for Lyon
32  
33 =head1 VERSION
34  
35 version 1.000
36  
37 =head1 SYNOPSIS
38  
39 use Map::Metro;
40 my $graph = Map::Metro->new('Lyon')->parse;
41  
42 Or
43  
44 $ map-metro.pl route Lyon 1 4
45  
46 =head1 DESCRIPTION
47  
48 See L<Map::Metro> for usage information.
49  
50 =head1 Status
51  
52 L<Map::Metro::Plugin::Map::Lyon::Lines>
53  
54 This map includes:
55  
56 =over 4
57  
58 =item *
59  
60 The four metro lines [L<wikipedia|https://en.wikipedia.org/wiki/Lyon_Metro>]
61  
62 =back
63  
64 =head1 AUTHOR
65  
66 Philippe Bruhat (BooK) <book@cpan.org>
67  
68 =head1 COPYRIGHT AND LICENSE
69  
70 This software is copyright (c) 2015 by Philippe Bruhat (BooK) <book@cpan.org>.
71  
72 This is free software; you can redistribute it and/or modify it under
73 the same terms as the Perl 5 programming language system itself.
74  
75 =cut
↑ Summary Build »