Condition Coverage

blib/lib/XAO/DO/Web/Page.pm
Criterion Covered Total %
condition 61 94 64.8


and 3 conditions

line !l l&&!r l&&r condition
594 26 0 89 not $spec || defined $args->{'template'} and my $path = $args->{'path'}
614 79 23 13 $spec and ref $spec
619 0 0 2 $spec_key eq "proto" and $spec_list
699 0 150 297 $benchmark < 2 and $benchmark_tag
150 89 208 $benchmark < 2 and $benchmark_tag and substr($benchmark_tag, 0, 2) ne "p:"
763 100 200 487 @$v == 1 and exists $v->[0]{'text'}
796 1224 0 160 $itemflag and $itemflag ne "t"
823 5764 4 43 $self->_character_mode and not $item->{'binary'}
829 4174 0 1637 $itemflag and $itemflag ne "t"
834 0 0 0 defined $text && length $text
868 4 0 0 $self->_character_mode && !$args->{'unparsed'}
871 89 0 0 $self->_character_mode && !$args->{'unparsed'}
948 920 0 285 !defined($args->{'template'}) && $args->{'path'}
1148 861 16 70 $self->_character_mode && !$args->{'unparsed'} && !$self->siteconfig->force_byte_output
1364 238 0 38 $path and not defined $template
1906 0 0 150 $self->{'parent'} and $pargs = $self->{'parent'}{'args'}
2128 49 6 24 $desired_tag and $tag ne $desired_tag

or 2 conditions

line l !l condition
908 2 1 $self->siteconfig->get('/xao/page/render_cache_name') || ''
1292 0 587 $self->siteconfig->get('/xao/page/parse_cache_name') || ''
1304 830 0 $self->{'sitename'} || &get_current_project_name() || ''
1499 1907 46 $args->{'objname'} || 'Page'
1539 0 0 $args{'text'} // ""
1896 157 13 $args ||= {}
1965 178 2 $key ||= "-"
1983 148 32 $rundata->{$key} ||= {}
2012 89 1 $description ||= ""
2059 89 1 $content_digest ||= "-"
2094 0 2 $level || 1

or 3 conditions

line l !l&&r !l&&!r condition
594 26 0 89 $spec || defined $args->{'template'}
619 8 0 2 $spec_key eq "cookie" or $spec_key eq "cookies"
663 1130 0 0 $self->{'args'} || $self->throw(q[- no 'args' in self])
1072 0 0 10 $self->page_clipboard->{'render_cache_update'} || $args->{'xao.uncached'}
1262 210 0 0 $args->{'path'} || $self->throw(q[- no 'path' and no 'template' given to a Page object])
1783 33 0 0 $self->clipboard->get('pagedesc') || $self->throw(q[- no Web context, needs clipboard->'pagedesc'])
1913 135 0 15 $pass eq "on" or $pass eq 1