| blib/lib/Data/Sah/Normalize.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 29 | 51.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 56 | 1 | 3 | 1 | not $expr and $c =~ s/\A!(?=.)// |
| 1 | 2 | 1 | not $expr and $c =~ s/(?<=.)\|\z// | |
| 1 | 1 | 1 | not $expr and $c =~ s/(?<=.)\&\z// | |
| 1 | 0 | 1 | not $expr and $c =~ /\A([^.]+)(?:\.(.+))?\((\w+)\)\z/ | |
| 70 | 0 | 1 | 0 | $c2 =~ /$clause_name_re/ and !defined($a) || $a =~ /$attr_re/ |
| 151 | 0 | 0 | 0 | $t && $t =~ s/\*\z// |
| 185 | 0 | 0 | 0 | exists $extras->{'def'} and ref $extras->{'def'} ne 'HASH' |
| line | l | !l | condition |
|---|---|---|---|
| 34 | 0 | 1 | $opts //= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 56 | 1 | 0 | 0 | $c =~ /$clause_re/ || $c =~ /$clause_attr_on_empty_clause_re/ |
| 70 | 1 | 0 | 0 | !defined($a) || $a =~ /$attr_re/ |