Condition Coverage

blib/lib/Log/Trace.pm
Criterion Covered Total %
condition 33 65 50.7


and 3 conditions

line !l l&&!r l&&r condition
73 2 1 2 @DB::args and "$DB::args[0]" eq "$params"
146 0 0 41 $target and $import_targets{$target}
196 0 33 29 $_[0] and ref $_[0] eq 'HASH'
224 0 2 0 $_[0] and ref $_[0] eq 'HASH'
2 0 0 $_[0] and ref $_[0] eq 'HASH' and defined $_[0]{'Level'}
274 2 0 6 defined $sub and defined &$sub
296 0 0 0 $_[0] && ref $_[0]
1 0 0 $_[0] && ref $_[0]
1 0 0 $_[0] && ref $_[0]
0 0 0 $_[0] && ref $_[0]
1 0 0 $_[0] && ref $_[0]
1 0 0 $_[0] && ref $_[0]
324 516 262 0 not $package and $module eq 'main' || !($module =~ /^[a-zA-Z_]\w*$/)
380 0 0 1 $rv and $package
434 4 2 12 defined $trace_level and defined $_
511 1 0 2 $msg and @args

or 2 conditions

line l !l condition
497 0 0 shift() || 'debug'

or 3 conditions

line l !l&&r !l&&!r condition
251 191 4 571 $all_packages or defined &{"${module}::TRACE";}
324 4 4 254 $module eq 'main' || !($module =~ /^[a-zA-Z_]\w*$/)
384 0 1 0 $$params{'Everywhere'} or defined &{"${package}::TRACE";}
405 39 13 0 $caller[0] eq 'Log::Trace' or $caller[3] =~ /^@{['Log::Trace'];}\::/o
433 16 0 3 defined $_ or defined $trace_level