Branch Coverage

blib/lib/POE/Component/MetaCPAN/Recent.pm
Criterion Covered Total %
branch 15 32 46.8


line true false branch
19 0 1 unless $opts{'event'}
20 1 0 unless $opts{'delay'}
23 0 1 ref $options eq 'HASH' ? :
52 0 1 if $self->{'_http_requests'}
68 0 1 if ($kernel == $sender and not $self->{'session'})
72 0 1 if ($self->{'session'}) { }
73 0 0 if (my $ref = $kernel->alias_resolve($self->{'session'})) { }
94 0 1 if ($self->{'shutdown'})
108 1 0 if ($http_resp and $http_resp->code == 200)
111 0 1 unless $recents
112 0 1 unless $recents->{'releases'}
113 0 1 unless ref $recents->{'releases'} eq 'ARRAY'
117 1 0 unless $self->{'timestamp'}
118 1 0 if $ts <= $self->{'timestamp'}
128 0 1 if $self->{'shutdown'}
129 1 0 unless $self->{'shutdown'}