blib/lib/Map/Metro/Plugin/Map/Copenhagen.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
1 1 ▶use 5.16.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package Map::Metro::Plugin::Map::Copenhagen;
4  
5 1 our $VERSION = '0.2006'; # VERSION
6 # ABSTRACT: Map::Metro map for Copenhagen
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-copenhagen.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::Copenhagen - Map::Metro map for Copenhagen
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-Copenhagen"><img src="https://api.travis-ci.org/Csson/p5-Map-Metro-Copenhagen.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-Copenhagen.svg?branch=master)](https://travis-ci.org/Csson/p5-Map-Metro-Copenhagen) ![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.2006, released 2016-01-21.
51  
52 =head1 SYNOPSIS
53  
54 use Map::Metro;
55 my $graph = Map::Metro->new('Copenhagen')->parse;
56  
57 =head1 DESCRIPTION
58  
59 See L<Map::Metro> for usage information.
60  
61 =head1 Status
62  
63 This map includes:
64  
65 =over 4
66  
67 =item *
68  
69 Both lines of the Copenhagen metro (L<wikipedia|https://en.wikipedia.org/wiki/Copenhagen_metro>)
70  
71 =back
72  
73 =for HTML <p><a href="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Copenhagen/master/static/images/copenhagen.png"><img src="https://raw.githubusercontent.com/Csson/p5-Map-Metro-Copenhagen/master/static/images/copenhagen.png" style="max-width: 600px" /></a></p>
74  
75 =head1 SEE ALSO
76  
77 =over 4
78  
79 =item *
80  
81 L<Map::Metro>
82  
83 =item *
84  
85 L<Task::MapMetro::Maps>
86  
87 =back
88  
89 =head1 SOURCE
90  
91 L<https://github.com/Csson/p5-Map-Metro-Copenhagen>
92  
93 =head1 HOMEPAGE
94  
95 L<https://metacpan.org/release/Map-Metro-Plugin-Map-Copenhagen>
96  
97 =head1 AUTHOR
98  
99 Erik Carlsson <info@code301.com>
100  
101 =head1 COPYRIGHT AND LICENSE
102  
103 This software is copyright (c) 2016 by Erik Carlsson.
104  
105 This is free software; you can redistribute it and/or modify it under
106 the same terms as the Perl 5 programming language system itself.
107  
108 =cut
↑ Summary