Branch Coverage

blib/lib/Geoffrey/Action/Trigger.pm
Criterion Covered Total %
branch 30 40 75.0


line true false branch
19 0 15 unless $trigger and $trigger->add
20 4 11 unless $params->{'name'}
21 2 9 unless $params->{'event_object_table'}
22 7 2 unless $params->{'event_manipulation'}
23 0 2 unless $params->{'action_timing'}
24 0 2 unless $params->{'action_orientation'}
25 0 2 unless $params->{'action_statement'}
29 0 2 if (@{$result;} > 0)
46 0 6 unless $trigger and $trigger->alter
47 1 5 unless $params->{'name'}
48 1 4 unless $params->{'event_object_table'}
49 1 3 unless $params->{'event_manipulation'}
50 1 2 unless $params->{'action_timing'}
51 1 1 unless $params->{'action_orientation'}
52 1 0 unless $params->{'action_statement'}
60 0 5 unless $trigger and $trigger->drop
61 2 3 unless $name
62 2 1 unless $table
69 0 1 unless ($trigger and $trigger->list)
78 2 0 unless $trigger->can('find_by_name_and_table')