Branch Coverage

blib/lib/App/CopyrightImage.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
20 1 9 unless $data{'src'}
21 1 1 unless ($data{'name'} or ($data{'check'} or $data{'remove'}))
26 0 8 if ($data{'dst'} and -d $data{'dst'}) { }
3 5 elsif (-d $data{'src'}) { }
37 3 5 if (-d $data{'src'}) { }
47 3 5 if ($data{'check'}) { }
59 2 3 $data->{'dst'} ? :
61 5 0 unless (-d $dst)
62 0 5 unless mkdir $dst
75 1 6 if ($data->{'remove'})
86 1 3 if (not $data->{'force'} and $cp || $cr)
87 1 0 if $cp
88 1 0 if $cr
95 0 5 if $data->{'email'}
110 0 5 unless $et->GetValue('Copyright')
113 0 5 unless $et->GetValue('Creator')
129 3 1 unless $cp
130 3 1 unless $cr
132 3 1 if $err_str