Branch Coverage

blib/lib/Class/DBI/Audit.pm
Criterion Covered Total %
branch 25 40 62.5


line true false branch
192 0 12 if $$dbh{'AutoCommit'}
210 0 22 unless my $sth = $dbh->prepare($sql)
217 1 23 if defined $x and not defined $y
218 0 23 if defined $y and not defined $x
219 2 0 unless defined $x or defined $y
220 15 6 if $x eq $y
221 0 2 if $x =~ /^-?(?:\d+(?:\.\d*)?|\.\d+)$/ and $y =~ /^-?(?:\d+(?:\.\d*)?|\.\d+)$/ and $x == $y
224 0 6 if $x =~ /^\s*$/ and $y =~ /^\s*$/
231 0 36 unless defined(my $var = $$s{'name'})
232 0 36 unless defined(my $key = $$s{'key'})
244 0 12 unless defined(my $var = $$s{'name'})
255 0 0 unless my $name = $$s{'name'}
270 0 60 unless ref $how eq 'ARRAY'
271 12 0 $$how[0] eq 'from_sub' ? :
0 12 $$how[0] eq 'from_method' ? :
12 12 $$how[0] eq 'from_scalar' ? :
36 24 $$how[0] eq 'from_hash' ? :
278 0 12 unless defined($h{'parent_id'} = $obj->id)
312 1 2 unless defined $val
361 17 7 unless _values_differ($new_val, $old_val)