Branch Coverage

blib/lib/DBIx/Tree/NestedSet.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
27 0 0 unless $params{'dbh'}->isa('DBI::db')
31 0 0 unless $$self{$_} =~ /^[_A-Za-z\d]+$/
38 0 0 unless eval "require $driver;"
52 0 0 unless defined $params{'No_RaiseError'}
53 0 0 if $params{'trace'}
151 0 0 if (defined $params{'id'} and $id_name ne 'id')
157 0 0 if (not $params{$id_name} and scalar $dbh->selectrow_array("select count(*) from $table"))
179 0 0 if ($$self{'no_id_creation'})
187 0 0 if ($$self{'no_id_creation'}) { }
207 0 0 if (defined $params{'id'} and $id_name ne 'id')
213 0 0 if (not $params{$id_name} and scalar $dbh->selectrow_array("select count(*) from $table"))
244 0 0 if ($$self{'no_id_creation'})
252 0 0 if ($$self{'no_id_creation'}) { }
280 0 0 if defined $$self{'no_alter_table'}
296 0 0 if $_ ne '_ignore_me_sdfas'
300 0 0 unless defined $columns_that_we_have{$_}
304 0 0 unless $_ =~ /^[_A-Za-z\d]+$/
322 0 0 $no_left_or_right ? :
325 0 0 unless (defined $ignore{$column})
344 0 0 if (defined $params{'id'} and $id_name ne 'id')
378 0 0 scalar @$params - 2 > 0 ? :
390 0 0 scalar @$params - 2 > 0 ? :
406 0 0 if (defined $params{'id'} and $id_name ne 'id')
412 0 0 @$ids > 1 ? :
425 0 0 if (defined $params{'id'} and $id_name ne 'id')
454 0 0 if @$tree
468 0 0 if (defined $params{'id'} and $id_name ne 'id')
474 0 0 if (not $params{$id_name}) { }
480 0 0 if ($params{'not_self'}) { }
572 0 0 if (defined $params{'id'} and $id_name ne 'id')
578 0 0 if (defined $params{$id_name})
583 0 0 if ($params{'depth'})
596 0 0 if @$tree
612 0 0 unless $first_id and $second_id
614 0 0 if $first_id eq $second_id
621 0 0 if ($$first_id_info{$left} < $$second_id_info{$left}) { }
682 0 0 $$_{'level'} > 1 ? :