line |
!l |
l&&!r |
l&&r |
condition |
134
|
0 |
0 |
2198 |
$message->can("text") and $message->can("id")
|
144
|
5 |
214 |
132 |
$parent and $parent->isa("Rose::HTML::Object::Error")
|
186
|
351 |
40 |
44 |
not defined $text and $parent
|
355
|
410 |
2170 |
7713 |
exists $msgs->{$name} and exists $msgs->{$name}{$locale}
|
402
|
102 |
0 |
0 |
$id and $name
|
628
|
45 |
62 |
383 |
exists $msgs->{$name} and exists $msgs->{$name}{$locale}
|
630
|
359 |
12 |
12 |
ref $msgs->{$name}{$locale} and exists $msgs->{$name}{$locale}{$variant}
|
721
|
0 |
1 |
0 |
@_ == 1 && ref $_[0] eq 'ARRAY'
|
752
|
128 |
0 |
0 |
$ENV{'MOD_PERL'} and !defined($ENV{'RHTMLO_PRIME_CACHES'}) || $ENV{'RHTMLO_PRIME_CACHES'}
|
833
|
3 |
0 |
944 |
$locales and not ref $locales
|
842
|
6 |
0 |
944 |
$variants and not ref $variants
|
888
|
31297 |
0 |
4 |
/$End_Message/o and !$2 || $2 eq $in_msg
|
890
|
0 |
0 |
0 |
$msg_re and $in_msg =~ /$msg_re/
|
924
|
14642 |
1016 |
1043 |
!$locales || $locales->{$in_locale} and !$variants || $$variants{$2 or 'default'}
|
|
1016 |
985 |
58 |
!$locales || $locales->{$in_locale} and !$variants || $$variants{$2 or 'default'} and !$msg_names || $msg_names->{$1}
|
line |
l |
!l&&r |
!l&&!r |
condition |
78
|
0 |
26 |
0 |
ref $self || $self
|
86
|
678 |
26 |
0 |
$self->{'locale_cascade'} ||= ref($self)->init_locale_cascade
|
110
|
33 |
0 |
0 |
ref $self || $self
|
149
|
0 |
5 |
0 |
$args{'caller'} || (caller)[0]
|
153
|
351 |
0 |
0 |
$args{'args'} || $message->args
|
154
|
351 |
0 |
0 |
$args{'locale'} || $message->locale || $self->locale
|
158
|
0 |
351 |
0 |
$args{'variant'} ||= $self->select_variant_for_message("id", $id, "args", $args, "locale", $locale)
|
269
|
68 |
2 |
0 |
$args{'msg_class'} || $self->message_class
|
306
|
12 |
0 |
0 |
$args{'locale'} || $self->locale
|
390
|
100 |
2 |
0 |
$args{'locale'} || $self->locale
|
506
|
2 |
16 |
0 |
$args{'id'} || $self->generate_message_id
|
507
|
17 |
1 |
0 |
$args{'name'} || croak('Missing name for new localized message')
|
508
|
0 |
17 |
0 |
$args{'locale'} || $self->locale
|
558
|
11 |
4 |
16 |
$messages_class->message_id_exists($new_id) or $errors_class->error_id_exists($new_id)
|
572
|
4 |
2 |
3 |
$errors_class->error_id_exists($new_id) or $messages_class->message_id_exists($new_id)
|
582
|
3 |
3 |
0 |
$args{'id'} || $self->generate_error_id
|
614
|
395 |
0 |
0 |
$args{'locale'} || $self->locale
|
618
|
395 |
0 |
0 |
$from_class ||= (caller)[0]
|
620
|
0 |
395 |
0 |
$name ||= $self->get_message_name($id)
|
661
|
10292 |
0 |
0 |
$from_class ||= $self->messages_class
|
717
|
4 |
0 |
0 |
ref $self_or_class || $self_or_class
|
742
|
128 |
0 |
0 |
ref $self_or_class || $self_or_class
|
752
|
0 |
0 |
0 |
!defined($ENV{'RHTMLO_PRIME_CACHES'}) || $ENV{'RHTMLO_PRIME_CACHES'}
|
|
0 |
1 |
127 |
$ENV{'MOD_PERL'} and !defined($ENV{'RHTMLO_PRIME_CACHES'}) || $ENV{'RHTMLO_PRIME_CACHES'} or $ENV{'RHTMLO_PRIME_CACHES'}
|
776
|
2 |
1 |
0 |
$args{'from_class'} || (caller)[0]
|
888
|
4 |
0 |
0 |
!$2 || $2 eq $in_msg
|
890
|
4 |
0 |
0 |
not $msg_names or $msg_names->{$in_msg}
|
|
0 |
0 |
0 |
not $msg_names or $msg_names->{$in_msg} or $msg_re and $in_msg =~ /$msg_re/
|
924
|
21 |
2038 |
14642 |
!$locales || $locales->{$in_locale}
|
|
40 |
1003 |
1016 |
!$variants || $$variants{$2 or 'default'}
|
|
40 |
51 |
952 |
!$msg_names || $msg_names->{$1}
|