Branch Coverage

blib/lib/App/makebeamerinfo.pm
Criterion Covered Total %
branch 28 48 58.3


line true false branch
22 0 1 ref $_[0] ? :
42 0 1 if $$args{'pdf'}
43 0 1 if $$args{'nav'}
93 0 1 if (not $$files{'pdf'} and $$files{'nav'})
97 0 1 if (not $$files{'nav'} and $$files{'pdf'})
113 4 1 if (my $name = shift())
176 0 0 unless my $full_path = shift()
179 0 0 $suffix eq '.pdf' ? :
183 0 0 if $found
184 0 0 if ($_ eq $file)
197 0 0 unless ($filename)
206 0 0 unless (open $handle, $mode, $filename)
234 1 0 @_ ? :
243 3 13 if (/\\beamer\@framepages\s*/cg)
256 1 15 if (/\\sectionentry\s*/cg)
263 1 15 if (/\\beamer\@subsectionentry\s*/cg)
271 0 1 if ($collapse and $$sections{$section}{'page'} == $page - 1)
295 3 0 @_ ? :
305 6 9 if ($$pages{$page}{'type'} eq 'increment' or $$pages{$page}{'to_collapse'})
308 3 12 if ($$pages{$page}{'is_section'}) { }
3 9 elsif ($page == 1) { }
313 3 12 if ($$pages{$page}{'is_subsection'})
316 3 6 if ($$pages{$page}{'type'} eq 'frame' and not $$pages{$page}{'to_collapse'} and not $trans->default_frame)
326 2 1 unless ($trans->default_increment)