File Coverage

blib/lib/POE/Component/SmokeBox/Backend/Test/Stress.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::Stress;
2             $POE::Component::SmokeBox::Backend::Test::Stress::VERSION = '0.58';
3             #ABSTRACT: a backend to stress test.
4              
5 5     5   39 use strict;
  5         13  
  5         212  
6 5     5   38 use warnings;
  5         13  
  5         220  
7 5     5   31 use base qw(POE::Component::SmokeBox::Backend::Base);
  5         14  
  5         2284  
8              
9             sub _data {
10 29     29   144 my $self = shift;
11             $self->{_data} =
12             {
13 29         273 check => [ '-e', 1 ],
14             index => [ '-e', 1 ],
15             smoke => [ '-e', '$|=1; my $module = shift; print $module, qq{\n}; sleep 3;' ],
16             };
17 29         106 return;
18             }
19              
20             1;
21              
22             __END__