Branch Coverage

blib/lib/WWW/Suffit/Plugin/ServerInfo.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
99 0 0 if $_ eq "WWW::Suffit::Server"
100 0 0 unless $ns
110 0 0 $opts->{'debug'} ? :
113 0 0 if (my $route_name = $opts->{'routename'} || $opts->{'route'})
126 0 0 $_ eq 'app' ? :
0 0 if not /^mojo\./u
151 0 0 $self->can('remote_ip') ? :
179 0 0 if $self->app->can("documentroot")
180 0 0 if $self->app->can("datadir")
186 0 0 if $self->app->{'__suffit_serverinfo_debug'}
200 0 0 if ($k =~ /.pm$/u) { }
213 0 0 if (length $raw_data)
221 0 0 unless (ref $r eq "HASH")
228 0 0 if ($typ eq 'str') { }
0 0 elsif ($typ eq 'txt') { }
0 0 elsif ($typ eq 'dmp') { }
0 0 elsif ($typ eq 'obj' and ref $val eq 'ARRAY') { }
245 0 0 unless ref $r eq "HASH"
254 0 0 unless ref $r eq "HASH"
255 0 0 if ($r->{'typ'} eq 'obj') { }
256 0 0 if ($r->{'key'} eq 'Request headers') { }
0 0 elsif ($r->{'key'} eq 'Request parameters') { }
0 0 elsif ($r->{'key'} eq 'Environment variables') { }
0 0 elsif ($r->{'key'} eq 'Loaded modules') { }
266 0 0 if $r->{'key'} eq "Include"