Condition Coverage

blib/lib/Devel/DumpTrace.pm
Criterion Covered Total %
condition 45 104 43.2


and 3 conditions

line !l l&&!r l&&r condition
252 0 0 0 index($inc, '/') >= 0 and index($file, $inc) == 0
390 0 0 0 $last_dumptrace and $dt eq $last_dumptrace
457 0 0 0 $code =~ /^ \s* (my|our) \s* [\$\@%*\(] /x and $code =~ / (?
0 0 0 $code =~ /^ \s* (my|our) \s* [\$\@%*\(] /x and $code =~ / (?
591 0 59 22 ref $hashref && ref $hashref ne 'HASH'
609 0 81 0 @keys == 0 and 'Devel::DumpTrace::CachedDisplayedHash'->is($hashref)
2 0 79 not tied %{$hashref;} and @keys == 0
2 0 79 not tied %{$hashref;} and @keys == 0 and not __hashref_is_symbol_table($hashref)
0 79 0 not tied %{$hashref;} and @keys == 0 and not __hashref_is_symbol_table($hashref) and 100 < scalar &safekeys(\%$hashref)
651 0 81 0 @keys == 0 and 'Devel::DumpTrace::CachedDisplayedHash'->is($hashref)
680 0 79 0 ref $sv eq 'B::HV' && $sv->NAME
688 0 72 21 ref $arrayref && ref $arrayref ne 'ARRAY'
700 0 93 0 @keys == 0 and 'Devel::DumpTrace::CachedDisplayedArray'->is($arrayref)
0 0 93 @keys == 0 and not tied @{$arrayref;}
0 93 0 @keys == 0 and not tied @{$arrayref;} and 100 < scalar @{$arrayref;}
727 0 93 0 @keys == 0 and 'Devel::DumpTrace::CachedDisplayedArray'->is($arrayref)
1058 16 0 0 $_THREADS and 'threads'->tid

or 2 conditions

line l !l condition
33 16 0 eval 'use Time::HiRes qw(time);1' || 0
34 16 0 eval 'use Term::ANSIColor;$Term::ANSIColor::VERSION>=3.00' || 0
150 0 32 $ENV{'DUMPTRACE_EXCLPKG'} || ''
152 0 32 $ENV{'DUMPTRACE_INCLPKG'} || ''
186 0 0 $sub ||= '__top__'
324 0 11 shift() || 0
416 0 0 $DEFERRED{"$sub : $f"} ||= []
560 0 1 shift() || ''
604 81 0 &Scalar::Util::reftype($hashref) || ''
785 21 101 $3 || ''
59 63 $4 || ''
806 0 0 $sub ||= '__top__'
838 21 49 $3 || ''
21 49 $4 || ''
871 42 151 $deref_op ||= ''
872 80 113 $index_op ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
234 0 0 0 $INCLUDE_PKG{$pkg} or $INCLUDE_PKG{$file}
242 0 0 0 $EXCLUDE_PKG{$pkg} or $EXCLUDE_PKG{$file}
417 0 0 0 $code =~ m[[-+*/&|^.%]?=[^=>]] or $code =~ m[[\b*&|/<>]{2}=\b]
875 3 7 183 $ALWAYS_MAIN{$varname} or $varname =~ /^\d+$/
879 14 1 178 $varname =~ /::/ or $pkg eq '::'
906 0 0 18 not defined $reftype or $reftype eq ''
1098 22 14 0 {'verbose', 5, 'normal', 3, 'default', 3, 'quiet', 1, 'on', 3, 'off', '00'}->{lc $style} || $style