Branch Coverage

blib/lib/Data/Page/FlickrLike.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
22 0 16 $last_page - $first_page + 1 < $min ? :
36 0 60 exists $$args{'inner_window'} ? :
39 0 60 exists $$args{'outer_window'} ? :
42 0 60 exists $$args{'min_length'} ? :
45 0 60 exists $$args{'glue_length'} ? :
55 338 82 if $i >= $first_page and $i <= $last_page
59 10 50 if ($$nav[0] == $first_page and $$nav[-1] == $last_page)
60 0 10 wantarray ? :
66 4 46 if ($$nav[0] == $first_page and $$nav[-1] != $last_page) { }
12 34 elsif ($$nav[0] != $first_page and $$nav[-1] == $last_page) { }
89 42 8 if ($begin[-1] < $$nav[0] - 1)
91 4 38 if ($to_glue <= $glue_length) { }
101 34 16 if ($end[0] > $$nav[-1] + 1)
103 4 30 if ($to_glue <= $glue_length) { }
123 0 50 wantarray ? :