Branch Coverage

blib/lib/App/VOJournal.pm
Criterion Covered Total %
branch 12 42 28.5


line true false branch
62 0 0 if ($opt->{'version'})
82 0 0 if ($last_file) { }
83 0 0 if ($last_file cmp $path)
84 0 0 if ($opt->{'resume'}) { }
95 0 0 if ($opt->{'resume'})
96 0 0 if ($last_file and $last_file cmp $path)
111 0 0 if ($opt->{'header'})
127 0 0 if (my $od = $opt->{'date'})
128 0 0 if ($od =~ /^\d{1,2}$/) { }
0 0 elsif ($od =~ /^(\d{1,2})(\d{2})$/) { }
0 0 elsif ($od =~ /^(\d{4})(\d{2})(\d{2})$/) { }
149 0 0 if (opendir my $DIR, $dirname)
151 0 0 if $file =~ /$pattern/
174 2 5 if $got_it
181 1 1 if ($this_file =~ qr"^$basedir/\d{4}/\d{2}/\d{8}[.]otl$" and 0 < ($this_file cmp $last_file) and 0 >= ($this_file cmp $next_file))
190 5 0 if ($f->{'wanted'})
205 2 3 if ($got_it) { }
1 2 elsif ($File::Find::dir =~ /^$basedir$/) { }
1 1 elsif ($File::Find::dir =~ m[^$basedir/\d{4}$]) { }
1 0 elsif ($File::Find::dir =~ m[^$basedir/\d{4}/\d{2}$]) { }
231 0 0 if ($opt->{'header'})