Branch Coverage

blib/lib/PAGI/Middleware/Healthcheck.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
76 0 4 if ($scope->{'type'} ne "http")
84 1 3 if (defined $self->{'live_path'} and $path eq $self->{'live_path'})
90 0 3 if (defined $self->{'ready_path'} and $path eq $self->{'ready_path'})
96 2 1 if ($path eq $self->{'path'})
132 0 0 $healthy ? :
135 0 0 if $self->{'include_details'}
138 0 0 $healthy ? :
161 1 1 $healthy ? :
165 1 1 if $self->{'include_details'} and keys %{$$self{"checks"};}
168 1 1 $healthy ? :
198 1 1 unless ($ok)
203 0 2 if ($@)