Branch Coverage

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


line true false branch
64 0 6 Ref::Util::XS::is_hashref($args[-1]) ? :
66 0 6 unless @args
73 4 2 if (Ref::Util::XS::is_ref($args[0])) { }
77 0 2 if @args % 2
90 0 8 unless Ref::Util::XS::is_hashref($state)
104 0 8 unless &List::Util::all(sub { defined can_meth($_, "rewind"); } , @iterators)
106 0 8 if @keys and @keys != @iterators
109 2 6 if $thaw
126 11 33 if $iterator_state == 1
129 7 26 if (not @value) { }
135 0 14 if $iter->$is_exhausted
146 13 13 if ($iter->$is_exhausted)
153 6 7 unless $iter->$is_exhausted
157 7 6 unless $set[0]
168 8 18 if (@keys) { }
179 6 27 unless @value
180 5 22 if $iterator_state eq 1
181 8 14 if (@keys) { }
197 8 0 if (&List::Util::all(sub { defined can_meth($_, "current"); } , @iterators))