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') { }
136 0 0 if (exists $process_tags{$tag}) { }
145 0 0 if (exists $process_attrs->{$attr})
149 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)
229 0 0 if (-d $_) { }
0 0 elsif (/\.html?$/) { }
247 0 0 if (-d $dir) { }
0 0 elsif (-e $dir) { }
257 0 0 unless mkdir $dir
273 0 0 if (&$should_replace_file($src, $dest))
283 0 0 if (&$should_replace_file($src, $dest))