line |
true |
false |
branch |
90
|
0 |
0 |
if ($class) { }
|
125
|
0 |
0 |
if ($self->has_xml_required) { }
|
|
0 |
0 |
elsif ($self->has_predicate or $self->has_xml_min and not $self->xml_min) { }
|
139
|
0 |
0 |
unless my $t_c = $self->type_constraint
|
145
|
0 |
0 |
if ($t_c->is_a_type_of('ArrayRef')) { }
|
|
0 |
0 |
elsif ($self->has_xml_max and $self->xml_max > 1 or $self->has_xml_min and $self->xml_min > 1) { }
|
148
|
0 |
0 |
if ($t_c->isa('Moose::Meta::TypeConstraint::Parameterized')) { }
|
156
|
0 |
0 |
unless ($is_paramd)
|
184
|
0 |
0 |
if ($x->isa('Moose::Meta::TypeConstraint::Class')) { }
|
|
0 |
0 |
elsif ($x->isa('Moose::Meta::TypeConstraint::Union')) { }
|
|
0 |
0 |
elsif ($x->isa('Moose::Meta::TypeConstraint::Enum')) { }
|
|
0 |
0 |
elsif ($x->isa('Moose::Meta::TypeConstraint::Role')) { }
|
|
0 |
0 |
elsif (ref $x eq 'Moose::Meta::TypeConstraint') { }
|
199
|
0 |
0 |
if ($x->equals('Bool')) { }
|
|
0 |
0 |
elsif ($x->equals('Value')) { }
|
218
|
0 |
0 |
$self->has_xml_nodeName ? :
|
222
|
0 |
0 |
$self->has_xml_nodeName_prefix ? :
|
231
|
0 |
0 |
if ($expect_concrete > 1)
|
235
|
0 |
0 |
unless (ref $nodeName)
|
241
|
0 |
0 |
unless (exists $t_c{$type})
|
253
|
0 |
0 |
if (@expect_role)
|
255
|
0 |
0 |
if ($self->has_xml_nodeName and not ref $self->xml_nodeName)
|
261
|
0 |
0 |
unless ref $nodeName
|
263
|
0 |
0 |
if ($user->does('PRANG::Graph')) { }
|
266
|
0 |
0 |
if ($xmlns = eval {
do {
$user->xmlns
}
} // '')
|
267
|
0 |
0 |
unless (exists $nodeName_r_prefix->{$xmlns})
|
277
|
0 |
0 |
if (exists $nodeName->{$plugin_nodeName})
|
278
|
0 |
0 |
$xmlns ? :
|
299
|
0 |
0 |
if (not $self->has_xml_nodeName_prefix and keys %$nodeName_prefix)
|
304
|
0 |
0 |
unless ($expect_concrete)
|
310
|
0 |
0 |
unless (ref $nodeName)
|
311
|
0 |
0 |
$expect_simple ? :
|
|
0 |
0 |
$expect_bool ? :
|
323
|
0 |
0 |
if ($self->has_xmlns) { }
|
328
|
0 |
0 |
if $xmlns
|
331
|
0 |
0 |
if ($self->has_xmlns_attr)
|
336
|
0 |
0 |
if ($nodeName_prefix and $name =~ /^(\w+):(\w+)/) { }
|
341
|
0 |
0 |
unless my $xmlns = $nodeName_prefix->{$1}
|
356
|
0 |
0 |
unless (eval {
do {
$class->meta->can('marshall_in_element')
}
})
|
358
|
0 |
0 |
unless ($ok)
|
363
|
0 |
0 |
unless (eval {
do {
$class->meta->can('marshall_in_element')
}
})
|
368
|
0 |
0 |
unless (@names)
|
380
|
0 |
0 |
ref $self->xml_nodeName ? :
|
|
0 |
0 |
$self->has_xml_nodeName ? :
|
401
|
0 |
0 |
if ($expect_bool)
|
419
|
0 |
0 |
if ($expect_simple)
|
422
|
0 |
0 |
unless $t_c
|
433
|
0 |
0 |
if (not length $name) { }
|
466
|
0 |
0 |
if ($fixed_xmlns and $use_prefixes)
|
474
|
0 |
0 |
if ($use_prefixes) { }
|
489
|
0 |
0 |
if $localname eq '*'
|
490
|
0 |
0 |
if $xmlns eq '*'
|
493
|
0 |
0 |
if (my $aref = $seen_types{$class}) { }
|
506
|
0 |
0 |
if ($have_ambiguous) { }
|
|
0 |
0 |
elsif ($self->has_xmlns_attr or $self->has_xml_nodeName_attr) { }
|
|
0 |
0 |
elsif ($self->has_xml_nodeName) { }
|
507
|
0 |
0 |
if (keys %seen_localname > 1 or $seen_localname{'*'}) { }
|
508
|
0 |
0 |
if (not $self->has_xml_nodeName_attr) { }
|
527
|
0 |
0 |
if (keys %seen_xmlns > 1 or $seen_xmlns{'*'}) { }
|
528
|
0 |
0 |
if (not $self->has_xmlns_attr) { }
|
552
|
0 |
0 |
if ($self->has_xml_nodeName_prefix)
|
558
|
0 |
0 |
if (@expect > 1) { }
|
567
|
0 |
0 |
if ($self->has_xml_nodeName_attr)
|
572
|
0 |
0 |
if ($expect_bool)
|
575
|
0 |
0 |
if ($expect_one and not $expect_simple and not $self->is_required and not $self->has_default)
|
592
|
0 |
0 |
if (not $expect_one or $expect_many) { }
|
594
|
0 |
0 |
if ($expect_one and not $self->has_xml_min)
|
597
|
0 |
0 |
if ($self->has_xml_min)
|
600
|
0 |
0 |
unless ($expect_many or $self->has_xml_max)
|
603
|
0 |
0 |
if ($self->has_xml_max)
|
606
|
0 |
0 |
unless $node
|