Condition Coverage

blib/lib/PAGI/Request/Upload.pm
Criterion Covered Total %
condition 6 16 37.5


and 3 conditions

line !l l&&!r l&&r condition
26 0 0 0 defined $self->{'temp_path'} and -f $self->{'temp_path'}
109 0 2 0 $dir and not -d $dir
146 20 0 2 $self->is_on_disk and -f $self->{'temp_path'}

or 2 conditions

line l !l condition
21 24 0 $args{'filename'} // ""
24 0 $args{'content_type'} // "application/octet-stream"

or 3 conditions

line l !l&&r !l&&!r condition
21 24 0 0 $args{'field_name'} // croak("field_name is required")