Condition Coverage

blib/lib/MCE/Signal.pm
Criterion Covered Total %
condition 25 113 22.1


and 2 conditions

line l !l condition
71 0 0 $_setpgrp = _flag() and next
72 0 0 $_keep_tmp_dir = _flag() and next
73 0 1 $_use_dev_shm = _flag() and next
74 0 0 $_no_kill9 = _flag() and next
77 0 0 $_no_setpgrp = _flag() and next
78 0 0 $_no_sigmsg = _flag() and next

and 3 conditions

line !l l&&!r l&&r condition
44 75 0 22 $$ == $main_proc_id and not $MCE::Signal::KILLED
75 0 22 $$ == $main_proc_id and not $MCE::Signal::KILLED and not $MCE::Signal::STOPPED
89 4 0 0 $_setpgrp == 1 and not $_is_MSWin32
121 34 0 0 defined $tmp_dir and -d $tmp_dir
34 0 0 defined $tmp_dir and -d $tmp_dir and -w _
123 34 0 0 $ENV{'TEMP'} and -d $ENV{'TEMP'}
34 0 0 $ENV{'TEMP'} and -d $ENV{'TEMP'} and -w _
132 33 0 1 $_use_dev_shm && -d '/dev/shm' && -w _
158 9 0 0 $ENV{'TEMP'} and $^O =~ /mswin|mingw|msys|cygwin/i
203 0 0 22 defined $_[0] and $_[0] eq "MCE::Signal"
242 0 0 0 $_sig_name eq "INT" and -t STDIN
245 0 0 0 $INC{'threads.pm'} and $] lt '5.012000' || 'threads'->tid
292 0 0 0 defined $_[0] and $_[0] eq "MCE::Signal"
318 0 0 0 defined $_[0] and $_[0] eq "MCE::Signal"
321 0 0 0 $INC{'threads.pm'} and "threads"->tid != 0
358 0 0 0 defined $_[0] and $_[0] eq "MCE::Signal"
408 43 0 0 $ENV{'TEMP'} and $ENV{'TEMP'} eq $_[1]
418 548 47 0 $_caller ne "MCE" and $_caller ne "MCE::Signal"
419 0 0 0 $INC{'MCE.pm'} and "MCE"->wid > 0

or 2 conditions

line l !l condition
206 0 22 $_[0] || 0

or 3 conditions

line l !l&&r !l&&!r condition
29 0 0 97 $prog_name eq "-e" or $prog_name eq "-"
92 1 2 1 $_use_dev_shm or grep /tmp_dir/, @_export_args
137 0 34 0 exists $ENV{'MOBASTARTUPDIR'} or -w $_tmp_base_dir
152 0 0 9 not defined $tmp_dir or $tmp_dir eq ""
0 0 9 not defined $tmp_dir or $tmp_dir eq "" or not -d $tmp_dir
245 0 0 0 $] lt '5.012000' || 'threads'->tid
246 0 0 0 $_no_kill9 == 1 || $_sig_name eq 'PIPE'
320 0 0 0 not defined $^S or $^S
321 0 0 0 $INC{'threads.pm'} and "threads"->tid != 0 or $ENV{'PERL_IPERL_RUNNING'}
326 0 0 0 $_t =~ /^(?:[^\n]+\n){1,7}\teval / or $_t =~ /\n\teval [^\n]+\n\t(?:eval|Try)/
363 0 0 0 $_[0] =~ /^Finished with active (?:child|hobo) processes/ or $_[0] =~ /^A thread exited while \d+ threads were running/
0 0 0 $_[0] =~ /^Finished with active (?:child|hobo) processes/ or $_[0] =~ /^A thread exited while \d+ threads were running/ or $_[0] =~ /^Attempt to free unreferenced scalar/
0 0 0 $_[0] =~ /^Finished with active (?:child|hobo) processes/ or $_[0] =~ /^A thread exited while \d+ threads were running/ or $_[0] =~ /^Attempt to free unreferenced scalar/ or $_[0] =~ /^Perl exited with active threads/
0 0 0 $_[0] =~ /^Finished with active (?:child|hobo) processes/ or $_[0] =~ /^A thread exited while \d+ threads were running/ or $_[0] =~ /^Attempt to free unreferenced scalar/ or $_[0] =~ /^Perl exited with active threads/ or $_[0] =~ /^Thread \d+ terminated abnormally/