Branch Coverage

blib/lib/ZConf/DBI.pm
Criterion Covered Total %
branch 0 198 0.0


line true false branch
50 0 0 if (defined $_[1])
63 0 0 if (not defined $args{'zconf'}) { }
66 0 0 if (defined $$self{'zconf'}->error)
81 0 0 if ($$self{'zconf'}->error)
92 0 0 if (not $returned) { }
95 0 0 if ($$self{'zconf'}->error)
107 0 0 if ($$self{'zconf'}->error)
116 0 0 if ($$self{'zconf'}->error)
127 0 0 unless ($returned)
130 0 0 if ($$self{'zconf'}->error)
142 0 0 if ($$self{'zconf'}->error)
201 0 0 unless ($self->errorblank)
205 0 0 unless (defined $args{'name'})
212 0 0 unless (defined $args{'ds'})
221 0 0 if ($self->error)
225 0 0 if ($dsExists)
233 0 0 if ($args{'name'} =~ m[/])
242 0 0 if ($$self{'zconf'}->error)
253 0 0 if (defined $args{'user'})
257 0 0 if (defined $args{'pass'})
262 0 0 if (defined $args{'attr'})
275 0 0 if ($$self{'zconf'}->error)
307 0 0 unless ($self->errorblank)
312 0 0 unless (defined $dsName)
321 0 0 if ($self->error)
325 0 0 unless ($dsExists)
334 0 0 if ($self->error)
341 0 0 if ($self->error)
348 0 0 if ($self->error)
355 0 0 if ($self->error)
385 0 0 unless ($self->errorblank)
390 0 0 unless (defined $datasource)
399 0 0 if ($self->error)
407 0 0 if ($datasources[$int] eq $datasource)
428 0 0 unless ($self->errorblank)
433 0 0 unless (defined $dsName)
442 0 0 if ($self->error)
446 0 0 unless ($dsExists)
454 0 0 if ($$self{'zconf'}->error)
465 0 0 if ($$self{'zconf'}->error)
493 0 0 unless ($self->errorblank)
499 0 0 if ($$self{'zconf'}->error)
529 0 0 unless ($self->errorblank)
534 0 0 unless (defined $dsName)
543 0 0 if ($$self{'zconf'}->error)
553 0 0 unless (defined $vars{'datasources/' . $dsName . '/ds'})
583 0 0 unless ($self->errorblank)
588 0 0 unless (defined $dsName)
597 0 0 if ($$self{'zconf'}->error)
607 0 0 unless (defined $vars{'datasources/' . $dsName . '/ds'})
620 0 0 if ($keys[$int] =~ /$base/)
652 0 0 unless ($self->errorblank)
657 0 0 unless (defined $dsName)
666 0 0 if ($$self{'zconf'}->error)
676 0 0 unless (defined $vars{'datasources/' . $dsName . '/ds'})
684 0 0 unless (defined $vars{'datasources/' . $dsName . '/pass'})
711 0 0 if ($self->errorblank)
716 0 0 unless (defined $dsName)
725 0 0 if ($$self{'zconf'}->error)
735 0 0 unless (defined $vars{'datasources/' . $dsName . '/ds'})
743 0 0 unless (defined $vars{'datasources/' . $dsName . '/user'})
770 0 0 unless ($self->errorblank)
778 0 0 if ($$self{'zconf'}->error)
812 0 0 unless ($self->errorblank)
818 0 0 if ($$self{'zconf'}->error)
832 0 0 if (defined $split[1])
858 0 0 unless ($self->errorblank)
863 0 0 if ($$self{'zconf'}->error)
893 0 0 unless ($self->errorblank)
899 0 0 if ($$self{'zconf'}->error)
931 0 0 unless ($self->errorblank)
936 0 0 unless (defined $dsName)
944 0 0 unless (defined $ds)
953 0 0 if ($self->error)
957 0 0 unless ($dsExists)
967 0 0 if ($$self{'zconf'}->error)
978 0 0 if ($$self{'zconf'}->error)
1013 0 0 unless ($self->errorblank)
1018 0 0 unless (defined $dsName)
1026 0 0 unless (defined $attr)
1035 0 0 if ($self->error)
1039 0 0 unless ($dsExists)
1047 0 0 unless (defined $value)
1050 0 0 if ($$self{'zconf'}->error)
1065 0 0 if ($$self{'zconf'}->error)
1076 0 0 if ($$self{'zconf'}->error)
1108 0 0 unless ($self->errorblank)
1113 0 0 unless (defined $dsName)
1121 0 0 unless (defined $pass)
1130 0 0 if ($self->error)
1134 0 0 unless ($dsExists)
1144 0 0 if ($$self{'zconf'}->error)
1155 0 0 if ($$self{'zconf'}->error)
1187 0 0 unless ($self->errorblank)
1192 0 0 unless (defined $dsName)
1201 0 0 if ($$self{'error'})
1205 0 0 unless ($dsExists)
1215 0 0 if ($$self{'zconf'}->error)
1226 0 0 if ($$self{'zconf'}->error)