Condition Coverage

blib/lib/Config/General/Hierarchical.pm
Criterion Covered Total %
condition 54 56 96.4


and 2 conditions

line l !l condition
619 625 12 $c == 92 and scalar @arr
612 13 $c == 36 and scalar @arr

and 3 conditions

line !l l&&!r l&&r condition
137 8 48 1 defined $syn and not $syn =~ /^[amuABDEINST]*$/
141 8 43 5 defined $syn and $syn =~ /m/
51 3 2 defined $syn and $syn =~ /m/ and syntax_check_get_type($syn) ne 'S'
46 1 1 defined $syn and $syn =~ /m/ and syntax_check_get_type($syn) ne 'S' and not $syn =~ /a/
396 41 25 18 not ref $syn and $syn =~ /m/
66 5 13 not ref $syn and $syn =~ /m/ and defined $other
418 68 4 8 exists $$hash{$key} and ref $$hash{$key} eq 'HASH'
437 77 1 2 $wv and ref $wv->value eq 'HASH'
498 12 40 146 defined $value and ref $value eq 'Config::General::Hierarchical::Value'
564 4 18 1 $ref and $ref ne 'ARRAY'
619 0 2 11 $c == 36 and scalar @arr and $arr[0] == 123
634 2 9 39 $i < scalar @arr and $arr[$i] != 125

or 2 conditions

line l !l condition
184 21 19 $syntax || {}
389 76 56 (exists $$constraint{$key} ? $$constraint{$key} : $$constraint{$self->wild}) || {}

or 3 conditions

line l !l&&r !l&&!r condition
63 40 48 1 ref $ref || $ref
173 181 6 12 $self->value->{$name} || $self->value->{$self->wild}
175 12 147 40 not defined $value or ref $value->value ne 'HASH'
245 0 1 64 $@ || !$tmp