Branch Coverage

blib/lib/POE/Component/Metabase/Client/Submit.pm
Criterion Covered Total %
branch 0 58 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)
90 0 0 defined $ka ? :
108 0 0 unless $fact->creator
138 0 0 unless $self->$type->creator
172 0 0 if ($tag eq 'submit' and $res->code == 401)
176 0 0 if ($tag eq 'guid')
177 0 0 if ($res->is_success)
186 0 0 if ($tag eq 'register')
187 0 0 unless ($res->is_success)
196 0 0 if (not $res->is_success) { }
209 0 0 if $$self{'my_httpc'}
213 0 0 if $$self{$_}
215 0 0 if $$ref{'_error'}
230 0 0 @$args == 0 ? :
0 0 @$args == 1 && ref $$args[0] ? :
237 0 0 unless exists $$spec{$key}
242 0 0 unless defined $$hash{$key}
246 0 0 if @errors
259 0 0 if (ref $res and $res->header('Content-Type') eq 'application/json') { }