Condition Coverage

blib/lib/Rose/HTML/Object/Messages.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

line !l l&&!r l&&r condition
133 3282 0 0 exists $class->message_name_to_id_map->{$name} and $class->message_name_to_id_map->{$name} != $id
140 3280 0 2 exists $class->message_id_to_name_map->{$id} and $class->message_id_to_name_map->{$id} ne $name
201 1017 1339 3755 defined *{$fq_name;}{"CODE"} and $name =~ /^[A-Z0-9_]+$/
206 0 0 3755 defined prototype $code and not length prototype $code

or 3 conditions

line l !l&&r !l&&!r condition
152 3759 0 19 $class->can($name) or defined &$const