Branch Coverage

blib/lib/Web/Simple/Application.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
53 1 0 if caller 1
54 0 0 ref $_[0] ? :
71 62 1 ref $_[0] ? :
86 1 2 if ($ENV{'PHP_FCGI_CHILDREN'} or $ENV{'FCGI_ROLE'} or $ENV{'FCGI_SOCKET_PATH'} or -S STDIN and not $ENV{'GATEWAY_INTERFACE'}) { }
1 1 elsif ($ENV{'GATEWAY_INTERFACE'}) { }
95 1 0 unless (@ARGV and $ARGV[0] =~ m[(^[A-Z/])|\@])
101 0 0 unless $args[0] =~ /^[A-Z]/
110 13 47 if ref $method
112 2 45 if ($path =~ s/^(.*?)\@//)
123 2 2 unless ($header =~ s/:$//)
127 0 4 if ($header eq 'Content') { }
134 2 45 if ($method eq 'POST' || $method eq 'PUT' and @params)
172 0 0 if length $content and not $content =~ /\n\z/
173 0 0 if $content