| web/cgi-bin/yatt.lib/YATT/LRXML/NodeCursor.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 25 | 45 | 55.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 54 | 0 | 1177 | 2130 | defined $path->{'cf_index'} and $path->{'cf_index'} <= $#{$$path{'cf_array'};} |
| 59 | 451 | 384 | 604 | ref $val && node_type($val) == 7 |
| 169 | 0 | 0 | 0 | $orig->is_attribute and @name = $orig->node_path |
| 0 | 0 | 0 | $orig->is_attribute and @name = $orig->node_path and $$hash{$name[0]} | |
| 212 | 7 | 2 | 100 | $node->is_attribute and defined($name = $node->node_name) |
| 9 | 100 | 0 | $node->is_attribute and defined($name = $node->node_name) and exists $except->{$name} | |
| 255 | 0 | 0 | 0 | defined $obj and ref $obj eq 'ARRAY' |
| 493 | 6 | 103 | 0 | $1 && $2 |
| line | l | !l | condition |
|---|---|---|---|
| 33 | 0 | 1519 | $index0 || 0 |
| 197 | 0 | 10 | $type || 'unknown' |
| 412 | 80 | 324 | $offset || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 57 | 1111 | 328 | 691 | not defined $path->{'cur_postype'} or $path->{'cur_postype'} == 1 |
| 87 | 0 | 0 | 6 | shift() || $self->{'cf_path'} |
| 97 | 1275 | 0 | 11 | $path || ($self->{'cf_path'} ? $self->{'cf_path'}->clone : undef) |
| 115 | 252 | 0 | 3 | $path || $self->{'cf_path'} |
| 236 | 0 | 0 | 591 | not defined($obj = $path->{'cf_array'}[$path->{'cf_index'}]) or ref $obj ne 'ARRAY' |