Branch Coverage

blib/lib/Zonemaster/Backend/Config.pm
Criterion Covered Total %
branch 2 22 9.0


line true false branch
25 0 2 unless $cfg
35 0 0 if (lc $cfg->val('DB', 'engine') eq 'sqlite') { }
0 0 elsif (lc $cfg->val('DB', 'engine') eq 'postgresql') { }
0 0 elsif (lc $cfg->val('DB', 'engine') eq 'mysql') { }
73 2 0 if (lc $db_engine eq 'sqlite') { }
0 0 elsif (lc $db_engine eq 'postgresql') { }
0 0 elsif (lc $db_engine eq 'mysql') { }
114 0 0 unless $nb
123 0 0 unless $nb
145 0 0 $val ? :
152 0 0 unless $value