Branch Coverage

blib/lib/CGI/Application/Plugin/OpenTracing.pm
Criterion Covered Total %
branch 52 62 83.8


line true false branch
36 1 4 unless defined $implementation_import_name
53 0 5 defined &$run_glob ? :
69 0 27 if ($wantarray) { }
77 0 24 $wantarray ? :
24 3 if $ok
92 2 3 if defined $root_span
97 2 8 if defined $root_addr and $root_addr eq &refaddr($span)
180 2 2 unless $cgi_app->error_mode
196 27 0 $implementation_import_name ? :
291 48 28 unless defined $spec_gen
305 31 31 if $matched
308 9 64 unless defined $processor
309 10 54 unless ref $processor
311 54 0 if (ref $processor eq 'CODE')
313 1 53 if ref $processed eq 'ARRAY'
325 14 14 if @def % 2 != 0
329 1 32 if (ref $cond eq 'Regexp') { }
333 1 31 ref $cond eq 'ARRAY' ? :
342 28 34 if exists $direct_match{$name}
346 3 0 if $name =~ /$re/
366 0 48 unless defined $param
369 7 41 unless defined $processed_value
379 16 11 unless _has_form_data($query)
393 4 21 unless defined $processed_value
403 16 11 unless defined $content_type
404 0 11 if $content_type =~ m[\Amultipart/form-data]
405 11 0 if $content_type =~ m[\Aapplication/x-www-form-urlencoded]
424 21 3 unless my $status = $headers{'-status'}
429 3 0 unless defined $status_mess
443 26 1 unless $cgi_app->can('opentracing_bootstrap_options')
455 26 1 unless $cgi_app->can('opentracing_baggage_items')