blib/lib/Message/String.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 62 | 82 | 75.6 |
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 |
649 | 0 | 0 | 28 | $value and $value =~ /^[\p{Alpha}_\-][\p{Digit}\p{Alpha}_\-]*$/ |
706 | 0 | 17 | 5 | ref $export_tags and @$export_tags |
779 | 0 | 0 | 1 | ref $export_tags and @$export_tags |
846 | 0 | 0 | 1 | $method and not ref $method |
847 | 0 | 0 | 1 | ref $coderef and ref $coderef eq 'CODE' |
972 | 1 | 2 | 1 | @lines and $id =~ /^[.]+$/ |
1 | 1 | 1 | @lines and $id =~ /^[+]+$/ | |
1019 | 25 | 2 | 1 | $message->type eq 'R' and $message->template =~ /password/is |
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 || '' |
862 | 1 | 0 | $value || 0 |
924 | 1 | 0 | $long_types->{$type} || 'M' |
948 | 1 | 0 | $long_types->{$type} || 'M' |
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 '' | |
1009 | 0 | 28 | 0 | ref $class || $class |