| line |
true |
false |
branch |
|
14
|
8 |
6 |
if defined $app |
|
20
|
7 |
7 |
if $args{'startup'} or $args{'shutdown'} |
|
43
|
0 |
3 |
unless $args{'startup'} or $args{'shutdown'} |
|
53
|
0 |
5 |
unless $scope and ref $scope eq "HASH" |
|
68
|
0 |
8 |
unless $app |
|
75
|
6 |
7 |
if ($type eq "lifespan") |
|
94
|
0 |
12 |
unless $scope and ($scope->{'type'} // "") eq "lifespan" |
|
95
|
0 |
12 |
if $scope->{'pagi.lifespan.handled'} |
|
99
|
3 |
9 |
if (my $extra = $scope->{'pagi.lifespan.handlers'}) |
|
111
|
12 |
10 |
if ($type eq 'lifespan.startup') { } |
|
|
10 |
0 |
elsif ($type eq 'lifespan.shutdown') { } |
|
113
|
5 |
15 |
unless $handler->{'startup'} |
|
115
|
2 |
13 |
if ($@) |
|
131
|
4 |
14 |
unless $handler->{'shutdown'} |
|
133
|
2 |
12 |
if $@ |
|
135
|
2 |
8 |
if (@errors) { } |