File Coverage

blib/lib/POE/Component/SmokeBox/Backend/CPAN/Reporter/Smoker.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package POE::Component::SmokeBox::Backend::CPAN::Reporter::Smoker;
2             $POE::Component::SmokeBox::Backend::CPAN::Reporter::Smoker::VERSION = '0.56';
3             #ABSTRACT: a backend for CPAN::Reporter::Smoker smokers.
4              
5 4     4   868 use strict;
  4         11  
  4         140  
6 4     4   23 use warnings;
  4         9  
  4         142  
7 4     4   23 use base qw(POE::Component::SmokeBox::Backend::Base);
  4         8  
  4         1840  
8              
9             sub _data {
10 4     4   8 my $self = shift;
11             $self->{_data} =
12             {
13 4         34 check => [ '-e', 'use CPAN::Reporter::Smoker 0.17;' ],
14             index => [ '-MCPAN', '-MCPAN::HandleConfig', '-e', 'CPAN::HandleConfig->load; CPAN::Shell::setup_output; CPAN::Index->force_reload();' ],
15             smoke => [ '-MCPAN::Reporter::Smoker', '-e', 'my $module = shift; start( list => [ $module ] );' ],
16             };
17 4         14 return;
18             }
19              
20             1;
21              
22             __END__