Condition Coverage

blib/lib/Data/Generate.pm
Criterion Covered Total %
condition 53 69 76.8


and 3 conditions

line !l l&&!r l&&r condition
747 2 0 3 exists $$Data::Generate::vchain_type{$$self{'chain_type'}} and exists $$Data::Generate::vchain_type{$$self{'chain_type'}}{'check_type'}
986 3 16 6 $#{$$vchain_merged{'vcol_hash'}{'1'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'1'}{'value_column'}[0] == 0
19 0 6 $#{$$vchain_merged{'vcol_hash'}{'1'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'1'}{'value_column'}[0] == 0 and $#{$$vchain_merged{'vcol_hash'}{'2'}{'value_column'};} == 0
16 0 6 $#{$$vchain_merged{'vcol_hash'}{'1'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'1'}{'value_column'}[0] == 0 and $#{$$vchain_merged{'vcol_hash'}{'2'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'2'}{'value_column'}[0] eq '.'
0 2 4 $#{$$vchain_merged{'vcol_hash'}{'1'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'1'}{'value_column'}[0] == 0 and $#{$$vchain_merged{'vcol_hash'}{'2'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'2'}{'value_column'}[0] eq '.' and $#{$$vchain_merged{'vcol_hash'}{'3'}{'value_column'};} == 0
2 2 2 $#{$$vchain_merged{'vcol_hash'}{'1'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'1'}{'value_column'}[0] == 0 and $#{$$vchain_merged{'vcol_hash'}{'2'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'2'}{'value_column'}[0] eq '.' and $#{$$vchain_merged{'vcol_hash'}{'3'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'3'}{'value_column'}[0] == 0
4 0 2 $#{$$vchain_merged{'vcol_hash'}{'1'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'1'}{'value_column'}[0] == 0 and $#{$$vchain_merged{'vcol_hash'}{'2'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'2'}{'value_column'}[0] eq '.' and $#{$$vchain_merged{'vcol_hash'}{'3'}{'value_column'};} == 0 and $$vchain_merged{'vcol_hash'}{'3'}{'value_column'}[0] == 0 and $$vchain_merged{'vcol_count'} == 3
1046 0 3 5 exists $$self{'actual_vchain'}{'sign'} and exists $$self{'actual_vchain'}{'sign'}{'-'}
1138 10 0 3 exists $$last_vchain{'sign'} and exists $$last_vchain{'sign'}{'-'}
1146 6 2 11 $$vchain{'vcol_count'} == 0 and @{$$vchain{'vcol_hash'}{'0'}{'value_column'};} == 1
8 2 9 $$vchain{'vcol_count'} == 0 and @{$$vchain{'vcol_hash'}{'0'}{'value_column'};} == 1 and $$vchain{'vcol_hash'}{'0'}{'value_column'}[0] == 0
1278 0 0 85 exists $$limit_check_hash{'lowlimit'} and defined $$limit_check_hash{'lowlimit'}
1285 0 0 85 exists $$limit_check_hash{'highlimit'} and defined $$limit_check_hash{'highlimit'}
1401 75 24 24 defined $$self{'actual_vcol'}{'type'} and $$self{'actual_vcol'}{'type'} =~ /^(day|month|year)$/
75 24 0 defined $$self{'actual_vcol'}{'type'} and $$self{'actual_vcol'}{'type'} eq 'sign'
1457 21 26 2 exists $$self{'actual_vchain'}{'chain_subtype'} and $$self{'actual_vchain'}{'chain_subtype'} eq 'DATEWITHFRACTION'
1489 5 0 782 exists $$self{'ct_length'} and defined $$self{'ct_length'}
5 781 1 exists $$self{'ct_length'} and defined $$self{'ct_length'} and $$self{'actual_vchain'}{'vchain_length'} + $vterm_length > $$self{'ct_length'}
1617 0 0 66 defined $$vchain_ref{'weigth'} and defined $$vchain_ref{'vchain_card'}
1799 55 383 130 exists $$Data::Generate::vchain_type{$chain_type} and exists $$Data::Generate::vchain_type{$chain_type}{'vcol_output_format'}
1815 25 7 22 exists $$Data::Generate::vchain_type{$chain_type} and exists $$Data::Generate::vchain_type{$chain_type}{'output_format_fct'}

or 3 conditions

line l !l&&r !l&&!r condition
1043 0 5 3 not exists $$self{'actual_vchain'}{'sign'} or exists $$self{'actual_vchain'}{'sign'}{'+'}
1136 10 1 2 not exists $$last_vchain{'sign'} or exists $$last_vchain{'sign'}{'+'}