Branch Coverage

blib/lib/Data/Walk/Extracted.pm
Criterion Covered Total %
branch 76 104 73.0


line true false branch
362 3 8 if ($arg_list[-1][3] == 0) { }
8 0 elsif (@arg_list) { }
389 257 0 if (exists $passed_ref->{'before_method'}) { }
399 31 226 if ($passed_ref->{'skip'} eq 'YES') { }
85 141 elsif (exists $$base_type_ref{$passed_ref->{'primary_type'}}) { }
411 44 97 if ($self->check_sorted_node($passed_ref->{'primary_type'}))
418 0 44 is_CodeRef($self->_retrieve_sorted_nodes($passed_ref->{'primary_type'})) ? :
420 0 44 if ($passed_ref->{'primary_type'} eq 'ARRAY')
428 139 118 if ($list_ref)
455 0 416 if ($key eq 'primary_ref' and $self->has_fixed_primary and $self->get_fixed_primary) { }
349 67 elsif (exists $lower_ref->{$key}) { }
479 214 43 if (exists $passed_ref->{'after_method'}) { }
496 134 20 if (exists $passed_ref->{$key})
499 132 2 $passed_ref->{$key} ? :
514 2 49 unless (exists $passed_ref->{$key})
516 2 0 exists $lookup_ref->{$key} ? :
529 12 86 if (not exists $passed_ref->{$key}) { }
86 0 elsif (defined $passed_ref->{$key}) { }
532 0 12 exists $lookup_ref->{$key} ? :
539 0 0 exists $lookup_ref->{$key} ? :
544 49 0 if ($count->{'found'}) { }
0 0 elsif (exists $count->{'empty'}) { }
564 201 5 if (exists $data_key_tests->{'all_possibilities'}{$key}) { }
5 0 elsif ($self->meta->find_attribute_by_name($key)) { }
571 0 5 if (defined $1)
577 20 0 if ($self->can($method)) { }
585 2 3 $self->$predicate ? :
597 17 32 if (exists $passed_ref->{'secondary_ref'})
627 0 0 if (scalar @{$self->_get_object_attributes($data_reference);})
631 0 0 if (scalar @{$self->_get_object_methods($data_reference);})
647 395 745 if defined $return
662 0 5 if (defined $1)
668 2 3 if (defined $attribute_ref->{$attribute})
691 329 185 if (exists $passed_ref->{$ref_key}) { }
693 206 123 if (exists $discover_type_dispatch->{$ref_type}) { }
698 123 126 if ($self->_dispatch_method($discover_type_dispatch, $key, $passed_ref->{$ref_key}))
714 0 514 unless ($ref_type)
727 185 72 if ($passed_ref->{'secondary_type'} eq 'DNE') { }
14 58 elsif ($passed_ref->{'secondary_type'} ne $passed_ref->{'primary_type'}) { }
746 4 253 if ($self->has_skipped_nodes and $self->check_skipped_node($passed_ref->{'primary_type'})) { }
5 248 elsif ($self->has_skip_level and $self->get_skip_level == $passed_ref->{'branch_ref'}[-1][3] + 1) { }
16 232 elsif ($self->has_skip_node_tests) { }
763 2 14 if $skip eq 'YES'
777 11 5 if $test_ref->[0] eq $branch_ref->[0]
780 4 11 if $test_ref->[1] eq 'ARRAY' or $test_ref->[1] =~ /^(any|all)$/i or $item and $test_ref->[1] eq $item || $test_ref->[1] =~ /$item/
792 16 0 if $test_ref->[2] =~ /^(any|all)$/i or is_Num($test_ref->[2]) and $test_ref->[2] == $branch_ref->[2]
797 16 0 if $test_ref->[3] =~ /^(any|all)$/i or is_Num($test_ref->[3]) and $test_ref->[3] == $branch_ref->[3]
802 2 14 $match_level == 4 ? :
813 208 208 if ($key eq 'secondary_ref')
822 263 153 if ($test)
844 0 0 if ($item eq 'attributes')
853 0 0 if ($item eq 'methods') { }