SmokeBox/Backend/Test/Stress.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« SmokeBox/Backend/Test/Loop.pm ↑ Summary
1 package POE::Component::SmokeBox::Backend::Test::Stress;
2 6 $POE::Component::SmokeBox::Backend::Test::Stress::VERSION = '0.54';
3 #ABSTRACT: a backend to stress test.
4  
5 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 ▶use base qw(POE::Component::SmokeBox::Backend::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub _data {
10 29 ▶ my $self = shift;
Subroutine _data: called CC=1 SCAR=0.0
11 $self->{_data} =
12 {
13 29 check => [ '-e', 1 ],
14 index => [ '-e', 1 ],
15 smoke => [ '-e', '$|=1; my $module = shift; print $module, qq{\n}; sleep 3;' ],
16 };
17 29 return;
18 }
19  
20 6 1;
21  
22 __END__
« SmokeBox/Backend/Test/Loop.pm ↑ Summary