Condition Coverage

lib/Petal/TranslationService/Gettext.pm
Criterion Covered Total %
condition 6 13 46.1


or 2 conditions

line l !l condition
40 3 0 $Petal::I18N::Domain || 'default'
41 0 3 $self->{'mo_file_tranlation_services'} ||= {}
50 3 0 $self->target_lang || die('target_lang() returned undef')
51 3 0 $Petal::I18N::Domain || 'default'
70 4 0 $Petal::I18N::Domain || 'default'

or 3 conditions

line l !l&&r !l&&!r condition
42 0 3 0 $self->{'mo_file_tranlation_services'}{$domain} ||= $self->_mo_file_translation_service