File Coverage

blib/lib/App/SmokeBrew/Plugin/Null.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             package App::SmokeBrew::Plugin::Null;
2             $App::SmokeBrew::Plugin::Null::VERSION = '1.00';
3             #ABSTRACT: A smokebrew plugin for does nothing.
4              
5 1     1   623 use strict;
  1         2  
  1         25  
6 1     1   5 use warnings;
  1         1  
  1         22  
7              
8 1     1   502 use Moose;
  1         395321  
  1         7  
9              
10             with 'App::SmokeBrew::PerlVersion', 'App::SmokeBrew::Plugin';
11              
12             sub configure {
13 0     0 1   return 1;
14             }
15              
16 1     1   6622 no Moose;
  1         2  
  1         3  
17              
18             __PACKAGE__->meta->make_immutable;
19              
20             qq[Smokin'];
21              
22             __END__
23              
24             =pod
25              
26             =encoding UTF-8
27              
28             =head1 NAME
29              
30             App::SmokeBrew::Plugin::Null - A smokebrew plugin for does nothing.
31              
32             =head1 VERSION
33              
34             version 1.00
35              
36             =head1 SYNOPSIS
37              
38             smokebrew --plugin App::SmokeBrew::Plugin::Null
39              
40             =head1 DESCRIPTION
41              
42             App::SmokeBrew::Plugin::CPANPLUS::YACSmoke is a L<App::SmokeBrew::Plugin> for L<smokebrew> which
43             does nothing.
44              
45             This plugin merely returns when C<configure> is called, leaving the given perl installation un-configured.
46             =head1 METHODS
47              
48             =over
49              
50             =item C<configure>
51              
52             Returns true as soon as it is called.
53              
54             =back
55              
56             =head1 SEE ALSO
57              
58             L<App::SmokeBrew::Plugin>
59              
60             L<smokebrew>
61              
62             L<CPANPLUS>
63              
64             L<CPANPLUS::YACSmoke>
65              
66             =head1 AUTHOR
67              
68             Chris Williams <chris@bingosnet.co.uk>
69              
70             =head1 COPYRIGHT AND LICENSE
71              
72             This software is copyright (c) 2020 by Chris Williams.
73              
74             This is free software; you can redistribute it and/or modify it under
75             the same terms as the Perl 5 programming language system itself.
76              
77             =cut