Branch Coverage

blib/lib/oEdtk/trackEdtk.pm
Criterion Covered Total %
branch 1 62 1.6


line true false branch
78 0 0 unless (-e $tmpIniEdtk)
87 0 0 if ($tmpIniEdtk eq $iniEdtk)
103 0 0 if (-e $confIni) { }
116 0 0 if (exists $hConfIni{$section})
122 0 0 if (exists $hConfIni{$hostname}) { }
187 0 0 if ($ENV{'EDTK_TRACK_MODE'} =~ /FDB/i) { }
0 0 elsif ($ENV{'EDTK_TRACK_MODE'} =~ /LOG/i) { }
0 0 elsif ($ENV{'EDTK_TRACK_MODE'} =~ /DB/i) { }
206 0 0 unless ($h_subInsert{$ENV{'EDTK_TRACK_MODE'}} or $h_subCreate{$ENV{'EDTK_TRACK_MODE'}})
219 0 0 unless $DBH = 'DBI'->connect($ENV{'EDTK_DBI_DSN'}, $ENV{'EDTK_DBI_DSN_USER'}, $ENV{'EDTK_DBI_DSN_PASS'})
253 0 0 $1 ? :
293 0 0 unless &{$h_subInsert{$ENV{'EDTK_TRACK_MODE'}};}
304 0 0 if ($value)
318 0 0 if ($value)
332 0 0 if ($value =~ /(\w{1,10})/) { }
348 0 0 if (not defined $ENV{'EDTK_MAX_USER_KEY'}) { }
0 0 elsif ($indice gt $ENV{'EDTK_MAX_USER_KEY'} - 1) { }
0 0 elsif (length $value > 5) { }
360 0 0 if ($value)
386 0 0 if (@DB_USER_COL)
397 0 0 if ($DBH->err)
419 0 0 unless $DBH = 'DBI'->connect($ENV{'EDTK_DBI_DSN'}, $ENV{'EDTK_DBI_DSN_USER'}, $ENV{'EDTK_DBI_DSN_PASS'}, $dbargs)
429 0 0 if ($DBI::errstr)
430 0 0 if ($DBI::errstr =~ /no such table/)
465 0 0 unless $DBH = 'DBI'->connect($ENV{'EDTK_DBI_DSN'}, $ENV{'EDTK_DBI_DSN_USER'}, $ENV{'EDTK_DBI_DSN_PASS'}, $dbargs)
492 0 0 if ($DBI::errstr)
531 0 0 unless $sth->execute
539 0 0 if ($DBI::errstr)
557 0 0 if defined $$rTab[$i][$j]
567 0 0 if $ENV{'EDTK_DBI_AutoCommit'} eq 0
573 0 1 if (exists $h_subClose{'EDTK_TRACK_MODE'})