Condition Coverage

blib/lib/CGI/WebToolkit.pm
Criterion Covered Total %
condition 0 48 0.0


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 0 $$self{'allowclearcache'} == 1 and defined param($$self{'clearcacheparam'})
70 0 0 0 exists $$result{'status'} and $$result{'status'} == 1
140 0 0 0 $$self{'checkrights'} == 1 and not $self->allowed($function_name)
622 0 0 0 defined $value && $value =~ /$regex/
706 0 0 0 $has_access && &$check_function($self, $function_name, $loginname)
724 0 0 0 defined $priority and scalar grep({$_ eq uc $priority;} 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL')
1107 0 0 0 -f $datafilename and -r $datafilename
1117 0 0 0 defined $current_id and defined $current_field
0 0 0 defined $current_id and defined $current_field and $line =~ /^[\s\t]/
1274 0 0 0 scalar @_ and ref $_[0] eq 'CGI::WebToolkit'
1439 0 0 0 $sessionstart and $$self{'onsessionstart'} ne ''

or 3 conditions

line l !l&&r !l&&!r condition
65 0 0 0 ref $result ne 'HASH' or not exists $$result{'type'}
385 0 0 0 scalar(@pairs) % 2 == 1 or scalar @pairs < 4
913 0 0 0 $type eq 'start' or $type eq 'single'
1209 0 0 0 $_ eq $$self{'idparam'} || $_ eq $$self{'clearcacheparam'}
1604 0 0 0 not scalar @{$$self{'templatefallbacks'};} or $$self{'templatefallbacks'}[-1] ne 'core'