Condition Coverage

blib/lib/Set/Relation/V1.pm
Criterion Covered Total %
condition 48 225 21.3


and 3 conditions

line !l l&&!r l&&r condition
208 22 0 15 &blessed($members) and $members->can("does")
22 0 15 &blessed($members) and $members->can("does") and $members->does("Set::Relation")
0 15 0 &blessed($members) and $members->can("does") and $members->does("Set::Relation") and not $members->isa("Set::Relation::V1")
223 0 0 15 &blessed($members) && $members->isa('Set::Relation::V1')
47 15 0 ref $members ne "ARRAY" and not &blessed($members) && $members->isa('Set::Relation::V1')
247 47 0 15 &blessed($members) and $members->isa("Set::Relation::V1")
479 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;})
597 0 0 0 &blessed($atvl) and $atvl->isa("Set::Relation::V1")
616 0 0 92 @{$h1_hkeys;} == @{$h2_hkeys;} && &all(sub { exists $h1->{$_}; } , @{$h2_hkeys;})
683 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::V1")
712 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::V1")
1316 0 0 0 &blessed($inner_r) and $inner_r->isa("Set::Relation::V1")
0 0 0 &blessed($inner_r) and $inner_r->isa("Set::Relation::V1") and $topic->_is_identical_hkeys($inner_h, $inner_r->_heading)
1908 0 1 1 defined $atnms and not ref $atnms
1968 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::V1")
1973 0 0 0 &blessed($other) and $other->isa("Set::Relation::V1")
0 0 0 &blessed($other) and $other->isa("Set::Relation::V1") and $self->_is_identical_hkeys($self->_heading, $other->_heading)
1984 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::V1")
1989 0 0 22 &blessed($other) and $other->isa("Set::Relation::V1")
2006 1 0 16 $topic->degree == $other->degree && $topic->cardinality == $other->cardinality && $topic->_is_identical_hkeys($topic->_heading, $other->_heading) && $topic->_is_identical_hkeys($topic->_body, $other->_body)
2041 0 0 0 $topic->cardinality < $other->cardinality && &all(sub { exists $other_b->{$_}; } , CORE::keys %{$topic->_body;})
2051 0 0 0 $other->cardinality < $topic->cardinality && &all(sub { exists $topic_b->{$_}; } , CORE::keys %{$other->_body;})
2216 0 0 3 &blessed($others) and $others->can("does")
0 0 3 &blessed($others) and $others->can("does") and $others->does("Set::Relation")
2225 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::V1")
2230 0 0 3 &blessed($other) and $other->isa("Set::Relation::V1")
0 0 3 &blessed($other) and $other->isa("Set::Relation::V1") and $self->_is_identical_hkeys($self_h, $other->_heading)
2245 0 0 2 &blessed($others) and $others->can("does")
0 0 2 &blessed($others) and $others->can("does") and $others->does("Set::Relation")
2254 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::V1")
2259 0 0 2 &blessed($other) and $other->isa("Set::Relation::V1")
2372 0 0 0 @{$source_only;} == 0 and @{$filter_only;} == 0
2471 2 0 0 @{$result_only;} == 0 and @{$input_only;} == 0
2691 0 0 0 @{$topic_only;} == 0 and @{$other_only;} == 0
2884 0 0 0 defined $order_by and not ref $order_by
2902 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]

or 2 conditions

line l !l condition
2746 11 16 $index->{$subtuple_ident_str} ||= {}
2933 0 0 $compare_op ||= "cmp"
3434 0 0 $index->{$subtuple_ident_str} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
26 47 0 0 $role_name eq "Set::Relation" or $role_name eq "Set::Relation::Mutable"
149 0 62 0 &blessed($class) || $class
242 0 0 0 ref $key ne "ARRAY" or ¬all(sub { not ref $_ if defined $_; } , @{$key;})
286 0 0 44 ref $tuple ne "HASH" or not $self->_is_identical_hkeys($heading, $tuple)
314 0 0 9 @{$members;} != 2 or ref $member1 ne "ARRAY"
331 0 0 35 ref $tuple ne "ARRAY" or @{$tuple;} != @{$member0;}
479 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;})
555 0 0 13 ref $tuple ne "HASH" or not $r->_is_identical_hkeys($r_h, $tuple)
1117 0 0 0 ref $inner_t ne "HASH" or not $topic->_is_identical_hkeys($inner_h, $inner_t)
1929 0 0 5 not defined $atnm or ref $atnm
1937 0 0 0 not defined $atnm or ref $atnm
0 0 0 not defined $atnm or ref $atnm or not $atnm =~ /^[0-9]+$/
1953 0 0 0 ref $result_t ne "HASH" or not $self->_is_identical_hkeys($heading, $result_t)
2279 0 0 0 $source->is_empty or $filter->is_empty
2310 0 0 0 $source->is_empty or $filter->is_empty
2359 0 0 0 $source->is_nullary or $filter->is_nullary
2635 0 0 0 $dividend->is_empty or $divisor->is_empty
2642 0 0 0 $dividend->is_nullary or $divisor->is_nullary
2669 0 0 0 $topic->is_empty or $other->is_empty
2902 0 0 0 not defined $_->[2] or $_->[2] eq "cmp"
0 0 0 not defined $_->[2] or $_->[2] eq "cmp" or $_->[2] eq "<=>"