Branch Coverage

blib/lib/MToken/Util.pm
Criterion Covered Total %
branch 9 32 28.1


line true false branch
181 3 1 unless -e $f
182 0 1 unless open my $sha1_fh, "<", $f
183 1 0 if ($sha1_fh)
195 0 0 unless -e $f
196 0 0 unless open my $md5_fh, "<", $f
197 0 0 if ($md5_fh)
208 0 0 if -e $f
213 0 0 ref $url eq 'URI' ? :
226 0 0 unless defined $p and length $p
227 0 0 $full ? :
233 0 1 unless $fn
234 0 1 unless length $text
235 0 1 unless bsave($fn, "CTK::Crypt::TCD04"->new->encrypt($text))
241 0 1 unless $fn
242 0 1 unless -f $fn and -r _ and -s _
248 0 0 if $dumper->can("Sortkeys")