Condition Coverage

blib/lib/Set/Relation/V2.pm
Criterion Covered Total %
condition 46 277 16.6


and 3 conditions

line !l l&&!r l&&r condition
174 22 0 0 &blessed($members) and $members->can('does')
22 0 0 &blessed($members) and $members->can('does') and $members->does('Set::Relation')
0 0 0 &blessed($members) and $members->can('does') and $members->does('Set::Relation') and not $members->isa('Set::Relation::V2')
189 0 0 0 &blessed($members) && $members->isa('Set::Relation::V2')
61 0 0 ref $members ne 'ARRAY' and not &blessed($members) && $members->isa('Set::Relation::V2')
222 61 0 0 &blessed($members) and $members->isa('Set::Relation::V2')
454 0 0 2 not ref $want_ord_attrs and $want_ord_attrs eq '1'
0 0 0 ref $want_ord_attrs eq 'ARRAY' and @{$want_ord_attrs;} == @{$attr_names;}
0 0 0 ref $want_ord_attrs eq 'ARRAY' and @{$want_ord_attrs;} == @{$attr_names;} and &all(sub { exists $heading->{$_}; } , @{$want_ord_attrs;})
582 0 0 93 @{$h1_hkeys;} == @{$h2_hkeys;} && &all(sub { exists $h1->{$_}; } , @{$h2_hkeys;})
649 231 0 0 &blessed($atvl) and $atvl->can('does')
231 0 0 &blessed($atvl) and $atvl->can('does') and $atvl->does('Set::Relation')
0 0 0 &blessed($atvl) and $atvl->can('does') and $atvl->does('Set::Relation') and not $atvl->isa('Set::Relation::V2')
678 125 0 0 &blessed($atvl) and $atvl->can('does')
125 0 0 &blessed($atvl) and $atvl->can('does') and $atvl->does('Set::Relation')
0 0 0 &blessed($atvl) and $atvl->can('does') and $atvl->does('Set::Relation') and not $atvl->isa('Set::Relation::V2')
1323 0 0 0 &blessed($inner_r) and $inner_r->isa('Set::Relation::V2')
0 0 0 &blessed($inner_r) and $inner_r->isa('Set::Relation::V2') and $topic->_is_identical_hkeys($inner_h, $inner_r->_heading)
1934 0 1 1 defined $atnms and not ref $atnms
1994 0 0 0 &blessed($other) and $other->can('does')
0 0 0 &blessed($other) and $other->can('does') and $other->does('Set::Relation')
0 0 0 &blessed($other) and $other->can('does') and $other->does('Set::Relation') and not $other->isa('Set::Relation::V2')
1999 0 0 0 &blessed($other) and $other->isa('Set::Relation::V2')
0 0 0 &blessed($other) and $other->isa('Set::Relation::V2') and $self->_is_identical_hkeys($self->_heading, $other->_heading)
2010 0 0 22 &blessed($other) and $other->can('does')
0 0 22 &blessed($other) and $other->can('does') and $other->does('Set::Relation')
0 22 0 &blessed($other) and $other->can('does') and $other->does('Set::Relation') and not $other->isa('Set::Relation::V2')
2015 0 0 22 &blessed($other) and $other->isa('Set::Relation::V2')
2032 1 0 16 $topic->degree == $other->degree && $topic->_is_identical_hkeys($topic->_heading, $other->_heading) && $topic->cardinality == $other->cardinality && $topic->_is_identical_hkeys($topic->_dup_free_want_index_over_all_attrs, $other->_dup_free_want_index_over_all_attrs)
2068 0 0 0 $topic->cardinality < $other->cardinality && &all(sub { exists $other_i->{$_}; } , CORE::keys %{$topic->_dup_free_want_index_over_all_attrs;})
2078 0 0 0 $other->cardinality < $topic->cardinality && &all(sub { exists $topic_i->{$_}; } , CORE::keys %{$other->_dup_free_want_index_over_all_attrs;})
2240 0 0 3 &blessed($others) and $others->can('does')
0 0 3 &blessed($others) and $others->can('does') and $others->does('Set::Relation')
2249 0 0 3 &blessed($other) and $other->can('does')
0 0 3 &blessed($other) and $other->can('does') and $other->does('Set::Relation')
0 3 0 &blessed($other) and $other->can('does') and $other->does('Set::Relation') and not $other->isa('Set::Relation::V2')
2254 0 0 3 &blessed($other) and $other->isa('Set::Relation::V2')
0 0 3 &blessed($other) and $other->isa('Set::Relation::V2') and $self->_is_identical_hkeys($self_h, $other->_heading)
2269 0 0 2 &blessed($others) and $others->can('does')
0 0 2 &blessed($others) and $others->can('does') and $others->does('Set::Relation')
2278 0 0 2 &blessed($other) and $other->can('does')
0 0 2 &blessed($other) and $other->can('does') and $other->does('Set::Relation')
0 2 0 &blessed($other) and $other->can('does') and $other->does('Set::Relation') and not $other->isa('Set::Relation::V2')
2283 0 0 2 &blessed($other) and $other->isa('Set::Relation::V2')
2398 0 0 0 @{$source_only;} == 0 and @{$filter_only;} == 0
2431 0 0 0 $source->_is_known_dup_free and $filter->_is_known_dup_free
2499 2 0 0 @{$result_only;} == 0 and @{$input_only;} == 0
2557 0 0 2 $topic->_is_known_dup_free and $other->_is_known_dup_free
2640 0 0 0 $topic->_is_known_dup_free and $other->_is_known_dup_free
2721 0 0 0 @{$topic_only;} == 0 and @{$other_only;} == 0
2969 0 0 0 defined $order_by and not ref $order_by
2987 0 0 0 ref $_ eq 'ARRAY' and @{$_;} == 3
0 0 0 ref $_ eq 'ARRAY' and @{$_;} == 3 and defined $_->[0]
0 0 0 ref $_ eq 'ARRAY' and @{$_;} == 3 and defined $_->[0] and not ref $_->[0]
3365 0 0 0 $primary->_is_known_dup_free and $secondary->_is_known_dup_free
3394 0 0 0 $primary->_is_known_dup_free and $secondary->_is_known_dup_free
3437 0 0 0 $primary->_is_known_dup_free and $secondary->_is_known_dup_free
3472 0 0 0 $primary->_is_known_dup_free and $secondary->_is_known_dup_free

or 2 conditions

line l !l condition
2781 11 16 $index->{$subtuple_ident_str} ||= {}
3018 0 0 $compare_op ||= 'cmp'

or 3 conditions

line l !l&&r !l&&!r condition
121 0 61 0 &blessed($class) || $class
208 0 0 0 ref $key ne 'ARRAY' or ¬all(sub { not ref $_ if defined $_; } , @{$key;})
261 0 0 44 ref $tuple ne 'HASH' or not $self->_is_identical_hkeys($heading, $tuple)
290 0 0 9 @{$members;} != 2 or ref $member1 ne 'ARRAY'
307 0 0 35 ref $tuple ne 'ARRAY' or @{$tuple;} != @{$member0;}
392 0 28 5 $allow_dup_tuples or $self->_is_known_dup_free
424 0 0 0 $allow_dup_tuples or $self->_is_known_dup_free
454 2 0 0 not ref $want_ord_attrs and $want_ord_attrs eq '1' or ref $want_ord_attrs eq 'ARRAY' and @{$want_ord_attrs;} == @{$attr_names;} and &all(sub { exists $heading->{$_}; } , @{$want_ord_attrs;})
474 0 0 0 $allow_dup_tuples or $self->_is_known_dup_free
504 0 4 0 $allow_dup_tuples or $self->_is_known_dup_free
538 0 0 13 ref $tuple ne 'HASH' or not $r->_is_identical_hkeys($r_h, $tuple)
1132 0 0 0 ref $inner_t ne 'HASH' or not $topic->_is_identical_hkeys($inner_h, $inner_t)
1452 0 16 0 $allow_dup_tuples or $topic->_is_known_dup_free
1493 0 0 0 $allow_dup_tuples or $topic->_is_known_dup_free
1536 0 0 0 $allow_dup_tuples or $topic->_is_known_dup_free
1587 0 0 0 $allow_dup_tuples or $topic->_is_known_dup_free
1661 0 0 0 $allow_dup_tuples or $topic->_is_known_dup_free
1762 0 0 0 $allow_dup_tuples or $topic->_is_known_dup_free
1827 0 0 0 $allow_dup_tuples or $topic->_is_known_dup_free
1906 0 0 0 $allow_dup_tuples or $topic->_is_known_dup_free
1955 0 0 5 not defined $atnm or ref $atnm
1963 0 0 0 not defined $atnm or ref $atnm
0 0 0 not defined $atnm or ref $atnm or not $atnm =~ /^[0-9]+$/
1979 0 0 0 ref $result_t ne 'HASH' or not $self->_is_identical_hkeys($heading, $result_t)
2303 0 0 0 $source->is_empty or $filter->is_empty
2336 0 0 0 $source->is_empty or $filter->is_empty
2385 0 0 0 $source->is_nullary or $filter->is_nullary
2665 0 0 0 $dividend->is_empty or $divisor->is_empty
2672 0 0 0 $dividend->is_nullary or $divisor->is_nullary
2699 0 0 0 $topic->is_empty or $other->is_empty
2987 0 0 0 not defined $_->[2] or $_->[2] eq 'cmp'
0 0 0 not defined $_->[2] or $_->[2] eq 'cmp' or $_->[2] eq '<=>'
3164 0 0 0 $allow_dup_tuples or $topic->_is_known_dup_free