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.54';
3             #ABSTRACT: a backend for CPAN::Reporter::Smoker smokers.
4              
5 4     4   649 use strict;
  4         9  
  4         122  
6 4     4   20 use warnings;
  4         8  
  4         145  
7 4     4   19 use base qw(POE::Component::SmokeBox::Backend::Base);
  4         8  
  4         1608  
8              
9             sub _data {
10 4     4   10 my $self = shift;
11             $self->{_data} =
12             {
13 4         28 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         11 return;
18             }
19              
20             1;
21              
22             __END__