| line |
true |
false |
branch |
|
18
|
4 |
7 |
if $args{'startup'} or $args{'shutdown'} |
|
41
|
0 |
2 |
unless $args{'startup'} or $args{'shutdown'} |
|
51
|
0 |
5 |
unless $scope and ref $scope eq "HASH" |
|
66
|
0 |
5 |
unless $app |
|
73
|
4 |
6 |
if ($type eq "lifespan") |
|
92
|
0 |
10 |
unless $scope and ($scope->{'type'} // "") eq "lifespan" |
|
93
|
0 |
10 |
if $scope->{'pagi.lifespan.handled'} |
|
97
|
3 |
7 |
if (my $extra = $scope->{'pagi.lifespan.handlers'}) |
|
109
|
10 |
8 |
if ($type eq 'lifespan.startup') { } |
|
|
8 |
0 |
elsif ($type eq 'lifespan.shutdown') { } |
|
111
|
2 |
15 |
unless $handler->{'startup'} |
|
113
|
2 |
13 |
if ($@) |
|
125
|
4 |
11 |
unless $handler->{'shutdown'} |