File Coverage

blib/lib/Dist/Zilla/dumpphases/Theme/basic/red.pm
Criterion Covered Total %
statement 12 13 92.3
branch n/a
condition n/a
subroutine 4 5 80.0
pod 1 1 100.0
total 17 19 89.4


line stmt bran cond sub pod time code
1 2     2   1007 use 5.006;
  2         4  
  2         58  
2 2     2   7 use strict;
  2         3  
  2         44  
3 2     2   5 use warnings;
  2         7  
  2         105  
4              
5             package Dist::Zilla::dumpphases::Theme::basic::red;
6              
7             our $VERSION = '1.000007';
8              
9             # ABSTRACT: A red color theme for dzil dumpphases
10              
11             our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
12              
13              
14              
15              
16              
17              
18              
19              
20              
21              
22              
23              
24              
25              
26 2     2   997 use Moo qw( with );
  2         17824  
  2         9  
27              
28             with 'Dist::Zilla::dumpphases::Role::Theme::SimpleColor';
29              
30              
31              
32              
33              
34              
35              
36              
37              
38 0     0 1   sub color { return 'red' }
39              
40             1;
41              
42             __END__
43              
44             =pod
45              
46             =encoding UTF-8
47              
48             =head1 NAME
49              
50             Dist::Zilla::dumpphases::Theme::basic::red - A red color theme for dzil dumpphases
51              
52             =head1 VERSION
53              
54             version 1.000007
55              
56             =head1 SYNOPSIS
57              
58             dzil dumpphases --color-theme=basic::red
59              
60             =begin MetaPOD::JSON v1.1.0
61              
62             {
63             "namespace":"Dist::Zilla::dumpphases::Theme:::basic::red",
64             "does":"Dist::Zilla::dumpphases::Role::Theme::SimpleColor",
65             "inherits":"Moo::Object",
66             "interface":"class"
67             }
68              
69              
70             =end MetaPOD::JSON
71              
72             =for html <center>
73             <img src="http://kentnl.github.io/screenshots/Dist-Zilla-App-Command-dumpphases/theme_basic_red.png"
74             alt="Screenshot"
75             width="702"
76             height="417"/>
77             </center>
78              
79             =head1 METHODS
80              
81             =head2 C<color>
82              
83             See L<Dist::Zilla::dumpphases::Role::Theme::SimpleColor/color> for details.
84              
85             This simply returns C<'red'>
86              
87             =head1 AUTHOR
88              
89             Kent Fredric <kentnl@cpan.org>
90              
91             =head1 COPYRIGHT AND LICENSE
92              
93             This software is copyright (c) 2015 by Kent Fredric <kentnl@cpan.org>.
94              
95             This is free software; you can redistribute it and/or modify it under
96             the same terms as the Perl 5 programming language system itself.
97              
98             =cut