Condition Coverage

blib/lib/PCGI.pm
Criterion Covered Total %
condition 1 75 1.3


and 3 conditions

line !l l&&!r l&&r condition
944 0 0 0 -e $_ and not unlink($_)
0 0 0 -e $_ and not unlink($_) and $^W
0 0 0 $rtype == 3 and @$value > 1
0 0 0 exists $$ctype{'a'}{'boundary'} && length $$ctype{'a'}{'boundary'}
0 0 0 $$s{'rewind'}++ and not $$s{'stream'}->readto($$s{'bound'}, {'Mode', 'E'})
0 0 0 exists $$s{'header'}{'content_disposition'}{'_MAIN_'} and $$s{'header'}{'content_disposition'}{'_MAIN_'} eq 'form-data'
0 0 0 exists $$s{'header'}{'content_disposition'}{'_MAIN_'} and $$s{'header'}{'content_disposition'}{'_MAIN_'} eq 'form-data' and exists $$s{'header'}{'content_disposition'}{'name'}
0 0 0 exists $$s{'header'}{'content_disposition'}{'_MAIN_'} and $$s{'header'}{'content_disposition'}{'_MAIN_'} eq 'form-data' and exists $$s{'header'}{'content_disposition'}{'name'} and length $$s{'header'}{'content_disposition'}{'name'}
0 0 0 exists $$s{'header'}{'content_type'}{'_MAIN_'} and $$s{'header'}{'content_type'}{'_MAIN_'} eq 'multipart/mixed'
0 0 0 exists $$s{'header'}{'content_type'}{'boundary'} && length $$s{'header'}{'content_type'}{'boundary'}
0 0 0 $mrewind++ and not $$s{'stream'}->readto($mbound, {'Mode', 'E'})
0 0 0 $temp eq 'file' || $temp eq 'attachment' and exists $$mheader{'content_disposition'}{'filename'}
0 0 0 length $group and length $value
0 0 0 length $name and $name ne '_MAIN_'
0 0 0 exists $$RType{$name} and $$RType{$name} == 2
0 0 0 -d $$attr{$_} and -w $$attr{$_}
0 0 0 defined $$attr{$_} && $$attr{$_} >= 0
0 0 0 exists $ENV{$_[1]} && defined $ENV{$_[1]}
945 34 0 0 $@ ne '' and $^W

or 3 conditions

line l !l&&r !l&&!r condition
944 0 0 0 length $value or $$self{'set'}{'COOKIE'}{'IncEmpty'}
0 0 0 length $value or $$self{'set'}{'GET'}{'IncEmpty'}
0 0 0 $temp eq 'file' || $temp eq 'attachment'
0 0 0 $$s{'stream'}{'Stored'} or $$self{'set'}{'MULTI'}{'IncEmpty'}
0 0 0 length $value or $$self{'set'}{'POST'}{'IncEmpty'}
0 0 0 not defined $$attr{$_} or -d $$attr{$_} and -w $$attr{$_}