Branch Coverage

blib/lib/Finance/StockAccount/Realization.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
31 1006 0 if $init
37 4 1500 unless (defined $dateLimitPortion)
44 1504 0 if ($divQuantity) { }
72 2012 0 if (exists $$self{$key}) { }
73 1006 1006 if ($key eq 'divestment') { }
1006 0 elsif ($key eq 'stock') { }
75 1006 0 if ($divestment and ref $divestment) { }
102 54 0 if ($costBasis) { }
120 387 280 if (not $startDate) { }
125 186 94 if ($tm < $startDate)