Condition Coverage

blib/lib/CGI/ExtDirect.pm
Criterion Covered Total %
condition 14 33 42.4


and 3 conditions

line !l l&&!r l&&r condition
38 1 0 0 @_ == 1 && 'HASH' eq ref $_[0]
247 3 0 1 @headers == 2 and not $headers[0] =~ / \A - /msx
0 3 0 @headers > 2 and @headers % 2 != 0
337 0 0 0 exists $keyword{'extAction'} && exists $keyword{'extMethod'}

or 3 conditions

line l !l&&r !l&&!r condition
42 0 1 0 delete $arg{'api'} || 'RPC::ExtDirect'->get_api
43 0 1 0 delete $arg{'config'} || $api->config
46 0 0 1 $arg{'cgi'} || do { require CGI; 'CGI'->new }
247 1 1 4 @headers == 0 or @headers == 1
2 0 4 @headers == 0 or @headers == 1 or @headers == 2 and not $headers[0] =~ / \A - /msx
1 0 3 @headers == 0 or @headers == 1 or @headers == 2 and not $headers[0] =~ / \A - /msx or @headers > 2 and @headers % 2 != 0
370 0 0 0 $STANDARD_KEYWORD{$param} or not $has_uploads