Branch Coverage

blib/lib/POE/Component/Metabase/Client/Submit.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
39 0 0 unless $self->profile->isa('Metabase::User::Profile')
41 0 0 unless $self->secret->isa('Metabase::User::Secret')
43 0 0 unless $self->secret->isa('Metabase::Fact')
46 0 0 ref $options eq 'HASH' ? :
59 0 0 if ($kernel == $sender and not $self->{'session'})
63 0 0 if ($self->{'session'}) { }
64 0 0 if (my $ref = $kernel->alias_resolve($self->{'session'})) { }
77 0 0 if ($self->{'http_alias'})
79 0 0 if $http_ref
81 0 0 unless ($self->{'http_id'})
84 0 0 if ($self->resolver)
91 0 0 defined $ka ? :
108 0 0 unless $fact->creator
114 0 0 length $can_decode ? :
124 0 0 if (defined $self->compress and $self->compress ne 'none')
127 0 0 if ($@)
152 0 0 unless $self->$type->creator
159 0 0 length $can_decode ? :
190 0 0 if ($tag eq 'submit' and $res->code == 401)
194 0 0 if ($tag eq 'guid')
195 0 0 if ($res->is_success)
204 0 0 if ($tag eq 'register')
205 0 0 unless ($res->is_success)
214 0 0 if (not $res->is_success) { }
222 0 0 if (defined $request_packet->[0]->header('Accept-Encoding')) { }
224 0 0 if ($@)
238 0 0 if $self->{'my_httpc'}
241 0 0 if $self->{$_}
243 0 0 if $ref->{'_error'}
258 0 0 @$args == 0 ? :
0 0 @$args == 1 && ref $args->[0] ? :
266 0 0 unless exists $spec->{$key}
271 0 0 unless defined $hash->{$key}
274 0 0 if @errors
287 0 0 if (ref $res and $res->header('Content-Type') eq 'application/json') { }