File Coverage

blib/lib/Dist/Zilla/dumpphases/Theme/basic/green.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 18 18 100.0


line stmt bran cond sub pod time code
1 2     2   1067 use 5.006;
  2         7  
2 2     2   9 use strict;
  2         2  
  2         53  
3 2     2   9 use warnings;
  2         3  
  2         163  
4              
5             package Dist::Zilla::dumpphases::Theme::basic::green;
6              
7             our $VERSION = '1.000009';
8              
9             # ABSTRACT: A green 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   1095 use Moo qw( with );
  2         18561  
  2         10  
27              
28             with 'Dist::Zilla::dumpphases::Role::Theme::SimpleColor';
29              
30              
31              
32              
33              
34              
35              
36              
37              
38 32     32 1 74 sub color { return 'green' }
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::green - A green color theme for dzil dumpphases
51              
52             =head1 VERSION
53              
54             version 1.000009
55              
56             =head1 SYNOPSIS
57              
58             dzil dumpphases --color-theme=basic::green
59              
60             =begin MetaPOD::JSON v1.1.0
61              
62             {
63             "namespace":"Dist::Zilla::dumpphases::Theme:::basic::green",
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_green.png"
74             alt="Screenshot"
75             width="715" height="372"/>
76             </center>
77              
78             =head1 METHODS
79              
80             =head2 C<color>
81              
82             See L<Dist::Zilla::dumpphases::Role::Theme::SimpleColor/color> for details.
83              
84             This simply returns C<'green'>
85              
86             =head1 AUTHOR
87              
88             Kent Fredric <kentnl@cpan.org>
89              
90             =head1 COPYRIGHT AND LICENSE
91              
92             This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.
93              
94             This is free software; you can redistribute it and/or modify it under
95             the same terms as the Perl 5 programming language system itself.
96              
97             =cut