| blib/lib/Trigger.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 18 | 72.2 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 1 | 1 | if (my $inline_states = delete $$args{'inline_states'}) |
| 30 | 2 | 0 | if defined $$args{'heap'} |
| 36 | 0 | 2 | if $self->_trigger_and_action % 2 |
| 43 | 2 | 0 | if defined $$args{'init'} and ref $$args{'init'} |
| 52 | 3 | 9 | if (my(@trigger_re) = $self->_trigger->[$_]($self, @process_re)) |
| 53 | 2 | 1 | if (ref $self->_action->[$_] eq 'CODE') { } |
| 1 | 0 | elsif (ref $self->_action->[$_] eq 'ARRAY') { } | |
| 64 | 3 | 1 | @action_re ? : |
| 69 | 2 | 0 | if $self->_end |