Branch Coverage

blib/lib/Data/Walk/Print.pm
Criterion Covered Total %
branch 38 52 73.0


line true false branch
100 0 13 @_ == 2 && is_HashRef($_[1]) ? :
0 13 @_ == 2 && (is_HashRef($_[1]) && !exists $_[1]{'print_ref'} || !is_HashRef($_[1])) ? :
112 0 11 $self->get_to_string ? :
159 37 58 if ($self->get_match_highlighting and not $self->_has_match_string)
164 84 11 if ($self->_get_current_level)
174 94 1 if ($passed_ref->{'skip'} eq 'NO') { }
184 52 43 if ($should_print)
203 95 0 if ($should_print)
216 63 147 $self->_has_pending_string ? :
210 0 $string ? :
228 118 57 $self->_has_match_string ? :
175 0 $string ? :
244 147 0 if ($self->_has_pending_string)
247 0 147 if $input
248 37 21 if ($self->has_match_highlighting and $self->get_match_highlighting and $self->_get_had_secondary and $self->_has_match_string)
257 0 147 if ($self->get_to_string) { }
274 14 49 $passed_ref->{'secondary_type'} ne 'DNE' ? :
286 6 15 $passed_ref->{'secondary_type'} ne 'DNE' ? :
298 7 35 $passed_ref->{'secondary_type'} eq 'HASH' ? :
312 4 6 $passed_ref->{'secondary_type'} eq 'ARRAY' ? :
326 0 0 $passed_ref->{'secondary_type'} eq 'ARRAY' ? :
342 5 34 &is_Num($passed_ref->{'primary_ref'}) ? :
346 6 33 $passed_ref->{'match'} eq 'YES' ? :
370 1 10 if ($passed_ref->{'skip'} eq 'YES') { }
383 0 42 if ($passed_ref->{'skip'} eq 'YES') { }
396 0 0 if ($passed_ref->{'skip'} eq 'YES') { }