Condition Coverage

blib/lib/Perl/ToPerl6/TransformerFactory.pm
Criterion Covered Total %
condition 17 37 45.9


and 3 conditions

line !l l&&!r l&&r condition
79 3 0 1 $test_mode and &any(sub { /\b blib \b/msx; } , @INC)
153 0 37 0 $preferences->{$k} and $preferences->{$k}{'after'}
160 0 37 0 $preferences->{$k} and $preferences->{$k}{'before'}
298 0 0 37 $full_path && $full_path =~ / (?: \A | \b b ) lib \b /msx
330 1 3 0 $incoming_errors and @{$incoming_errors->exceptions;}
342 3 1 0 not $incoming_errors and $errors
4 0 0 not $incoming_errors and $errors and $errors->has_exceptions
410 1 0 0 not $incoming_errors and $errors->has_exceptions

or 2 conditions

line l !l condition
291 37 0 shift() || (return)
296 37 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
323 3 1 0 $profile_strictness ||= $Perl::ToPerl6::TransformerFactory::PROFILE_STRICTNESS_DEFAULT
330 0 0 4 $profile_strictness eq $Perl::ToPerl6::TransformerFactory::PROFILE_STRICTNESS_FATAL or $incoming_errors and @{$incoming_errors->exceptions;}
380 37 0 0 $transformer_config ||= 'Perl::ToPerl6::TransformerConfig'->new($transformer_short_name)