Branch Coverage

blib/lib/Geo/MapInfo/MIF.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
30 1 0 if ($suffix =~ /mif/i) { }
32 1 0 if (-e $directories . $filename . '.mid') { }
0 0 elsif (-e $directories . $filename . '.MID') { }
43 0 0 if (-e $directories . $filename . '.mif') { }
0 0 elsif (-e $directories . $filename . '.MIF') { }
77 1 14 if ($mif_lines[$i] =~ /(version)(\s+)(\d+)/gi) { }
1 13 elsif ($mif_lines[$i] =~ /(charset)(\s+)(.+)/gi) { }
1 12 elsif ($mif_lines[$i] =~ /(delimiter)(\s+)(.+)/gi) { }
0 12 elsif ($mif_lines[$i] =~ /(unique)(\s+)(.+)/gi) { }
1 11 elsif ($mif_lines[$i] =~ /(coordsys)(\s+)(.+)/gi) { }
0 11 elsif ($mif_lines[$i] =~ /(transform)(\s+)(.+)/gi) { }
1 10 elsif ($mif_lines[$i] =~ /(columns)(\s+)(\d+)/gi) { }
116 1 19 if ($mif_lines[$i] =~ /\s*region\s*(\d+)/i)