Branch Coverage

test_data/gen_test_data.pl
Criterion Covered Total %
branch 11 28 39.2


line true false branch
8 0 3 unless (open LOCALE, 'locale|')
12 3 42 if (/^LC_MESSAGES=\"(.*)\"$/) { }
0 42 elsif (/^LC_MESSAGES=(.*)$/) { }
0 42 elsif (/^LANGUAGE=\"(.*)\"$/) { }
3 39 elsif (/^LANGUAGE=(.*)$/) { }
23 0 3 if ($? != 0)
27 0 3 unless (defined $messages)
31 0 3 if ($messages eq 'C')
35 3 0 if ($messages eq 'POSIX')
39 0 0 if (defined $language and $language)
49 0 0 unless -d 'test_data/' . $messages
50 0 0 unless -d 'test_data/' . $messages . '/LC_MESSAGES'
52 0 0 unless (-r 'test_data/' . $messages . '/LC_MESSAGES/' . $domain . '.mo')
56 0 0 if ($? != 0)