| blib/lib/Perl/ToPerl6/TransformerFactory.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 22 | 37 | 59.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 81 | 30 | 0 | 22 | $test_mode and &any(sub { /\b blib \b/msx; } , @INC) |
| 155 | 0 | 1256 | 0 | $preferences->{$k} and $preferences->{$k}{'after'} |
| 162 | 0 | 1256 | 0 | $preferences->{$k} and $preferences->{$k}{'before'} |
| 300 | 0 | 0 | 836 | $full_path && $full_path =~ / (?: \A | \b b ) lib \b /msx |
| 332 | 10 | 71 | 1 | $incoming_errors and @{$incoming_errors->exceptions;} |
| 344 | 73 | 10 | 38 | not $incoming_errors and $errors |
| 83 | 38 | 0 | not $incoming_errors and $errors and $errors->has_exceptions | |
| 412 | 32 | 1 | 0 | not $incoming_errors and $errors->has_exceptions |
| line | l | !l | condition |
|---|---|---|---|
| 293 | 836 | 0 | shift() || (return) |
| 298 | 836 | 0 | shift() || (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 325 | 111 | 10 | 0 | $profile_strictness ||= $Perl::ToPerl6::TransformerFactory::PROFILE_STRICTNESS_DEFAULT |
| 332 | 39 | 0 | 82 | $profile_strictness eq $Perl::ToPerl6::TransformerFactory::PROFILE_STRICTNESS_FATAL or $incoming_errors and @{$incoming_errors->exceptions;} |
| 382 | 1370 | 0 | 0 | $transformer_config ||= 'Perl::ToPerl6::TransformerConfig'->new($transformer_short_name) |