Condition Coverage

blib/lib/PLP/Fields.pm
Criterion Covered Total %
condition 2 18 11.1


and 3 conditions

line !l l&&!r l&&r condition
15 0 0 18 defined $ENV{'QUERY_STRING'} and length $ENV{'QUERY_STRING'}
28 0 0 0 $ENV{'CONTENT_TYPE'} and $ENV{'CONTENT_LENGTH'}
0 0 0 $ENV{'CONTENT_TYPE'} and $ENV{'CONTENT_LENGTH'} and $ENV{'CONTENT_TYPE'} =~ m[^(?:application/x-www-form-urlencoded|$)]
32 0 0 0 defined $post and length $post
56 18 0 0 defined $ENV{'HTTP_COOKIE'} and length $ENV{'HTTP_COOKIE'}

or 3 conditions

line l !l&&r !l&&!r condition
59 0 0 0 $PLP::Script::cookie{$keyval[0]} ||= $keyval[1]