Condition Coverage

blib/lib/Test2/Tools/Process.pm
Criterion Covered Total %
condition 27 38 71.0


and 3 conditions

line !l l&&!r l&&r condition
74 0 0 8 defined $expected and $expected->is_exit
0 6 2 defined $expected and $expected->is_exit and defined $expected->callback
103 0 0 13 defined $expected and $expected->is_exec
0 12 1 defined $expected and $expected->is_exec and defined $expected->callback
136 0 0 17 defined $expected and $expected->is_system
0 0 17 defined $expected and $expected->is_system and defined $expected->callback
269 4 4 33 defined $_[0] and not XXX
8 5 28 defined $_[0] and not XXX and not XXX
270 20 16 5 defined $_[0] and XXX

or 2 conditions

line l !l condition
355 5 13 $check2 ||= {"status", 0}

or 3 conditions

line l !l&&r !l&&!r condition
94 6 2 5 @_ == 1 or @_ == 0
127 9 2 6 @_ == 1 or @_ == 0
202 70 1 0 $sig ||= do { require Config; my %sig; my @num = split(/\s+/, $Config::Config{'sig_num'}, 0); foreach my $name (split(/\s+/, $Config::Config{'sig_name'}, 0)) { $sig{$name} = shift @num; } ; \%sig }