File Coverage

blib/lib/POE/Component/SmokeBox/Backend/Test/SmokeBox/Mini.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::Test::SmokeBox::Mini;
2             $POE::Component::SmokeBox::Backend::Test::SmokeBox::Mini::VERSION = '0.66';
3             #ABSTRACT: a backend to App::SmokeBox::Mini.
4              
5 2     2   1932413 use strict;
  2         5  
  2         106  
6 2     2   10 use warnings;
  2         3  
  2         76  
7 2     2   6 use base qw(POE::Component::SmokeBox::Backend::Base);
  2         3  
  2         874  
8              
9             sub _data {
10 14     14   75310 my $self = shift;
11             $self->{_data} =
12             {
13 14         116 check => [ '-e', 1 ],
14             index => [ '-e', 1 ],
15             smoke => [ '-e', '$|=1; if ( $ENV{PERL5LIB} ) { require App::SmokeBox::Mini::Plugin::Test; } else { my $module = shift; print $module, qq{\n}; } sleep 5; exit 0;' ],
16             };
17 14         38 return;
18             }
19              
20             1;
21              
22             __END__