Branch Coverage

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


line true false branch
341 3 8 if ($arg_list[-1][3] == 0) { }
8 0 elsif (@arg_list) { }
369 257 0 if (exists $passed_ref->{'before_method'}) { }
380 31 226 if ($passed_ref->{'skip'} eq 'YES') { }
85 141 elsif (exists $$base_type_ref{$passed_ref->{'primary_type'}}) { }
392 44 97 if ($self->check_sorted_node($passed_ref->{'primary_type'}))
399 0 44 is_CodeRef($self->_retrieve_sorted_nodes($passed_ref->{'primary_type'})) ? :
401 0 44 if ($passed_ref->{'primary_type'} eq 'ARRAY')
409 139 118 if ($list_ref)
438 0 416 if ($key eq 'primary_ref' and $self->has_fixed_primary and $self->get_fixed_primary) { }
349 67 elsif (exists $lower_ref->{$key}) { }
463 214 43 if (exists $passed_ref->{'after_method'}) { }
481 134 20 if (exists $passed_ref->{$key})
484 132 2 $passed_ref->{$key} ? :
500 2 49 unless (exists $passed_ref->{$key})
502 2 0 exists $lookup_ref->{$key} ? :
516 12 86 if (not exists $passed_ref->{$key}) { }
86 0 elsif (defined $passed_ref->{$key}) { }
519 0 12 exists $lookup_ref->{$key} ? :
526 0 0 exists $lookup_ref->{$key} ? :
531 49 0 if ($count->{'found'}) { }
0 0 elsif (exists $count->{'empty'}) { }
553 201 5 if (exists $data_key_tests->{'all_possibilities'}{$key}) { }
5 0 elsif ($self->meta->find_attribute_by_name($key)) { }
560 0 5 if (defined $1)
566 20 0 if ($self->can($method)) { }
574 2 3 $self->$predicate ? :
586 17 32 if (exists $passed_ref->{'secondary_ref'})
617 0 0 if (scalar @{$self->_get_object_attributes($data_reference);})
621 0 0 if (scalar @{$self->_get_object_methods($data_reference);})
638 395 745 if defined $return
653 0 5 if (defined $1)
659 2 3 if (defined $attribute_ref->{$attribute})
682 329 185 if (exists $passed_ref->{$ref_key}) { }
684 206 123 if (exists $discover_type_dispatch->{$ref_type}) { }
689 123 126 if ($self->_dispatch_method($discover_type_dispatch, $key, $passed_ref->{$ref_key}))
705 0 514 unless ($ref_type)
719 185 72 if ($passed_ref->{'secondary_type'} eq 'DNE') { }
14 58 elsif ($passed_ref->{'secondary_type'} ne $passed_ref->{'primary_type'}) { }
739 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) { }
756 2 14 if $skip eq 'YES'
771 11 5 if $test_ref->[0] eq $branch_ref->[0]
774 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/
786 16 0 if $test_ref->[2] =~ /^(any|all)$/i or is_Num($test_ref->[2]) and $test_ref->[2] == $branch_ref->[2]
791 16 0 if $test_ref->[3] =~ /^(any|all)$/i or is_Num($test_ref->[3]) and $test_ref->[3] == $branch_ref->[3]
796 2 14 $match_level == 4 ? :
808 208 208 if ($key eq 'secondary_ref')
817 263 153 if ($test)
842 0 0 if ($item eq 'attributes')
851 0 0 if ($item eq 'methods') { }