Branch Coverage

blib/lib/Dita/GB/Standard.pm
Criterion Covered Total %
branch 32 58 55.1


line true false branch
41 0 11 if $d
48 2 9 if $a
49 2 9 if $b
50 2 9 if $c
51 3 8 if $d
52 1 10 if $e
63 0 5 unless defined $content
66 0 5 unless $extension and $extension =~ /\A\S{2,}\Z/s
71 0 5 &useWords ? :
93 1 0 if (my $content = $options{'companionContent'})
95 1 0 if (not -e $comp) { }
111 2 0 if $base eq $proposed
117 0 1 unless -e $source and not -d $source
123 1 0 if ($target and $target ne &fp($source)) { }
0 0 elsif ($correctName) { }
128 1 0 if (-e $cs) { }
154 0 4 unless defined $content
157 0 4 unless $e =~ /\A\S{2,}\Z/s
162 0 4 &useWords ? :
183 1 0 if (defined $companionContent)
185 1 0 if (not -e $comp) { }
200 2 0 if $base eq $proposed
206 0 1 unless -e $source and not -d $source
209 1 0 if ($target and $target ne &fp($source)) { }
0 0 elsif ($correctName) { }
215 1 0 if (-e $cs) { }
1788 0 1 if eval "eof(${p}::DATA)"
1790 0 1 if $@
1792 0 1 if $@