Branch Coverage

blib/lib/MetaTrans.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
224 0 0 unless exists ${$$self{'state'};}{$trans}
246 0 0 unless $self->is_enabled_translator($trans)
249 0 0 unless $codes_hash{$code}
277 0 0 unless $self->is_enabled_translator($trans)
281 0 0 unless $codes_hash{$code}
306 0 0 unless $self->is_enabled_translator($trans)
307 0 0 if $trans->is_supported_dir($src_lang_code, $dest_lang_code)
359 0 0 if (@translators == 0)
375 0 0 if ($options{'tk_safe'}) { }
383 0 0 unless ($pid)
396 0 0 unless (defined $pid)
407 0 0 if ($pid) { }
459 0 0 if $$self{'running'} == 0
472 0 0 if ($translation =~ /^(ok|error|timeout)$/)
483 0 0 if $options{'return_translators'}
488 0 0 if $$self{'running'} == 0
489 0 0 unless $translation eq ''
530 0 0 if $$self{'running'} == 0
534 0 0 if @handles = 0
621 0 0 unless &_translation_order_index($expr, $b) <=> &_translation_order_index($expr, $a)
636 0 0 if (@same == 0 or $trans and &_eq_stripped($trans, $last_same))
640 0 0 unless @trans_sorted == 0
648 0 0 if length $_ > length $longest
656 0 0 unless $trans
679 0 0 if (@translations and not $translations[0] =~ /=/)
702 0 0 if is_match_words($expr, $trans_left, 1)
706 0 0 if is_match_words($expr, $trans_left, 0)
720 0 0 if is_match_at_start($expr, $trans_left, 0)
734 0 0 unless &Encode::is_utf8($trans1)
736 0 0 unless &Encode::is_utf8($trans2)
768 0 0 if $trans eq $translators[$i]
789 0 0 if ($at_bounds) { }
791 0 0 if $found_stripped =~ /\b$word\b/
796 0 0 if $found_stripped =~ /$word/