Branch Coverage

blib/lib/HTML/Links/Localize.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
107 0 0 if ($type eq 'E') { }
0 0 elsif ($type eq 'C') { }
0 0 elsif ($type eq 'T') { }
0 0 elsif ($type eq 'D') { }
0 0 elsif ($type eq 'PI') { }
0 0 elsif ($type eq 'S') { }
137 0 0 if (exists $process_tags{$tag}) { }
146 0 0 if (exists $process_attrs->{$attr})
150 0 0 if (not $value =~ /^[a-z]+:/ || $value =~ m[^/] and $value =~ m[/(#[^#/]*)?$])
157 0 0 if ($attr eq '/') { }
187 0 0 unless open my $in, '<', "$src_dir/$filename"
189 0 0 unless open my $out, '>', "$dest_dir/$filename"
204 0 0 if ($args{'only-newer'}) { }
221 0 0 if (length $filename < length $src_dir)
228 0 0 if (-d $_) { }
0 0 elsif (/\.html?$/) { }
246 0 0 if (-d $dir) { }
0 0 elsif (-e $dir) { }
256 0 0 unless mkdir $dir
272 0 0 if (&$should_replace_file($src, $dest))
282 0 0 if (&$should_replace_file($src, $dest))