Condition Coverage

blib/lib/Finance/BeanCounter.pm
Criterion Covered Total %
condition 0 81 0.0


and 3 conditions

line !l l&&!r l&&r condition
255 0 0 0 defined $dbsystem and lc $dbsystem eq 'odbc'
258 0 0 0 defined $hostarg and $hostarg ne 'localhost'
292 0 0 0 defined $res and $res =~ /(name|value|currency|cost|owner)/i
0 0 0 defined $res and $res =~ /(name|value|currency|cost|owner)/i and not $res =~ /(symbol|shares|exchange|day)/i
318 0 0 0 defined $Config{'firewall'} and $Config{'firewall'} ne ''
0 0 0 defined $Config{'firewall'} and $Config{'firewall'} ne '' and $Config{'firewall'} =~ /.*:.*/
729 0 0 0 defined $Config{'firewall'} and $Config{'firewall'} ne ''
0 0 0 defined $Config{'firewall'} and $Config{'firewall'} ne '' and $Config{'firewall'} =~ /.*:.*/
1023 0 0 0 defined $pos{$pkey} and defined $vol{$pkey}
1025 0 0 0 defined $pos{$vkey} and defined $vol{$vkey}
0 0 0 defined $pos{$vkey} and defined $vol{$vkey} and defined $cor{$vkey}{$pkey}
1043 0 0 0 defined $pos{$pkey} and defined $vol{$pkey}
1045 0 0 0 defined $pos{$vkey} and defined $vol{$vkey}
0 0 0 defined $pos{$vkey} and defined $vol{$vkey} and defined $cor{$vkey}{$pkey}
1105 0 0 0 $updSth->execute(@vals) and $updSth->finish
1124 0 0 0 $insSth->execute(@vals) and $insSth->finish
1281 0 0 0 defined $data{'adjclose'} and $data{'adjclose'} != $data{'day_close'}
0 0 0 defined $data{'adjclose'} and $data{'adjclose'} != $data{'day_close'} and $data{'day_close'} != 0
1339 0 0 0 $checked == 0 and /Date(,Open,High,Low)?,Close(,Volume)?/
1764 0 0 0 $hash{$key}{'previous_close'} ne 'N/A' and $hash{$key}{'day_close'} == $hash{$key}{'previous_close'}
0 0 0 $hash{$key}{'previous_close'} ne 'N/A' and $hash{$key}{'day_close'} == $hash{$key}{'previous_close'} and $hash{$key}{'day_change'} != 0
1775 0 0 0 Date_Cmp(ParseDate($hash{$key}{'date'}), ParseDate('20040226')) > 0 and not Date_Cmp(ParseDate($hash{$key}{'date'}), ParseDate('20050117')) > 0

or 2 conditions

line l !l condition
625 0 0 $cost || 'NA'
0 0 $pdate || 'NA'
0 0 $prevprice || 'NA'

or 3 conditions

line l !l&&r !l&&!r condition
1259 0 0 0 $col eq 'symbol' or $col eq 'date'
1298 0 0 0 $col eq 'symbol' or $col eq 'date'
1345 0 0 0 $checked eq 5 or $checked eq 6