Branch Coverage

blib/lib/Iterator/Flex/Product.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
63 0 6 Ref::Util::XS::is_hashref($args[-1]) ? :
65 0 6 unless @args
72 4 2 if (Ref::Util::XS::is_ref($args[0])) { }
76 0 2 if @args % 2
89 0 8 unless Ref::Util::XS::is_hashref($state)
103 0 8 unless &List::Util::all(sub { defined can_meth($_, "rewind"); } , @iterators)
105 0 8 if @keys and @keys != @iterators
108 2 6 if $thaw
125 11 33 if $iterator_state == 1
128 7 26 if (not @value) { }
134 0 14 if $iter->$is_exhausted
145 13 13 if ($iter->$is_exhausted)
152 6 7 unless $iter->$is_exhausted
156 7 6 unless $set[0]
167 8 18 if (@keys) { }
178 6 27 unless @value
179 5 22 if $iterator_state eq 1
180 8 14 if (@keys) { }
196 8 0 if (&List::Util::all(sub { defined can_meth($_, "current"); } , @iterators))