Branch Coverage

lib/Email/MIME/Creator/ISO_2022_JP.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
10 0 4 if ($Encode::VERSION < 2.11)
20 4 3 unless ($class->can('create_utf8'))
37 4 3 unless (grep /^$class/, @Email::MIME::ISA)
45 3 0 if ($class->can('create_utf8'))
59 6 4 if (exists $args{'header_str'})
64 0 6 if @headers % 2 == 1
70 6 4 if (exists $args{'body_str'})
81 12 2 if $email eq $parts[0]