Branch Coverage

blib/lib/Crypt/ECDSA/Blind.pm
Criterion Covered Total %
branch 27 48 56.2


line true false branch
22 0 1 if $arg{'Clobber'} and $dbname ne ':memory:'
25 1 0 unless ($tables[0])
26 1 0 if ($arg{'Create'}) { }
27 0 1 unless $db->do("CREATE TABLE initkeys (\n\t\t Rp TEXT PRIMARY KEY,\n\t\t k TEXT NOT NULL,\n\t\t issued int NOT NULL\n\t\t );")
32 0 1 unless $db->do('CREATE INDEX idx_initkeys_Rp ON initkeys(Rp);')
39 1 0 unless ($tables[0])
40 1 0 if ($arg{'Create'}) { }
41 0 1 unless $db->do("CREATE TABLE preinits (\n\t\t Rp TEXT PRIMARY KEY,\n\t\t k TEXT NOT NULL\n\t\t );")
68 0 0 if $count > 20
82 2 0 unless ($k)
118 0 2 unless my $k = $self->_initkey($arg{'Init'})
129 0 2 unless my $req = $self->_request($arg{'Init'})
159 2 0 unless $k
161 0 0 unless $self->db->do("INSERT INTO initkeys values ('${Rp}','${k}','${timestamp}');")
169 2 2 if ($_[1]) { }
182 2 2 if ($_[1]) { }
212 7 6 if $i % 2 ne $y % 2
222 2 3 $K->y % 2 ? :
227 0 11 if $self->debug
232 1 37 if $auto eq 'DESTROY'
233 19 18 if ($auto =~ /^(db|debug)$/x)
234 0 19 if defined $_[0]
236 37 0 if ($auto =~ /^(curve|db|debug)$/x) { }
299 0 0 if $self->{'R'} =~ /^[0-9a-f]+$/