Branch Coverage

lib/Devel/Trepan/CmdProcessor/Command/Kill.pm
Criterion Covered Total %
branch 2 28 7.1


line true false branch
71 0 0 if 0 == index('unconditionally', $prefix)
1 1 if 0 == index('unconditionally', $prefix)
80 0 0 if (scalar @$args > 1) { }
0 0 if (scalar @$args > 1) { }
82 0 0 unless ($sig =~ /[+-]?\d+/ or exists $SIG{$sig})
0 0 unless ($sig =~ /[+-]?\d+/ or exists $SIG{$sig})
87 0 0 if ($unconditional or $self->{'proc'}->confirm('Really quit?', 0)) { }
0 0 if ($unconditional or $self->{'proc'}->confirm('Really quit?', 0)) { }
94 0 0 if (kill 0, $$) { }
0 0 if (kill 0, $$) { }
96 0 0 if 'KILL' eq $sig or 9 eq $sig or -9 eq $sig
0 0 if 'KILL' eq $sig or 9 eq $sig or -9 eq $sig
98 0 0 if (kill $sig, $$) { }
0 0 if (kill $sig, $$) { }