Condition Coverage

lib/PAGI/Lifespan.pm
Criterion Covered Total %
condition 19 35 54.2


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 5 $scope and ref $scope eq "HASH"
92 0 0 10 $scope and ($scope->{'type'} // "") eq "lifespan"

or 2 conditions

line l !l condition
71 10 0 $scope->{'type'} // ""
75 1 3 $scope->{'state'} //= {}
81 1 0 $self->{'_state'} // {}
92 10 0 $scope->{'type'} // ""
100 10 0 $self->{'_handlers'} // []
102 9 1 $scope->{'state'} //= {}
107 18 0 $msg->{'type'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
18 4 0 7 $args{'startup'} or $args{'shutdown'}
41 6 2 0 $args{'startup'} or $args{'shutdown'}
52 0 5 0 $scope->{'pagi.lifespan.manager'} //= $class->new
74 0 4 0 $scope->{'pagi.lifespan.manager'} //= $self
81 5 1 0 $inner_scope->{'state'} //= $self->{'_state'} // {}