Branch Coverage

blib/lib/Tags/HTML/Messages.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
38 1 9 if (ref $message_ar ne "ARRAY")
42 2 6 unless (&blessed($message) and $message->isa("Data::Message::Simple"))
55 1 10 unless (defined $message_ar)
62 1 1 unless ($self->{'flag_no_messages'} or @{$message_ar;})
71 5 1 if (@{$message_ar;}) { }
73 1 5 if ($num)
79 1 5 defined $message->lang ? :
106 1 3 unless (defined $message_types_hr)
109 1 2 if (ref $message_types_hr ne "HASH")