Branch Coverage

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


line true false branch
40 0 11 if $d
47 2 9 if $a
48 2 9 if $b
49 2 9 if $c
50 3 8 if $d
51 1 10 if $e
62 0 5 unless defined $content
65 0 5 unless $extension and $extension =~ /\A\S{2,}\Z/s
70 0 5 &useWords ? :
92 1 0 if (my $content = $options{'companionContent'})
94 1 0 if (not -e $comp) { }
110 2 0 if $base eq $proposed
116 0 1 unless -e $source and not -d $source
122 1 0 if ($target and $target ne &fp($source)) { }
0 0 elsif ($correctName) { }
127 1 0 if (-e $cs) { }
153 0 4 unless defined $content
156 0 4 unless $e =~ /\A\S{2,}\Z/s
161 0 4 &useWords ? :
182 1 0 if (defined $companionContent)
184 1 0 if (not -e $comp) { }
199 2 0 if $base eq $proposed
205 0 1 unless -e $source and not -d $source
208 1 0 if ($target and $target ne &fp($source)) { }
0 0 elsif ($correctName) { }
214 1 0 if (-e $cs) { }
1787 0 1 if eval "eof(${p}::DATA)"
1789 0 1 if $@
1791 0 1 if $@