blib/lib/POE/Component/SmokeBox/Backend/Test/SmokeBox/Mini.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 15 | 15 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 20 | 20 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package POE::Component::SmokeBox::Backend::Test::SmokeBox::Mini; | ||||||
2 | |||||||
3 | 2 | 2 | 1894405 | use strict; | |||
2 | 5 | ||||||
2 | 60 | ||||||
4 | 2 | 2 | 8 | use warnings; | |||
2 | 2 | ||||||
2 | 86 | ||||||
5 | 2 | 2 | 8 | use base qw(POE::Component::SmokeBox::Backend::Base); | |||
2 | 3 | ||||||
2 | 915 | ||||||
6 | 2 | 2 | 667 | use vars qw($VERSION); | |||
2 | 3 | ||||||
2 | 137 | ||||||
7 | |||||||
8 | $VERSION = '0.64'; | ||||||
9 | |||||||
10 | sub _data { | ||||||
11 | 14 | 14 | 70643 | my $self = shift; | |||
12 | $self->{_data} = | ||||||
13 | { | ||||||
14 | 14 | 136 | check => [ '-e', 1 ], | ||||
15 | index => [ '-e', 1 ], | ||||||
16 | smoke => [ '-e', '$|=1; if ( $ENV{PERL5LIB} ) { require App::SmokeBox::Mini::Plugin::Test; } else { my $module = shift; print $module, qq{\n}; } sleep 5; exit 0;' ], | ||||||
17 | }; | ||||||
18 | 14 | 41 | return; | ||||
19 | } | ||||||
20 | |||||||
21 | 1; | ||||||
22 | __END__ |