Branch Coverage

lib/DBIx/DR/PlPlaceHolders.pm
Criterion Covered Total %
branch 35 42 83.3


line true false branch
21 2 26 if (defined $dir) { }
0 26 elsif (@_ >= 2) { }
22 1 1 unless -d $dir
64 5 1 if ('ARRAY' eq ref $args[0])
97 1 0 unless defined $sep
101 1 0 $skip ? :
103 0 1 unless @line
120 36 14 if (@_ % 2) { }
125 1 13 unless $opts{-'f'}
128 11 2 if $self->sql_dir and not $file =~ m[^/]
131 7 6 if $self->file_suffix and not $file =~ /$resuffix$/
135 1 12 unless @fstat
141 1 47 if utf8::is_utf8($namespace)
161 23 31 unless /^\w/
166 36 12 if ($sql) { }
186 0 17 unless exists $self->helpers->{$name}
193 1 5 unless %opts
195 0 15 unless 'CODE' eq ref $s and $n =~ /^\w/
205 1 1 if $caller[3] =~ /sql_transform$/
207 1 0 if $caller[3] =~ /set_helper$/
227 19 24 if wantarray