Branch Coverage

testlib/App/MaMGal/TestHelper.pm
Criterion Covered Total %
branch 19 32 59.3


line true false branch
19 0 0 unless $args{'name'}
20 0 0 unless $args{'description'}
93 4 16 unless -d "td.in/$dir"
97 1 4 unless -d 'td.in/more/zzz another subdir'
98 0 5 unless my $orig_size = -s 'td.in/p.png'
100 1 4 unless ($dest_size and $orig_size == $dest_size)
106 5 20 unless -l $link
109 0 5 unless system('rm -rf td ; cp -a td.in td') == 0
125 2 0 unless defined $name
138 1 11 if (ref $re and ref $re eq 'ARRAY') { }
143 10 0 $args->[2] ? :
10 0 $args->[3] ? :
149 6 5 $args->[2] ? :
11 0 $args->[3] ? :
153 12 0 unless defined $name
172 0 0 unless defined $name