Branch Coverage

blib/lib/Steemit/WsClient.pm
Criterion Covered Total %
branch 6 28 21.4


line true false branch
194 0 0 unless $response->is_success
198 0 0 if $result->{'result'}
199 0 0 if (my $error = $result->{'error'})
326 0 0 unless ref $discussions[-1]
373 0 0 unless my $permlink = $params{'permlink'}
375 0 0 unless my $body = $params{'body'}
378 0 0 if (ref $json_metadata)
413 0 0 unless my $permlink = $params{'permlink'}
462 0 0 unless (Steemit::ECDSA::is_signature_canonical_canonical(pack('H*', $signature)))
474 0 0 unless ($self->{'public_posting_key'})
494 0 3 unless $self->posting_key
505 1 2 unless $version eq "\200"
510 1 1 unless $generated_checksum eq $checksum
546 0 1 if $transaction->{'extensions'} and $transaction->{'extensions'}[0]