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
73 0 0 8 defined $expected and $expected->is_exit
0 6 2 defined $expected and $expected->is_exit and defined $expected->callback
102 0 0 13 defined $expected and $expected->is_exec
0 12 1 defined $expected and $expected->is_exec and defined $expected->callback
135 0 0 17 defined $expected and $expected->is_system
0 0 17 defined $expected and $expected->is_system and defined $expected->callback
268 4 4 33 defined $_[0] and not XXX
8 5 28 defined $_[0] and not XXX and not XXX
269 20 16 5 defined $_[0] and XXX

or 2 conditions

line l !l condition
354 5 13 $check2 ||= {'status', 0}

or 3 conditions

line l !l&&r !l&&!r condition
93 6 2 5 @_ == 1 or @_ == 0
126 9 2 6 @_ == 1 or @_ == 0
201 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 }