Branch Coverage

blib/lib/App/JESP/Driver.pm
Criterion Covered Total %
branch 1 26 3.8


line true false branch
32 5 0 if (my $sql = $patch->sql)
36 0 0 if (my $script_file = $patch->script_file)
85 0 0 defined $attr_hash ? :
94 0 0 unless $ENV{'AUTOMATED_TESTING'} or $ENV{'HARNESS_ACTIVE'}
97 0 0 if ($properties->{$key})
103 0 0 unless IPC::Run::run(\@cmd, \$input, $on_stdout, $on_stderr)
125 0 0 defined $ret ? :
133 0 0 unless (defined $dsn)
137 0 0 if ($dsn =~ /([^:;]*\[.*]|[^:;]*)[:;](.*)/) { }
145 0 0 if ($val =~ /([^=]*)=(.*)/) { }
148 0 0 if ($var eq 'hostname' or $var eq 'host') { }
0 0 elsif ($var eq 'db' or $var eq 'dbname') { }
157 0 0 unless (defined $hash->{$var})