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
250 0 0 0 index($inc, '/') >= 0 and index($file, $inc) == 0
388 0 0 0 $last_dumptrace and $dt eq $last_dumptrace
455 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)
652 0 81 0 @keys == 0 and 'Devel::DumpTrace::CachedDisplayedHash'->is($hashref)
681 0 79 0 ref $sv eq 'B::HV' && $sv->NAME
689 0 72 21 ref $arrayref && ref $arrayref ne 'ARRAY'
701 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;}
728 0 93 0 @keys == 0 and 'Devel::DumpTrace::CachedDisplayedArray'->is($arrayref)
1059 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'} || ''
184 0 0 $sub ||= '__top__'
322 0 11 shift() || 0
414 0 0 $DEFERRED{"$sub : $f"} ||= []
560 0 1 shift() || ''
604 81 0 &Scalar::Util::reftype($hashref) || ''
786 21 101 $3 || ''
59 63 $4 || ''
807 0 0 $sub ||= '__top__'
839 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
232 0 0 0 $INCLUDE_PKG{$pkg} or $INCLUDE_PKG{$file}
240 0 0 0 $EXCLUDE_PKG{$pkg} or $EXCLUDE_PKG{$file}
415 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 ''
1099 22 14 0 {'verbose', 5, 'normal', 3, 'default', 3, 'quiet', 1, 'on', 3, 'off', '00'}->{lc $style} || $style