Branch Coverage

blib/lib/Email/MIME/Header/AddressList.pm
Criterion Covered Total %
branch 19 32 59.3


line true false branch
122 0 35 if (scalar @groups % 2)
127 7 28 if defined $groups[2 * $_] and $groups[2 * $_] =~ /=\?/u
131 0 44 unless "Email::Address::XS"->is_obj($_)
134 1 43 unless $decode_phrase or $decode_comment
136 43 0 if $decode_phrase
138 0 43 if $decode_comment
202 2 24 if Email::MIME::Encode::_needs_mime_encode_addr($groups[2 * $_])
208 4 23 unless $encode_phrase or $encode_comment
210 23 0 if $encode_phrase
212 0 23 if $encode_comment
227 0 7 if @{$self->{'addresses'};}
230 0 7 unless @{$$groups[2 * $_ + 1];}
262 0 51 if @{$self->{'addresses'};}
275 0 0 if scalar @valid_addresses != scalar @addresses
288 0 59 if (scalar @groups % 2)
298 0 61 if ($carp_invalid and scalar @valid_addresses != scalar @{$addresses;})