| blib/lib/Rope.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 46 | 77 | 59.7 |
| line | l | !l | condition |
|---|---|---|---|
| 52 | 901 | 13 | defined $mod and scalar @{$mod;} |
| 68 | 455 | 2 | defined $mod and scalar @{$mod;} |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 15 | 12 | 362 | 83 | $props{'properties'}{$prop}{'value'} and ref $props{'properties'}{$prop}{'value'} eq "CODE" |
| 107 | 130 | 0 | 0 | defined $options{$_} and do { $META{$caller}{'properties'}{$prop}{$_} = $options{$_} } |
| 132 | 1 | 2 | 0 | $_[0] and $_[0] eq $caller |
| 433 | 427 | 2 | 19 | not defined $build->{'properties'}{$_}{'value'} and defined $build->{'properties'}{$_}{'builder'} |
| 439 | 115 | 2 | 0 | $self->can('INITIALISE') && $self->INITIALISE($build, \%params) |
| 446 | 115 | 2 | 0 | $self->can('INITIALISED') && $self->INITIALISED(\%params) |
| 558 | 6 | 0 | 3 | (ref $value->[-1] || '') eq "HASH" and $value->[-1]{'ROPE_scope'} eq "ARRAY" |
| line | l | !l | condition |
|---|---|---|---|
| 75 | 1 | 3 | ref $orig || '' |
| 112 | 0 | 0 | ref $META{$caller}{'properties'}{$prop}{'value'} || '' |
| 0 | 0 | ref $options{'value'} || '' | |
| 287 | 0 | 0 | ref $merge->{'properties'}{$prop}{'value'} || '' |
| 0 | 0 | $initial->{'properties'}{$prop}{'value'} || '' | |
| 329 | 0 | 0 | ref $merge->{'properties'}{$prop}{'value'} || '' |
| 0 | 0 | $initial->{'properties'}{$prop}{'value'} || '' | |
| 517 | 8 | 4 | $meta ||= {} |
| 536 | 8 | 4 | $meta ||= {} |
| 558 | 6 | 3 | ref $value->[-1] || '' |
| 595 | 3 | 0 | ref $val || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 38 | 0 | 4 | 0 | $pred->{'name'} or "$prep$prop" |
| 125 | 5 | 245 | 0 | $options{'class'} || $caller |
| 196 | 7 | 1 | 123 | not $ref or $ref ne "HASH" |
| 8 | 0 | 123 | not $ref or $ref ne "HASH" or not grep({defined $options->{$_};} "initable", "writeable", "builder", "enumerable", "configurable", "trigger", "clearer", "predicate", "delete_trigger", "value", "handles_via", "handles") | |
| 467 | 0 | 0 | 234 | $_[0]{$_[1]} or $META{$caller}{'properties'}{$_[1]} |
| 0 | 4 | 230 | $_[0]{$_[1]} or $META{$caller}{'properties'}{$_[1]} or $_[0]->CORE::can($_[1]) | |
| 483 | 24 | 8 | 0 | $meta->{'name'} || 'Rope::Anonymous' . $META{'ANONYMOUS'}++ |
| 518 | 4 | 8 | 0 | $meta->{'name'} ||= 'Rope::Anonymous' . $META{'ANONYMOUS'}++ |
| 537 | 4 | 8 | 0 | $meta->{'name'} ||= 'Rope::Anonymous' . $META{'ANONYMOUS'}++ |
| 617 | 52 | 0 | 0 | $caller or ref $self |