Branch Coverage

lib/HTML/Object/DOM/Element.pm
Criterion Covered Total %
branch 197 1184 16.6


line true false branch
43 0 346 unless $self->SUPER::init(@_)
46 346 0 if CORE::not exists $self->{'_internal_attribute_callbacks'} or ref $self->{'_internal_attribute_callbacks'} ne "HASH"
51 0 0 unless $list = $this->{'_class_list'}
66 0 3 unless scalar @_
68 0 3 unless $parent
88 0 6 unless scalar @_
140 0 2 unless ($self->{'_class_list'})
194 0 38 if $b->isa("HTML::Object::Root")
196 0 36 if $a->eid eq $b->eid
198 0 36 if $a == $b
200 0 36 if $a->is_inside($b)
202 0 36 if $b->is_inside($a)
210 0 36 unless ($a_pile->last == $b_pile->last)
212 0 0 if warnings::enabled("HTML::Object")
227 0 36 if (defined $a_anc->rank and defined $b_anc->rank) { }
238 0 46 if $a_prev == $b_anc
240 0 46 if $a_next == $b_anc
242 17 29 if $b_prev == $a_next
244 13 16 if $b_next == $a_prev
256 1 1 if $self->{'_data_map'}
257 0 1 unless $self->_load_class("HTML::Object::ElementDataMap")
280 1 3 if ($_->isa("HTML::Object::DOM::Element"))
287 0 1 unless defined $elem
305 0 4 unless $self->attributes->exists($name)
322 0 0 unless defined $id and CORE::length $id
330 0 0 if (scalar @_ == 1) { }
342 0 0 unless $totalClassRequired
354 0 0 if exists $seen->{$addr}
356 0 0 if ($e->attributes->exists("class"))
360 0 0 unless ($val->is_empty)
366 0 0 if $classes->has($_)
368 0 0 if $found == $totalClassRequired
386 0 19 unless defined $name and CORE::length "$name"
398 0 257 if exists $seen->{$addr}
400 21 236 if ($e->tag eq $name)
421 0 0 if (scalar @_ == 1 and CORE::not ref $_[0]) { }
0 0 elsif (scalar @_ == 1 and $self->_is_array($this)) { }
0 0 elsif (scalar @_ > 1) { }
443 0 0 if CORE::not $elems->is_empty
471 0 0 if (@_) { }
480 0 0 if $self->isa("HTML::Object::Text") or $self->isa("HTML::Object::Comment") or $self->isa("HTML::Object::Declaration")
483 0 0 unless (defined $parent)
485 0 0 if CORE::not defined $tag or $tag eq "_document"
493 0 0 if ($_->tag eq $self->tag)
496 0 0 if ($_->eid eq $self->eid)
504 0 0 $nth > 1 ? :
505 0 0 unless $init
522 0 0 if $self->isCommentNode
552 0 0 if (CORE::not ref $this or ref $this and overload::Overloaded($this) and overload::Method($this, '""')) { }
0 0 elsif ($self->_is_a($this, 'HTML::Object::Element')) { }
565 0 0 if ($self->_is_a($this, 'HTML::Object::DOM::DocumentFragment')) { }
578 0 0 CORE::length $this > 1024 ? :
607 0 0 if ($self->_is_a($this, 'HTML::Object::DOM::Text')) { }
0 0 elsif (CORE::not ref $this or ref $this and overload::Overloaded($this) and overload::Method($this, '""')) { }
620 0 0 CORE::length $this > 1024 ? :
640 0 0 unless defined $pos and CORE::length "$pos"
646 0 0 unless defined $elem and ref $elem || CORE::length $elem
653 0 0 unless $pos =~ /^(?:beforebegin|afterbegin|beforeend|afterend)$/
659 0 0 unless $self->_is_a($elem, "HTML::Object::DOM::Element")
665 0 0 if CORE::not $parent and $pos eq 'beforebegin' || $pos eq 'afterend'
670 0 0 if ($pos eq 'beforebegin') { }
0 0 elsif ($pos eq 'beforeend') { }
0 0 elsif ($pos eq 'afterbegin') { }
0 0 elsif ($pos eq 'afterend') { }
673 0 0 if (CORE::not defined $offset) { }
697 0 0 unless (defined $offset)
714 0 0 unless defined $pos and CORE::length "$pos"
720 0 0 unless defined $html and CORE::length "$html"
725 0 0 if ref $html and CORE::not overload::Method($html, "\"\"")
734 0 0 if CORE::not $parent and $pos eq 'beforebegin' || $pos eq 'afterend'
739 0 0 if ($pos eq 'beforebegin') { }
0 0 elsif ($pos eq 'beforeend') { }
0 0 elsif ($pos eq 'afterbegin') { }
0 0 elsif ($pos eq 'afterend') { }
742 0 0 unless (defined $offset)
781 0 0 unless (defined $offset)
803 0 0 unless defined $pos and CORE::length "$pos"
809 0 0 if (CORE::not scalar @_ or scalar @_ == 1 and CORE::not defined $_[0] or scalar @_ > 1 and CORE::not CORE::length($text = join("", @_)))
819 0 0 if ref $text and CORE::not overload::Method($text, "\"\"")
826 0 0 if CORE::not $parent and $pos eq 'beforebegin' || $pos eq 'afterend'
831 0 0 if ($pos eq 'beforebegin') { }
0 0 elsif ($pos eq 'beforeend') { }
0 0 elsif ($pos eq 'afterbegin') { }
0 0 elsif ($pos eq 'afterend') { }
834 0 0 if (CORE::not defined $offset) { }
858 0 0 unless (defined $offset)
874 0 72 unless scalar @_
879 0 72 if ref $elems[$i] and CORE::not $self->_is_object($elems[$i]) && $elems[$i]->isa('HTML::Object::Element')
880 0 72 unless ref $elems[$i]
890 0 284 if exists $$obj{$parent->eid} or exists $$lit{$parent->tag}
898 0 1 (shift())->tag eq '_comment' ? :
903 0 0 $self->contentEditable ? :
906 0 378 (shift())->tag->substr(0, 1) eq '_' ? :
912 0 1 (shift())->tag eq '_pi' ? :
914 0 1 (shift())->tag eq '_text' ? :
926 1 3 if ($_->isa("HTML::Object::DOM::Element"))
933 0 1 unless defined $elem
985 0 79 unless $self->_load_class("HTML::Object::DOM::Closing")
1003 0 7 unless $self->_load_class("HTML::Object::DOM::Comment")
1012 3 0 unless $self->_load_class("HTML::Object::DOM::Document")
1034 0 3 unless $self->_load_class("HTML::Object::DOM::NodeList")
1052 0 8 unless $self->_load_class("HTML::Object::DOM::Space")
1061 0 14 unless $self->_load_class("HTML::Object::DOM::Text")
1073 1 1 if $self->_is_a($all->[$i], "HTML::Object::DOM::Element")
1115 2 0 if $parent
1117 3 2 if (CORE::not ref $this or ref $this and overload::Overloaded($this) and overload::Method($this, '""')) { }
2 3 elsif ($self->_is_a($this, 'HTML::Object::Element')) { }
1121 0 0 if (CORE::not CORE::length $this) { }
1123 0 0 if (defined $pos) { }
1127 0 0 if (my $close = $self->close_tag)
1149 0 0 if (CORE::not $children->is_empty and defined $pos) { }
1157 0 0 if (my $close = $self->close_tag)
1177 0 2 if ($self->_is_a($this, 'HTML::Object::DOM::DocumentFragment')) { }
1181 0 0 if (defined $pos) { }
1192 0 0 if (my $close = $self->close_tag)
1207 2 0 if (defined $pos) { }
1211 2 0 if (my $close = $child->close_tag)
1221 2 0 if (my $close = $self->close_tag)
1237 0 3 CORE::length $this > 1024 ? :
1258 3 0 if ($self->_is_a($this, 'HTML::Object::DOM::Text')) { }
0 0 elsif (CORE::not ref $this or ref $this and overload::Overloaded($this) and overload::Method($this, '""')) { }
1270 0 3 CORE::length $this > 1024 ? :
1275 0 0 unless (defined $pos)
1295 0 0 if defined $val
1337 0 1 if $self->_is_a($all->[$i], "HTML::Object::DOM::Element")
1349 0 0 unless scalar @sels
1359 0 0 unless $results->is_empty
1368 0 0 unless scalar @sels
1379 0 0 unless $elems->is_empty
1409 0 3 unless defined $name and CORE::length $name
1414 0 3 if ($self->attributes->has($name))
1431 0 0 unless $self->_is_a($node, "HTML::Object::DOM::Attribute")
1437 0 0 if $name->is_empty
1452 0 0 unless (scalar @_)
1519 0 3 unless defined $name and CORE::length $name
1526 0 3 unless ($self->is_valid_attribute($name))
1536 0 3 unless (defined $value)
1541 0 3 unless $self->attributes_sequence->has($name)
1549 0 0 unless defined $att
1554 0 3 unless $self->_is_a($att, "HTML::Object::DOM::Attribute")
1559 0 3 if CORE::not $att->name->defined or $att->name->is_empty
1565 0 0 unless $self->setAttribute($att->name, $att->value)
1575 0 4 unless (defined $this and CORE::length $this)
1581 2 2 if ($self->_is_a($this, 'HTML::Object::Element')) { }
1583 0 2 if ($self->_is_a($this, 'HTML::Object::DOM::DocumentFragment')) { }
1597 2 0 if $clone->close_tag
1602 0 0 if (ref $this and !$self->_is_object($this) || $self->_is_object($this) && !overload::Method($this, '""'))
1665 0 0 unless defined $name and CORE::length $name
1672 0 0 unless ($self->is_valid_attribute($name))
1681 0 0 if ($self->attribute->has($name))
1683 0 0 if defined $force and $force
1687 0 0 if defined $force and CORE::not $force
1710 0 27 if ($INC{'threads.pm'} and CORE::not exists $INC{'forks.pm'})
1712 26 1 if $self->_is_a($link, "URI")
1713 0 1 defined $link && CORE::length "$link" ? :
1715 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::TRY ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 3 elsif ($Nice::Try::WANT eq 'CODE') { }
0 3 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 3 elsif ($Nice::Try::WANT eq 'LIST') { }
0 3 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if defined $Nice::Try::LAST_VAL
0 27 if ($Nice::Try::WANTARRAY) { }
27 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 27 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 27 CORE::length $@ ? :
27 0 unless &Scalar::Util::blessed($@)
0 0 if ($Nice::Try::HAS_CATCH)
0 27 if ($Nice::Try::DIED)
1718 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::CATCH ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if ($Nice::Try::WANTARRAY) { }
0 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 0 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 0 if $@
0 27 if (defined $Nice::Try::CATCH_DIED)
0 0 if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
0 0 elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
0 0 if ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 27 $Nice::Try::WANTARRAY ? :
0 27 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
27 0 if (CORE::not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
0 0 scalar @Nice::Try::VOID > 1 ? :
27 0 if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
0 0 elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
0 0 if ($Nice::Try::BREAK eq 'next') { }
0 0 elsif ($Nice::Try::BREAK eq 'last') { }
0 0 elsif ($Nice::Try::BREAK eq 'redo') { }
0 0 if (defined $Nice::Try::BREAK)
0 0 scalar @Nice::Try::LAST_VAL > 1 ? :
1730 0 0 unless (defined $form)
1735 0 0 unless (defined $code)
1748 0 0 unless (defined $form)
1753 0 0 unless (defined $code)
1759 0 0 if $ctx->{'assign'}
1775 45 131 if (ref $attr eq "HASH")
1786 0 133 if ($def->{'is_datetime'}) { }
0 133 elsif ($def->{'is_number'}) { }
31 102 elsif ($def->{'is_uri'}) { }
11 182 elsif ($def->{'callback'} and ref $def->{'callback'} eq 'CODE') { }
1789 0 0 if ($INC{'threads.pm'} and CORE::not exists $INC{'forks.pm'})
1792 0 0 unless defined $dt
1795 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::TRY ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if defined $Nice::Try::LAST_VAL
0 0 if ($Nice::Try::WANTARRAY) { }
0 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 0 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 0 CORE::length $@ ? :
0 0 unless &Scalar::Util::blessed($@)
0 0 if ($Nice::Try::HAS_CATCH)
0 0 if ($Nice::Try::DIED)
1798 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::CATCH ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if ($Nice::Try::WANTARRAY) { }
0 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 0 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 0 if $@
0 0 if (defined $Nice::Try::CATCH_DIED)
0 0 if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
0 0 elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
0 0 if ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 $Nice::Try::WANTARRAY ? :
0 0 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 0 if (CORE::not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
0 0 scalar @Nice::Try::VOID > 1 ? :
0 0 if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
0 0 elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
0 0 if ($Nice::Try::BREAK eq 'next') { }
0 0 elsif ($Nice::Try::BREAK eq 'last') { }
0 0 elsif ($Nice::Try::BREAK eq 'redo') { }
0 0 if (defined $Nice::Try::BREAK)
0 0 scalar @Nice::Try::LAST_VAL > 1 ? :
1803 0 0 unless $self->_is_number($val)
1804 0 0 if ($val =~ /^(\d{1,10})(?:\.\d+)?$/)
1807 0 0 if ref $dt
1815 0 31 if ($INC{'threads.pm'} and CORE::not exists $INC{'forks.pm'})
1817 30 1 if $self->_is_a($val, "URI")
1818 1 0 unless defined $val
1819 0 0 unless CORE::length "$val"
1822 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::TRY ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if defined $Nice::Try::LAST_VAL
0 31 if ($Nice::Try::WANTARRAY) { }
31 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 31 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 31 CORE::length $@ ? :
31 0 unless &Scalar::Util::blessed($@)
0 0 if ($Nice::Try::HAS_CATCH)
0 31 if ($Nice::Try::DIED)
1825 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::CATCH ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if ($Nice::Try::WANTARRAY) { }
0 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 0 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 0 if $@
0 31 if (defined $Nice::Try::CATCH_DIED)
0 0 if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
0 0 elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
0 0 if ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 31 $Nice::Try::WANTARRAY ? :
0 31 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
31 0 if (CORE::not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
0 0 scalar @Nice::Try::VOID > 1 ? :
31 0 if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
0 0 elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
0 0 if ($Nice::Try::BREAK eq 'next') { }
0 0 elsif ($Nice::Try::BREAK eq 'last') { }
0 0 elsif ($Nice::Try::BREAK eq 'redo') { }
0 0 if (defined $Nice::Try::BREAK)
0 0 scalar @Nice::Try::LAST_VAL > 1 ? :
1837 0 43 if ($def->{'is_boolean'}) { }
0 43 elsif ($def->{'is_datetime'}) { }
1 42 elsif ($def->{'is_uri'}) { }
1 41 elsif ($def->{'callback'} and ref $def->{'callback'} eq 'CODE') { }
1840 0 0 if ($arg) { }
1858 0 1 if ($INC{'threads.pm'} and CORE::not exists $INC{'forks.pm'})
1863 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::TRY ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if defined $Nice::Try::LAST_VAL
0 1 if ($Nice::Try::WANTARRAY) { }
1 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 1 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 1 CORE::length $@ ? :
1 0 unless &Scalar::Util::blessed($@)
0 0 if ($Nice::Try::HAS_CATCH)
0 1 if ($Nice::Try::DIED)
1866 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::CATCH ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if ($Nice::Try::WANTARRAY) { }
0 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 0 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 0 if $@
0 1 if (defined $Nice::Try::CATCH_DIED)
0 0 if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
0 0 elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
0 0 if ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 $Nice::Try::WANTARRAY ? :
0 0 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 0 if (CORE::not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
0 0 scalar @Nice::Try::VOID > 1 ? :
0 1 if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
0 1 elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
0 0 if ($Nice::Try::BREAK eq 'next') { }
0 0 elsif ($Nice::Try::BREAK eq 'last') { }
0 0 elsif ($Nice::Try::BREAK eq 'redo') { }
0 1 if (defined $Nice::Try::BREAK)
0 1 scalar @Nice::Try::LAST_VAL > 1 ? :
1908 14 0 if (ref $uri)
1910 0 14 if ($INC{'threads.pm'} and CORE::not exists $INC{'forks.pm'})
1912 13 1 exists $map->{$prop} ? :
1917 2 12 unless (defined $code)
1919 2 0 if ($uri->isa('URI::_generic')) { }
1931 2 10 if ($prop eq 'username' or $prop eq 'password') { }
3 7 elsif ($prop eq 'protocol') { }
2 5 elsif ($prop eq 'hash') { }
1 4 elsif ($prop eq 'search') { }
1933 2 0 if (defined $val) { }
1947 3 0 if defined $val
1951 1 1 if defined $val
1955 1 0 if defined $val
1959 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::TRY ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if defined $Nice::Try::LAST_VAL
0 14 if ($Nice::Try::WANTARRAY) { }
14 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 14 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 14 CORE::length $@ ? :
14 0 unless &Scalar::Util::blessed($@)
0 0 if ($Nice::Try::HAS_CATCH)
0 14 if ($Nice::Try::DIED)
1962 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::CATCH ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if ($Nice::Try::WANTARRAY) { }
0 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 0 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 0 if $@
0 14 if (defined $Nice::Try::CATCH_DIED)
0 0 if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
0 0 elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
0 0 if ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 14 $Nice::Try::WANTARRAY ? :
0 14 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
14 0 if (CORE::not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
0 0 scalar @Nice::Try::VOID > 1 ? :
14 0 if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
0 0 elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
0 0 if ($Nice::Try::BREAK eq 'next') { }
0 0 elsif ($Nice::Try::BREAK eq 'last') { }
0 0 elsif ($Nice::Try::BREAK eq 'redo') { }
0 0 if (defined $Nice::Try::BREAK)
0 0 scalar @Nice::Try::LAST_VAL > 1 ? :
1971 10 0 if (ref $uri)
1974 0 10 if ($INC{'threads.pm'} and CORE::not exists $INC{'forks.pm'})
1976 2 8 if ($prop eq 'username' or $prop eq 'password') { }
1 7 elsif ($prop eq 'protocol') { }
2 5 elsif ($prop eq 'hash') { }
1 4 elsif ($prop eq 'search') { }
1994 9 1 exists $map->{$prop} ? :
1999 2 8 unless (defined $code)
2001 2 0 if ($uri->isa('URI::_generic')) { }
2013 0 8 if ($prop eq "protocol" and $uri_class eq "URI::_generic")
2015 0 0 if ($self->{'hostname'}) { }
0 0 elsif ($self->{'host'} or $self->{'port'}) { }
2021 0 0 if $self->{'host'}
2022 0 0 if $self->{'port'}
2024 0 0 if ($self->{'username'} or $self->{'password'})
2031 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::TRY ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if defined $Nice::Try::LAST_VAL
0 10 if ($Nice::Try::WANTARRAY) { }
10 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 10 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 10 CORE::length $@ ? :
10 0 unless &Scalar::Util::blessed($@)
0 0 if ($Nice::Try::HAS_CATCH)
0 10 if ($Nice::Try::DIED)
2034 0 0 if CORE::not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
0 0 &$Nice::Try::CATCH ? :
0 0 if scalar @Nice::Try::VOID
0 0 if ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 0 elsif ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 if ($Nice::Try::WANTARRAY) { }
0 0 elsif (defined $Nice::Try::WANTARRAY) { }
0 0 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
0 0 if $@
0 10 if (defined $Nice::Try::CATCH_DIED)
0 0 if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
0 0 elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
0 0 elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
0 0 if ($Nice::Try::WANT eq 'LIST') { }
0 0 elsif ($Nice::Try::WANT eq 'VOID') { }
0 0 elsif ($Nice::Try::WANT eq 'OBJECT') { }
0 0 elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'SCALAR') { }
0 0 elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
0 0 elsif ($Nice::Try::WANT eq 'CODE') { }
0 0 elsif ($Nice::Try::WANT eq 'HASH') { }
0 0 elsif ($Nice::Try::WANT eq 'ARRAY') { }
0 0 elsif ($Nice::Try::WANT eq 'GLOB') { }
0 2 $Nice::Try::WANTARRAY ? :
0 2 if (defined $Nice::Try::WANT and CORE::length $Nice::Try::WANT) { }
2 0 if (CORE::not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
0 0 scalar @Nice::Try::VOID > 1 ? :
2 8 if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
0 8 elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
0 0 if ($Nice::Try::BREAK eq 'next') { }
0 0 elsif ($Nice::Try::BREAK eq 'last') { }
0 0 elsif ($Nice::Try::BREAK eq 'redo') { }
0 8 if (defined $Nice::Try::BREAK)
0 8 scalar @Nice::Try::LAST_VAL > 1 ? :