Branch Coverage

blib/lib/Plack/Middleware/ExtDirect.pm
Criterion Covered Total %
branch 32 48 66.6


line true false branch
42 20 0 @_ == 1 && 'HASH' eq ref $_[0] ? :
73 12 8 if $_ =~ $config->router_path
74 5 3 if $_ =~ $config->poll_path
75 3 0 if $_ =~ $config->api_path
131 90 90 if exists $$params{$var}
134 0 20 if exists $$params{'router'}
137 0 20 if exists $$params{'event_provider'}
141 0 60 if exists $$params{$type}
143 0 60 if defined $code
161 0 3 if $@
185 0 12 unless $$env{'REQUEST_METHOD'} eq 'POST'
198 0 12 unless defined $router_input
227 0 5 unless $$env{'REQUEST_METHOD'} =~ / \A (GET|POST) \z /msx
276 9 3 unless ($is_form)
278 9 0 $postdata ne '' ? :
292 25 0 @values == 1 ? :
0 25 @values == 0 ? :
299 2 1 if ($has_uploads)
310 2 0 if @field_uploads
317 3 0 if exists $keyword{'extTID'}
363 1 1 $name ? :
371 1 0 $name eq '' ? :
1 1 $name eq 'POSTDATA' ? :
381 1 1 $name ? :