Condition Coverage

blib/lib/Rope.pm
Criterion Covered Total %
condition 51 81 62.9


and 2 conditions

line l !l condition
52 48619 65 defined $mod and scalar @{$mod;}
68 24310 32 defined $mod and scalar @{$mod;}

and 3 conditions

line !l l&&!r l&&r condition
15 2167 15700 6475 $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 3 0 $_[0] and $_[0] eq $caller
433 24287 3 43 not defined $build->{'properties'}{$_}{'value'} and defined $build->{'properties'}{$_}{'builder'}
439 6382 2 0 $self->can('INITIALISE') && $self->INITIALISE($build, \%params)
446 6380 2 0 $self->can('INITIALISED') && $self->INITIALISED(\%params)
558 7 0 4 (ref $value->[-1] || '') eq "HASH" and $value->[-1]{'ROPE_scope'} eq "ARRAY"

or 2 conditions

line l !l condition
75 41 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'} || ''
432 28674 1 $build->{'properties'}{$a}{'index'} || 0
28675 0 $build->{'properties'}{$b}{'index'} || 0
517 8 8 $meta ||= {}
536 8 10 $meta ||= {}
558 7 4 ref $value->[-1] || ''
595 5 0 ref $val || ''

or 3 conditions

line l !l&&r !l&&!r condition
38 0 4 0 $pred->{'name'} or "$prep$prop"
125 5 326 0 $options{'class'} || $caller
196 7 1 143 not $ref or $ref ne "HASH"
8 0 143 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 2 0 12766 $_[0]{$_[1]} or $META{$caller}{'properties'}{$_[1]}
2 4 12762 $_[0]{$_[1]} or $META{$caller}{'properties'}{$_[1]} or $_[0]->CORE::can($_[1])
483 34 8 0 $meta->{'name'} || 'Rope::Anonymous' . $META{'ANONYMOUS'}++
518 4 12 0 $meta->{'name'} ||= 'Rope::Anonymous' . $META{'ANONYMOUS'}++
537 4 14 0 $meta->{'name'} ||= 'Rope::Anonymous' . $META{'ANONYMOUS'}++
617 55 0 0 $caller or ref $self