blib/lib/Data/Comparator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 28 | 67.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
186 | 232 | 1 | 145 | $data_type1 =~ /HASH/ and $data_type2 =~ /HASH/ |
170 | 0 | 63 | $data_type1 =~ /ARRAY/ and $data_type2 =~ /ARRAY/ | |
164 | 0 | 6 | $data_type1 =~ /SCALAR/ and $data_type2 =~ /SCALAR/ | |
162 | 0 | 2 | $data_type1 =~ /REF/ and $data_type2 =~ /REF/ | |
342 | 0 | 0 | 6 | defined $value1 && defined $value2 |
line | l | !l | condition |
---|---|---|---|
178 | 217 | 161 | ref $data1 && "$data1" || '' |
180 | 216 | 162 | ref $data2 && "$data2" || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
186 | 1 | 0 | 161 | $data_type1 || $data_type2 |
300 | 156 | 0 | 5 | defined $scalar1 or defined $scalar2 |
342 | 6 | 0 | 0 | defined $value1 || defined $value2 |