Branch Coverage

blib/lib/DBIx/SQLEngine/Utility/CloneWithParams.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
156 1 19 if (scalar @DBIx::SQLEngine::Utility::CloneWithParams::ParametersUsed < scalar @DBIx::SQLEngine::Utility::CloneWithParams::Parameters)
166 1 23 if ($placeholder > scalar @DBIx::SQLEngine::Utility::CloneWithParams::Parameters)
178 1 58 if exists $DBIx::SQLEngine::Utility::CloneWithParams::CopiedItems{$source}
180 20 38 if (my $placeholder = $num_refs{$source})
185 22 16 unless ($ref_type)
191 1 15 if ("$source" =~ /^\Q$ref_type\E\=([A-Z]+)\(0x[0-9a-f]+\)$/)
197 2 14 if ($ref_type eq 'SCALAR') { }
1 13 elsif ($ref_type eq 'REF') { }
6 7 elsif ($ref_type eq 'HASH') { }
6 1 elsif ($ref_type eq 'ARRAY') { }
213 1 15 if $class_name
230 0 0 unless $safe_compartment