Branch Coverage

lib/WRT/Markup.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
129 0 15 if ($@)
142 126 0 if (defined $self->{$1}) { }
221 0 3 if ($file =~ m[^ (/ | [.]/) ]x) { }
229 0 3 unless (-e $file)
234 0 3 if (-d $file)
238 0 3 unless open my $fh, '<', $file
248 0 3 unless close $fh
359 0 1 if (-e "$dir/$image_url") { }
1 0 elsif (-e $self->entry_dir . "/$image_url") { }