Branch Coverage

blib/lib/POE/Component/MetaCPAN/Recent.pm
Criterion Covered Total %
branch 15 34 44.1


line true false branch
18 0 1 unless $opts{'event'}
19 1 0 unless $opts{'delay'}
22 0 1 ref $options eq 'HASH' ? :
46 0 1 if $self->{'_http_requests'}
55 1 0 unless $self->{'alias'}
57 1 0 unless $self->{'http_alias'}
64 0 1 if ($kernel == $sender and not $self->{'session'})
68 0 1 if ($self->{'session'}) { }
69 0 0 if (my $ref = $kernel->alias_resolve($self->{'session'})) { }
81 0 1 if ($self->{'http_alias'})
83 0 0 if $http_ref
85 1 0 unless ($self->{'http_id'})
118 1 0 if ($http_resp and $http_resp->code == 200)
121 0 1 unless $recents
122 0 1 unless $recents->{'releases'}
123 0 1 unless ref $recents->{'releases'} eq 'ARRAY'
126 1 0 if $ts < $self->{'timestamp'}