| blib/lib/Text/Parser/RuleSpec.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 27 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 90 | 1 | 1 | 28 | defined $cls and $class->_class_has_rules($cls) |
| 172 | 3 | 5 | 1 | exists $opt{'before'} and exists $opt{'after'} |
| 429 | 2 | 1 | 4 | exists $opt{'is_wrapped'} and exists $opt{'unwrap_routine'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 143 | 1 | 1 | 35 | not defined $name or '' ne ref $name |
| 2 | 1 | 34 | not defined $name or '' ne ref $name or exists $rule_options{$name} | |
| 161 | 2 | 1 | 34 | not @_ or scalar(@_) % 2 |
| 182 | 1 | 1 | 3 | $cls eq $meta->name or not $is_super_rule |
| 305 | 1 | 1 | 4 | not defined $name or '' ne ref $name |
| 2 | 1 | 3 | not defined $name or '' ne ref $name or exists $clone_options{$name} |