| blib/lib/Perl/ToPerl6/Document.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 33 | 45 | 73.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 128 | 33 | 0 | 17 | &blessed($ref) && $ref->isa('PPI::Document') |
| 233 | 0 | 0 | 0 | &blessed($element) and $element->isa('PPI::Element') |
| 304 | 0 | 0 | 0 | $stmt_loc->[0] == $inner_loc->[0] and $stmt_loc->[1] > $inner_loc->[1] |
| 561 | 49 | 1 | 0 | defined $file_name and ref $args->{'-program-extensions'} eq 'ARRAY' |
| 576 | 48 | 0 | 1 | defined $file_name and $file_name =~ / [.] PL \z /msx |
| line | l | !l | condition |
|---|---|---|---|
| 177 | 26 | 54 | $self->{'_elements_of'}{$wanted} || '' |
| 515 | 162 | 195 | $$cache_ref{$classes->[$i]} ||= [] |
| 539 | 48 | 2 | $self->schild(0) || (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 143 | 2 | 0 | 3 | $self->SUPER::isa(@args) || ref $self && $self->{'_doc'} && $self->{'_doc'}->isa(@args) |
| 153 | 114 | 1 | 81 | ref $wanted or not $wanted |
| 115 | 1 | 80 | ref $wanted or not $wanted or not $wanted =~ / \A PPI:: /msx | |
| 187 | 17 | 1 | 10 | ref $wanted or not $wanted |
| 18 | 9 | 1 | ref $wanted or not $wanted or not $wanted =~ / \A PPI:: /msx | |
| 202 | 1 | 1 | 2 | ref $wanted or not $wanted |
| 2 | 1 | 1 | ref $wanted or not $wanted or not $wanted =~ / \A PPI:: /msx | |
| 405 | 19 | 0 | 0 | ref $transformer || $transformer |