Branch Coverage

lib/App/Followme/EditSections.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
50 21 28 if ($after) { }
53 0 28 if $mid > $propos
61 42 56 unless $newpos > $pagepos
67 7 42 if ($count > 1) { }
42 0 elsif ($count == 1) { }
69 0 7 if (defined $hi) { }
76 21 21 unless $after
105 0 13 unless length $page
111 91 78 if (not $token =~ /^(<!--.*?-->)$/) { }
24 54 elsif ($token =~ /(<!--\s*end)?section\s+.*?-->/) { }
114 18 6 if $keep_sections
116 48 6 unless $self->{'remove_comments'}
150 21 21 unless $after
153 0 42 unless (defined $loc)
159 21 21 $after ? :
166 0 7 if $notfound
180 1 1 unless (defined $prototype_file)
181 1 0 if (@$files)