Branch Coverage

blib/lib/Email/Template.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
118 2 0 if $_[0] eq 'Email::Template' or ref $_[0]
121 2 0 if ($path_to_tt2 =~ m[^/])
122 0 2 if not -e $path_to_tt2 and -T _
126 0 2 unless _required_args($args)
131 0 2 unless $tt->process($path_to_tt2, $$args{'tt_vars'}, \my($html))
149 0 2 if ($$args{'mime_lite_attach'} and ref $$args{'mime_lite_attach'} eq 'ARRAY')
151 0 0 unless ref $_ eq 'HASH'
155 0 2 if $$args{'return_mime_lite'}
158 0 2 $$args{'mime_lite_send'} ? :
160 0 0 unless $email->last_send_successful
166 0 2 unless ref $args eq 'HASH'
168 0 6 unless $$args{$_}