Branch Coverage

blib/lib/EB/Booking.pm
Criterion Covered Total %
branch 0 112 0.0


line true false branch
34 0 0 unless ($main::dbh->adm_open)
45 0 0 unless defined $bky
50 0 0 if defined $rr and $rr->[0] == 0
62 0 0 if ($bsk_nr = $opts->{'boekstuk'}) { }
0 0 elsif ($prev) { }
63 0 0 unless ($bsk_nr =~ /^[0-9]+$/)
67 0 0 unless $self->check_bsk_nr($opts)
68 0 0 $prev ? :
80 0 0 unless $self->check_bsk_nr($opts)
90 0 0 if ($self->{'bky'} ne $main::dbh->adm('bky')) { }
0 0 elsif ($main::dbh->adm('closed')) { }
94 0 0 if ($c)
107 0 0 unless wantarray
114 0 0 if ($date lt $begin)
119 0 0 if ($date gt $end)
130 0 0 if ($amt =~ /^(.+)\@(.+)$/)
140 0 0 unless defined $spec
144 0 0 if ($spec =~ /^([gn])$/) { }
0 0 elsif ($spec =~ /^([ko])$/) { }
0 0 elsif ($spec =~ /^([hl]|\d+)([-+]?)([ko])$/ or $spec =~ /^(\w+)([-+])([ko])$/) { }
170 0 0 if ($spec =~ /^(\d+)([-+])?$/) { }
0 0 elsif ($spec =~ /^([hl])([-+])?$/) { }
0 0 elsif ($spec =~ /^(\w\w+)([-+])?$/) { }
0 0 elsif ($spec =~ /^([-+])$/ and $btw_id) { }
0 0 elsif ($spec ne '') { }
172 0 0 if (defined $2)
177 0 0 unless $res
178 0 0 $excl ? :
182 0 0 unless $res
190 0 0 if defined $2
191 0 0 $excl ? :
0 0 $btw_id eq 'h' ? :
198 0 0 defined $_->[1] ? :
0 0 if @$res != 1
211 0 0 unless $res
214 0 0 if (defined $2)
217 0 0 $excl ? :
222 0 0 unless $res
229 0 0 $1 eq '-' ? :
237 0 0 if @$res != 1
253 0 0 if ($bsr_btw_id)
261 0 0 unless $btw_perc
266 0 0 if ($btw_incl) { }
280 0 0 if defined $debet
281 0 0 if $total >= 0
288 0 0 if defined $total and not $iv
325 0 0 if defined $iv and $bsr_rel_code
327 0 0 if ($bsr_btw_class & 512 and $bsr_btw_id and $bsr_btw_acc)
336 0 0 if $bsr_amount < 0
337 0 0 if $bsr_amount > 0
339 0 0 $bsr_type ? :
343 0 0 if $btw
349 0 0 if (defined $total and $tot != $total and $main::cfg->val(('strategy', 'iv_vc'), 1))
359 0 0 if ($t != $v->{'btw'})
373 0 0 if ($dbk_acc_id)
374 0 0 if ($dbkdcsplit) { }