Branch Coverage

File:blib/lib/Genealogy/Military/Branch.pm
Coverage:100.0%

line%coveragebranch
291100TFunless defined $text
298100TFif ($text =~ /$d->{'pattern'}/u)
305100TFunless (defined $branch)
308100TFif $self->{'warn_on_error'}
346100TFif (exists $TRANSLATIONS{$lang} and exists $TRANSLATIONS{$lang}{$key})
378100TFif ($tag =~ /^([a-z]{2})/iu)
384100TFif ($ENV{'LANGUAGE'} and $ENV{'LANGUAGE'} =~ /^([a-z]{2})/iu)
389100TFunless defined $val
391100TFif ($val =~ /^([a-z]{2})/iu)
397100TFif defined $ENV{'LANG'} and $ENV{'LANG'} =~ /^C(\.|$)/u