Branch Coverage

blib/lib/Data/Iterator/SlidingWindow.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
22 3 4 if (not defined $window_size && $window_size =~ /^[0-9]+$/ or $window_size == 0)
27 2 2 unless ($src_type eq 'CODE' or $src_type eq 'ARRAY')
32 1 1 if ($src_type eq 'ARRAY') { }
45 0 6 unless defined $next
61 2 38 if @$ret != $$self{'_window_size'}
64 36 2 if (defined $next)