Branch Coverage

blib/lib/Package/Debug/Object.pm
Criterion Covered Total %
branch 49 62 79.0


line true false branch
40 1 6 if exists $_[0]{'debug_style'}
51 1 6 if exists $_[0]{'env_key_aliases'}
62 1 6 if exists $_[0]{'env_key_prefix_style'}
73 1 6 if exists $_[0]{'env_key_style'}
84 22 0 if exists $_[0]{'into'}
95 1 6 if exists $_[0]{'into_level'}
106 7 6 if exists $_[0]{'sub_name'}
117 7 6 if exists $_[0]{'value_name'}
128 1 6 if exists $_[0]{'env_key'}
130 0 6 unless (exists $env_key_styles{$style})
144 2 6 if exists $_[0]{'env_key_prefix'}
146 0 6 unless (exists $env_key_prefix_styles{$style})
160 1 6 if exists $_[0]{'debug_sub'}
162 0 6 unless (exists $debug_styles{$style})
176 1 6 if exists $_[0]{'log_prefix_style'}
178 1 5 if $ENV{'PACKAGE_DEBUG_LOG_PREFIX_STYLE'}
189 2 6 if exists $_[0]{'log_prefix'}
191 0 6 unless (exists $log_prefix_styles{$style})
205 7 6 if exists $_[0]{'is_env_debugging'}
206 0 6 if ($ENV{'PACKAGE_DEBUG_ALL'})
210 4 2 unless exists $ENV{$key}
211 0 2 unless $ENV{$key}
224 12 6 if exists $_[0]{'into_stash'}
249 3 0 if defined $prefix
281 5 1 if (length $package < 10)
287 4 0 if ($_ =~ /[[:upper:]]/msx)
305 0 6 unless defined $value_name
308 2 4 if ($stash->has_symbol('$' . $value_name))
318 0 6 unless defined $sub_name
321 0 0 unless (defined $value_name or $is_env_debugging)
327 1000001 3 unless ${$symbol;}