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
95 0 13 unless length $page
101 91 78 if (not $token =~ /^(<!--.*?-->)$/) { }
24 54 elsif ($token =~ /(<!--\s*end)?section\s+.*?-->/) { }
104 18 6 if $keep_sections
106 48 6 unless $self->{'remove_comments'}
129 21 21 unless $after
132 0 42 unless (defined $loc)
138 21 21 $after ? :
145 0 7 if $notfound
160 1 1 unless (defined $prototype_file)
161 1 0 if (@$files)