Subprocess/Running/Delegate/CaptureHandle.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 3 totaltotal 86.3% 19 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Subprocess/Running/Delegate/Timeout.pm ↑ Summary Subprocess/Running/Delegate/CompletionCondvar.pm »
1 package AnyEvent::Subprocess::Running::Delegate::CaptureHandle;
2 48 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 48 $AnyEvent::Subprocess::Running::Delegate::CaptureHandle::VERSION = '1.102912';
4 }
5 # ABSTRACT: Running part of the CaptureHandle delegate
6 48 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 48 ▶use AnyEvent::Subprocess::Done::Delegate::CaptureHandle;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 47 with 'AnyEvent::Subprocess::Running::Delegate';
10  
11 47 has 'output' => (
12 traits => ['String'],
13 init_arg => undef,
14 is => 'ro',
15 isa => 'Str',
16 default => '',
17 handles => {
18 '_append_output' => 'append',
19 },
20 );
21  
22 15 ▶sub build_done_delegates {
Subroutine build_done_delegates: called CC=1 SCAR=0.0
Pod undocumented
23 15 my ($self, $running) = @_;
24  
25 15 return AnyEvent::Subprocess::Done::Delegate::CaptureHandle->new(
26 name => $self->name,
27 output => $self->output,
28 );
29 }
30  
31 52 ▶sub build_events {}
Subroutine build_events: called CC=1 SCAR=0.0
Pod undocumented
32 15 ▶sub completion_hook {}
Subroutine completion_hook: called CC=1 SCAR=0.0
Pod undocumented
33  
34 47 __PACKAGE__->meta->make_immutable;
35  
36 47 1;
37  
38 __END__
« Subprocess/Running/Delegate/Timeout.pm ↑ Summary Subprocess/Running/Delegate/CompletionCondvar.pm »