Condition Coverage

blib/lib/CAM/XML.pm
Criterion Covered Total %
condition 0 72 0.0


and 3 conditions

line !l l&&!r l&&r condition
144 0 0 0 $self and $flags{-'cleanwhitespace'}
316 0 0 0 defined $index and $index =~ /\A\d+\z/msx
347 0 0 0 defined $index and $index =~ /\A\d+\z/msx
365 0 0 0 defined $_ and ref $_
414 0 0 0 ref $add && $add->isa('CAM::XML')
0 0 0 ref $add && $add->isa('CAM::XML::Text')
438 0 0 0 @{$$self{'children'};} > 0 and $$self{'children'}[-1]->isa('CAM::XML::Text')
0 0 0 @{$$self{'children'};} > 0 and $$self{'children'}[-1]->isa('CAM::XML::Text') and $$self{'children'}[-1]{'type'} eq $type
601 0 0 0 $criteria{-'tag'} and $criteria{-'tag'} eq $$obj{'name'}
0 0 0 $criteria{-'attr'} and exists $$obj{'attributes'}{$criteria{-'attr'}}
0 0 0 $criteria{-'attr'} and exists $$obj{'attributes'}{$criteria{-'attr'}} and $$obj{'attributes'}{$criteria{-'attr'}} eq $criteria{-'value'}
716 0 0 0 $match and $limit
786 0 0 0 $tag and $limit
884 0 0 0 $args{'-formatted'} and not exists $args{'-level'}
923 0 0 0 $args{'-formatted'} and not $args{'-textformat'}
0 0 0 $args{'-formatted'} and not $args{'-textformat'} and 0 == scalar grep({$_->isa('CAM::XML');} @{$$self{'children'};})

or 3 conditions

line l !l&&r !l&&!r condition
227 0 0 0 not defined $key or $key eq ''
365 0 0 0 $_->isa('CAM::XML') or $_->isa('CAM::XML::Text')
601 0 0 0 $criteria{-'tag'} and $criteria{-'tag'} eq $$obj{'name'} or $criteria{-'attr'} and exists $$obj{'attributes'}{$criteria{-'attr'}} and $$obj{'attributes'}{$criteria{-'attr'}} eq $criteria{-'value'}
623 0 0 0 shift() || $$self{'children'}
716 0 0 0 $match or $limit
807 0 0 0 $limit =~ /\A\@(\w+)=\"([^\"]*)\"\z/msx or $limit =~ /\A\@(\w+)=\'([^\']*)\'\z/msx
822 0 0 0 not defined $cmp or $val ne $cmp
892 0 0 0 not defined $args{'-indent'} or $args{'-indent'} =~ /\D/msx