Condition Coverage

blib/lib/Message/String.pm
Criterion Covered Total %
condition 62 82 75.6


and 3 conditions

line !l l&&!r l&&r condition
181 0 2 0 defined $type and exists $types->{$type}
213 1 1 67 @_ > 1 and defined $type
217 1 2 4 not ref $invocant and $type =~ /^[ACEW]$/
239 1 1 85 @_ > 1 and defined $type
264 1 1 68 @_ > 1 and defined $type
289 1 1 65 @_ > 1 and defined $type
312 2 1 9 @_ > 1 and defined $type
643 0 0 28 $value and $value =~ /^[\p{Alpha}_\-][\p{Digit}\p{Alpha}_\-]*$/
700 0 17 5 ref $export_tags and @$export_tags
773 0 0 1 ref $export_tags and @$export_tags
840 0 0 1 $method and not ref $method
841 0 0 1 ref $coderef and ref $coderef eq 'CODE'
966 1 2 1 @lines and $id =~ /^[.]+$/
1 1 1 @lines and $id =~ /^[+]+$/
1013 25 2 1 $message->type eq 'R' and $message->template =~ /password/is

or 2 conditions

line l !l condition
268 3 2 $value || ''
293 3 0 $value ||= ''
402 1 1 $long_types->{$value} || 'D'
406 3 0 $value || 0
422 1 1 $value || ''
856 1 0 $value || 0
918 1 0 $long_types->{$type} || 'M'
942 1 0 $long_types->{$type} || 'M'

or 3 conditions

line l !l&&r !l&&!r condition
158 3 0 276 $bool_copy or exists $invocant->{'types'}
220 2 0 1 0 + $value || $types->{$type}{'level'}
246 1 1 81 $type eq '1' or $type eq '0'
2 1 80 $type eq '1' or $type eq '0' or $type eq ''
271 1 1 61 $type eq '1' or $type eq '0'
2 1 60 $type eq '1' or $type eq '0' or $type eq ''
1003 0 28 0 ref $class || $class