Branch Coverage

blib/lib/Business/Bitcoin/Request.pm
Criterion Covered Total %
branch 6 22 27.2


line true false branch
21 0 1 unless $args{'Amount'} =~ /^\d+$/
0 1 if $args{'StartIndex'} and $args{'StartIndex'} =~ /\D/
24 1 0 defined $args{'StartIndex'} ? :
25 0 1 defined $args{'Ref'} ? :
26 0 1 unless $db->do("INSERT INTO requests values ($index, '$args{'Amount'}', NULL, $refid, '${timestamp}');")
29 1 0 unless my $address = `$ku $xpub -s 0/$index -a`
34 0 0 defined $args{'Confirmations'} ? :
48 0 0 if $auto eq 'DESTROY'
49 0 0 if ($auto =~ /^(confirmations)$/x)
50 0 0 if defined $_[0]
52 0 0 if ($auto =~ /^(amount|address|ref|version|created|confirmations)$/x) { }