File Coverage

blib/lib/POE/Component/SmokeBox/Backend/CPAN/YACSmoke.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::YACSmoke;
2             $POE::Component::SmokeBox::Backend::CPAN::YACSmoke::VERSION = '0.56';
3             #ABSTRACT: a backend for CPAN::YACSmoke smokers.
4              
5 5     5   1897 use strict;
  5         10  
  5         164  
6 5     5   26 use warnings;
  5         13  
  5         206  
7 5     5   29 use base qw(POE::Component::SmokeBox::Backend::Base);
  5         12  
  5         2201  
8              
9             sub _data {
10 4     4   10 my $self = shift;
11             $self->{_data} =
12             {
13 4         31 check => [ '-MCPAN::YACSmoke', '-e', 1 ],
14             index => [ '-MCPANPLUS::Backend', '-e', 'CPANPLUS::Backend->new()->reload_indices( update_source => 1 );' ],
15             smoke => [ '-MCPAN::YACSmoke', '-e', 'my $module = shift; my $smoke = CPAN::YACSmoke->new(); $smoke->test($module);' ],
16             };
17 4         15 return;
18             }
19              
20             1;
21              
22             __END__