Branch Coverage

blib/lib/DBIx/Class/Helper/Row/OnColumnChange.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
20 0 57 unless @_ == 3
28 0 57 unless $args->{'method'}
32 56 1 unless $self->_before_change
37 0 1 unless @_ == 3
45 0 1 unless $args->{'method'}
49 1 0 unless $self->_around_change
54 1 3 unless @_ == 3
62 0 3 unless $args->{'method'}
66 2 1 unless $self->_after_change
73 5 2 if $args
75 0 7 unless my(%dirty) = $self->get_dirty_columns
78 2 5 unless $self->_before_change
79 3 4 unless $self->_around_change
80 1 6 unless $self->_after_change
91 1 6 $self->on_column_change_allow_override_args ? :
102 11 9 if defined $dirty{$_->{'column'}}
106 3 4 if $txn_wrap
124 1 4 if $txn_wrap