Branch Coverage

blib/lib/AnyEvent/HTTPD/ExtDirect.pm
Criterion Covered Total %
branch 35 48 72.9


line true false branch
42 0 35 @_ == 1 && 'HASH' eq ref $_[0] ? :
63 0 70 if exists $arg{$var}
67 0 35 if $arg{'host'} =~ /localhost/iou
110 0 3 if $@
136 0 27 if ($req->method ne 'POST')
155 0 27 unless (defined $router_input)
198 0 5 if ($method ne 'GET' and $method ne 'POST')
290 21 6 unless ($is_form)
292 21 0 $postdata ne '' ? :
306 53 1 @values == 1 ? :
0 54 @values == 0 ? :
313 3 3 $has_uploads ? :
317 1 2 unless @upload_fields
332 2 0 if @uploaded_files
336 3 3 if (exists $keyword{'metadata'})
344 6 0 if exists $keyword{'extTID'}
445 1 94 unless defined $key
448 25 69 unless $$self{'parm'}{$key}
450 54 40 wantarray ? :
470 2 27 if (defined $$value[1])
491 0 2 if ($$self{'_cookies'}) { }
496 2 0 $headers ? :
501 1 1 $key ? :
509 1 1 $key ? :