Condition Coverage

blib/lib/HTML/MasonX/ApacheLikePlackHandler.pm
Criterion Covered Total %
condition 1 80 1.2


and 3 conditions

line !l l&&!r l&&r condition
156 0 0 0 defined $retval && $retval ne 200
328 0 0 0 @{$p{'comp_root'};} == 1 and not $p{'comp_root'}[0] =~ /=>/
453 0 0 0 @val == 1 and not defined $val[0]
465 0 0 0 @val == 1 and not defined $val[0]
474 0 0 0 defined $key and defined $val
506 0 0 0 @val > 1 and not wantarray
527 0 0 0 exists $$allowed_params{'comp_root'} and my $req = $r
533 0 0 0 exists $$allowed_params{'data_dir'} and not exists $params{'data_dir'}
552 0 0 0 exists $params{'error_mode'} and $params{'error_mode'} eq 'fatal'
571 0 0 0 $@ and isa_mason_exception($@, 'Params')
0 0 0 $@ and isa_mason_exception($@, 'Params') and $@->message =~ /comp_root/
588 0 0 0 not $> || $< and $self->interp->files_written
644 0 0 0 $r->path_info and $r->path_info =~ /expire_code_cache=(.*)/
770 0 0 0 $fs_type eq 'dir' and $self->decline_dirs
817 0 0 0 defined $retval and $retval eq 200
828 0 0 0 $m->can('cgi_object') and $cgi_object
845 0 0 0 defined $filter and lc $filter eq 'on'
912 0 0 0 $r->method eq 'GET' and not scalar $r->args

or 2 conditions

line l !l condition
47 4 0 $ENV{$env_name} || die("You need to set \$ENV{$env_name} to a mock class")
185 0 0 $status || 302
406 0 0 $candidates || {}
811 0 0 $r->path_info || ''

or 3 conditions

line l !l&&r !l&&!r condition
83 0 0 0 $self->apache_req or $self->cgi_object
107 0 0 0 $$self{'cgi_object'} ||= 'CGI'->new('')
410 0 0 0 $$spec{'parse'} || ($$spec{'type'} & 2 ? 'list' : ($$spec{'type'} & 1 ? 'string' : ($$spec{'type'} & 8 ? 'code' : undef)))
489 0 0 0 wantarray or not $config
588 0 0 0 $> || $<
975 0 0 0 $ah ||= $package->make_ah($r)