Condition Coverage

blib/lib/Locale/Maketext/From/Strings.pm
Criterion Covered Total %
condition 14 25 56.0


and 3 conditions

line !l l&&!r l&&r condition
330 4 0 0 @_ and $_[0] eq 'generate'

or 2 conditions

line l !l condition
112 0 0 (shift())->{'encoding'} ||= 'UTF-8'
136 2 0 (shift())->{'out_dir'} ||= 'lib'
144 3 1 (shift())->{'path'} ||= 'i18n'
294 0 4 $self->{'encoding'} || 'UTF-8'
297 2 2 $data ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
123 11 2 0 $self->{'namespace'} ||= do { my $caller = (caller 0)[0]; $caller = caller 1 if $caller->isa('Locale::Maketext::From::Strings'); $caller .= '::I18N' }
148 1 3 0 $self->{'_namespace_dir'} ||= do { my $dir = $self->namespace; $dir =~ s[::][/]g; $dir }
168 0 4 0 ref $class || $class
308 8 12 0 $1 || $pos