Branch Coverage

blib/lib/Tags/HTML/Messages.pm
Criterion Covered Total %
branch 14 14 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"))
58 1 1 unless ($self->{'flag_no_messages'} or @{$message_ar;})
67 5 1 if (@{$message_ar;}) { }
69 1 5 if ($num)
75 1 5 defined $message->lang ? :
102 2 2 if (not defined $message_types_hr or ref $message_types_hr ne "HASH")