Condition Coverage

blib/lib/Locale/Babelfish.pm
Criterion Covered Total %
condition 16 36 44.4


and 3 conditions

line !l l&&!r l&&r condition
96 0 0 0 defined $mtime && defined $new_mtime
259 0 6 15 ref $phrase eq '' && $phrase =~ / (?: \(\( | \#\{ | \\\\ )/x
290 0 0 1 $alt_locale and $self->dictionaries->{$alt_locale}
314 0 1 0 scalar @fallback_locales == 1 and ref $fallback_locales[0] eq 'ARRAY'

or 2 conditions

line l !l condition
52 0 1 $cfg->{'suffix'} // 'yaml'
0 1 $cfg->{'default_locale'} // 'en_US'
0 1 $cfg->{'watch'} || 0
1 0 $cfg // {}
127 1 2 $self->{'fallback_cache'}{$locale} //= {}
133 2 1 $self->{'fallbacks'}{$locale} // []
188 0 0 $self->{'fallback_cache'}{$locale} //= {}
192 0 0 $self->{'fallbacks'}{$locale} // []
244 6 2 $self->dictionaries->{$lang} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
96 0 0 0 not defined $mtime && defined $new_mtime or $new_mtime != $mtime
174 20 0 2 $self->t_or_undef(@_) || "[$_[0]]"