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
38 0 9 0 "$]" >= 5.008009 && "$]" < 5.01
40 0 9 0 "$]" > 5.008009 && "$]" <= 5.01
111 17 3 0 @_ && (!defined($_[0]) || $_[0] =~ /^\d+$/)
159 34 0 0 $OPTIONS{'color'} and $^O eq 'MSWin32'
171 0 0 34 $OPTIONS{'errors'} and not $OLD_SIG{'__DIE__'}
173 26 3 5 $SIG{'__DIE__'} and $SIG{'__DIE__'} ne \&Devel::Confess::_die
176 18 0 16 $OPTIONS{'warnings'} and not $OLD_SIG{'__WARN__'}
178 13 3 0 $SIG{'__WARN__'} and $SIG{'__WARN__'} ne \&Devel::Confess::_warn
195 36 0 0 $now ne $sub and $old
247 61 0 0 $OPTIONS{'color'} and &_can_stringify()
360 0 0 6 $NoTrace{$_} and _can($ex, 'isa')
0 6 0 $NoTrace{$_} and _can($ex, 'isa') and $ex->isa($_)
410 12 9 0 $out =~ s/^(={75}\ncontext for .*^={75}\n\z)//ms and $source_trace = $1
417 0 21 0 $trace =~ s/^(={75}\ncontext for .*^={75}\n\z)//ms and $new_source_trace = $1
447 1 0 0 $OPTIONS{'dump'} and not overload::OverloadedStringify($ex)

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
155 10 0 24 $OPTIONS{'source'} or $OPTIONS{'evalsource'}
220 1 1 2 $sig eq 'DEFAULT' or $sig eq 'IGNORE'
259 0 0 0 $OPTIONS{'color'} eq 'force' or -t *STDERR
288 21 0 40 $OPTIONS{'source'} or $OPTIONS{'evalsource'}
369 0 3 0 $message ||= _stack_trace()
392 0 0 0 $MESSAGES{$id} ||= $message
410 21 0 41 $OPTIONS{'source'} or $OPTIONS{'evalsource'}
417 21 0 37 $OPTIONS{'source'} or $OPTIONS{'evalsource'}