Condition Coverage

blib/lib/Devel/Confess.pm
Criterion Covered Total %
condition 35 76 46.0


and 3 conditions

line !l l&&!r l&&r condition
6 0 9 0 not defined &DB::DB and $^P & 2
30 0 9 0 $] >= 5.008009 && $] < 5.01
32 0 9 0 $] > 5.008009 && $] <= 5.01
101 17 3 0 @_ && (!defined($_[0]) || $_[0] =~ /^\d+$/)
149 34 0 0 $OPTIONS{'color'} and $^O eq 'MSWin32'
161 0 0 34 $OPTIONS{'errors'} and not $OLD_SIG{'__DIE__'}
163 26 3 5 $SIG{'__DIE__'} and $SIG{'__DIE__'} ne \&Devel::Confess::_die
166 18 0 16 $OPTIONS{'warnings'} and not $OLD_SIG{'__WARN__'}
168 13 3 0 $SIG{'__WARN__'} and $SIG{'__WARN__'} ne \&Devel::Confess::_warn
185 36 0 0 $now ne $sub and $old
237 61 0 0 $OPTIONS{'color'} and &_can_stringify()
350 0 0 6 $NoTrace{$_} and _can($ex, 'isa')
0 6 0 $NoTrace{$_} and _can($ex, 'isa') and $ex->isa($_)
400 12 9 0 $out =~ s/^(={75}\ncontext for .*^={75}\n\z)//ms and $source_trace = $1
407 0 21 0 $trace =~ s/^(={75}\ncontext for .*^={75}\n\z)//ms and $new_source_trace = $1
437 1 0 0 $OPTIONS{'dump'} and not overload::OverloadedStringify($ex)

or 2 conditions

line l !l condition
347 3 0 _can($ex, 'can') && ($ex->can('does') || $ex->can('DOES')) || sub () { 0 }
505 0 0 $class->can('DESTROY') || (return)

or 3 conditions

line l !l&&r !l&&!r condition
145 10 0 24 $OPTIONS{'source'} or $OPTIONS{'evalsource'}
210 1 1 2 $sig eq 'DEFAULT' or $sig eq 'IGNORE'
249 0 0 0 $OPTIONS{'color'} eq 'force' or -t *STDERR
278 21 0 40 $OPTIONS{'source'} or $OPTIONS{'evalsource'}
359 0 3 0 $message ||= _stack_trace()
382 0 0 0 $MESSAGES{$id} ||= $message
400 21 0 41 $OPTIONS{'source'} or $OPTIONS{'evalsource'}
407 21 0 37 $OPTIONS{'source'} or $OPTIONS{'evalsource'}