Branch Coverage

blib/lib/DBIx/CopyRecord.pm
Criterion Covered Total %
branch 1 38 2.6


line true false branch
25 0 1 unless (defined $args[0])
87 0 0 unless (defined $args)
94 0 0 if ($$self{'args'}{'parent'})
100 0 0 if ($$self{'args'}{'child'})
104 0 0 unless (defined $$child{'where'})
109 0 0 unless (defined $$child{'foreign_key_value'})
155 0 0 if ($$args{'override'})
161 0 0 if ($$override{$_} ne 'NULL') { }
171 0 0 if ($$args{'foreign_key_value'})
182 0 0 if ($field_name ne $$args{'primary_key'} or $$args{'primary_key_value'} ne 'NULL')
183 0 0 if ($$cnames{$field_name}{'TYPE_NAME'} =~ /[CHAR|DATE|TIME]/)
203 0 0 if (lc $$self{'_dbh'}{'Driver'}{'Name'} eq 'mysql')
219 0 0 if ($$self{'args'}{'parent'})
223 0 0 unless ($test_value)
229 0 0 if ($$self{'args'}{'child'})
234 0 0 unless ($test_value)
245 0 0 if (not ref $args) { }
0 0 elsif (ref $args eq 'ARRAY') { }
0 0 elsif (ref $args eq 'HASH') { }