File Coverage

blib/lib/POE/Component/SmokeBox/Backend/CPANPLUS/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::CPANPLUS::YACSmoke;
2             $POE::Component::SmokeBox::Backend::CPANPLUS::YACSmoke::VERSION = '0.56';
3             #ABSTRACT: a backend for CPANPLUS::YACSmoke smokers.
4              
5 17     17   1848 use strict;
  17         48  
  17         614  
6 17     17   105 use warnings;
  17         47  
  17         654  
7 17     17   134 use base qw(POE::Component::SmokeBox::Backend::Base);
  17         50  
  17         7192  
8              
9             sub _data {
10 34     34   75 my $self = shift;
11             $self->{_data} =
12             {
13 34         359 check => [ '-MCPANPLUS::YACSmoke', '-e', 1 ],
14             index => [ '-MCPANPLUS::Backend', '-e', 'CPANPLUS::Backend->new()->reload_indices( update_source => 1 );' ],
15             smoke => [ '-MCPANPLUS::YACSmoke', '-e', 'my $module = shift; my $smoke = CPANPLUS::YACSmoke->new(); $smoke->test($module);' ],
16             digest => qr/^\[MSG\] CPANPLUS is prefering/,
17             };
18 34         114 return;
19             }
20              
21             1;
22              
23             __END__