Condition Coverage

blib/lib/Pod/POM/Node.pm
Criterion Covered Total %
condition 15 20 75.0


and 3 conditions

line !l l&&!r l&&r condition
155 264 3 54 defined $expect and $type eq $expect

or 2 conditions

line l !l condition
82 810 0 \@{"${class}::ACCEPT";} || []
132 1073 0 $Pod::POM::Node::NAMES->{$class} || (return $self->error("no name for $class"))
145 749 3 defined($node = $nodeclass->new($pom, @_)) or return $self->error($nodeclass->error)
209 4 1 $self->{'METADATA'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
100 746 6 3 shift() || $default
184 296 8 0 $view ||= $Pod::POM::DEFAULT_VIEW
333 0 0 172 length $line > $max_text_len or $line =~ /[\x00-\x1F]/