SmokeBox/Backend/Test/Excess.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/CPANPLUS/YACSmoke.pm ↑ Summary SmokeBox/Backend/Test/Idle.pm »
1 package POE::Component::SmokeBox::Backend::Test::Excess;
2 2 $POE::Component::SmokeBox::Backend::Test::Excess::VERSION = '0.58';
3 #ABSTRACT: a backend to test excessive run kills.
4  
5 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use base qw(POE::Component::SmokeBox::Backend::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶sub _data {
Subroutine _data: called CC=1 SCAR=0.0
10 1 my $self = shift;
11 $self->{_data} =
12 {
13 1 check => [ '-e', 1 ],
14 index => [ '-e', 1 ],
15 smoke => [ '-e', '$|=1; my $module = shift; while (1) { print $module, qq{\n}; sleep 3; }' ],
16 };
17 1 return;
18 }
19  
20 2 1;
21  
22 __END__
« SmokeBox/Backend/CPANPLUS/YACSmoke.pm ↑ Summary SmokeBox/Backend/Test/Idle.pm »