Branch Coverage

blib/lib/Template/Plugin/MIME.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
56 0 5 unless (ref $self)
283 0 4 if (exists $$this{'attachments'}{'index'}{'files'}{$path})
287 0 4 unless (-e $path)
292 0 4 unless $digest->addfile($path)
295 0 4 if (exists $$this{'attachments'}{'index'}{'cids'}{$cid})
303 4 0 unless defined $$self{'magic'}