Branch Coverage

blib/lib/App/SCM/Digest.pm
Criterion Covered Total %
branch 10 50 20.0


line true false branch
67 1 1 if (my $error = $@)
81 3 0 unless ($pre_existing)
82 2 1 unless (-e "$db_path/$name")
88 1 0 unless ($impl->is_usable)
91 0 0 if ($pre_existing)
98 0 0 if (-e $branch_db_path)
104 0 0 unless (-e $branch_db_parent)
121 1 0 unless ($impl->is_usable)
130 0 0 unless (-e $branch_db_path)
133 0 0 unless my $branch_db_file = 'File::ReadBackwards'->new($branch_db_path)
140 0 0 unless ($commit)
166 2 3 if ($config->{'ignore_errors'}) { }
170 2 0 if (my $error = $@)
196 0 0 if (not defined $from || defined $to) { }
0 0 elsif (not defined $from) { }
0 0 elsif (not defined $to) { }
215 0 0 unless ($from_dt)
218 0 0 unless ($to_dt)
236 0 0 if (not $tz or $tz eq 'UTC')
253 0 0 unless (-e $branch_db_path)
261 0 0 if ($time ge $from and $time le $to)
298 0 0 unless ($impl->is_usable)
308 0 0 unless (@commits)
334 0 0 unless (@commit_data)
339 0 0 unless $config->{'headers'}