Branch Coverage

test_data/gen_test_data.pl
Criterion Covered Total %
branch 7 20 35.0


line true false branch
7 0 3 unless (open LOCALE, 'locale|')
11 3 21 if (/^LC_MESSAGES=\"(.*)\"$/) { }
0 21 elsif (/^LC_MESSAGES=(.*)$/) { }
19 0 3 if ($? != 0)
23 0 3 if ($messages eq 'C')
27 3 0 if ($messages eq 'POSIX')
32 0 0 unless -d 'test_data/' . $messages
33 0 0 unless -d 'test_data/' . $messages . '/LC_MESSAGES'
35 0 0 unless (-r 'test_data/' . $messages . '/LC_MESSAGES/' . $domain . '.mo')
39 0 0 if ($? != 0)