Branch Coverage

blib/lib/savevars.pm
Criterion Covered Total %
branch 18 30 60.0


line true false branch
38 0 12 if ($s =~ /::/)
47 4 0 $ch eq '%' && $has_data_dumper ? :
4 4 $ch eq '@' && $has_data_dumper ? :
4 8 $ch eq '$' ? :
49 0 0 if (not $has_data_dumper) { }
58 4 1 if (-r $cfgfile)
68 5 7 unless (defined $cfgfile)
69 5 0 $0 =~ m(([^/\\]+)$) ? :
71 0 5 if ($cfgfile eq '' and $^O eq 'MSWin32')
81 6 0 if (open CFG, ">$cfgfile") { }
84 18 0 if ($has_data_dumper) { }
86 6 12 if ($ch eq '$') { }
95 0 0 if ($ch eq '$') { }
98 0 0 unless defined $val
119 4 1 unless $dont_write_cfgfile