| examples/06-lifespan-state/app.pl | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 12 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 12 | 1 | 1 | if ($event->{'type'} eq 'lifespan.startup') { } |
| 1 | 0 | elsif ($event->{'type'} eq 'lifespan.shutdown') { } | |
| 32 | 0 | 1 | if $event->{'type'} ne "http.request" |
| 33 | 1 | 0 | unless $event->{'more'} |
| 48 | 1 | 1 | if $scope->{'type'} eq "lifespan" |
| 49 | 1 | 0 | if $scope->{'type'} eq "http" |