Condition Coverage

blib/lib/Rose/Class/MakeMethods/Set.pm
Criterion Covered Total %
condition 69 131 52.6


and 3 conditions

line !l l&&!r l&&r condition
61 4 0 2 defined $add_implies and not ref $add_implies
64 6 0 0 defined $delete_implies and not ref $delete_implies
218 0 10 8 $_[1] and exists $$hash{$_[1]}
291 2 0 2 defined $add_implies and not ref $add_implies
294 2 0 2 defined $delete_implies and not ref $delete_implies
297 2 0 2 defined $inherit_implies and not ref $inherit_implies
391 8 58 158 exists $Inherited_Set{$name}{$class}{'cache'}{$_[0]} && $Inherited_Set{$name}{$class}{'cache'}{$_[0]} != 3
397 8 0 72 exists $$cache{$_[0]} && $$cache{$_[0]} != 3
432 64 62 96 $test_class->isa($class) and $test_class ne $class
470 22 0 44 exists $Inherited_Set{$name}{$class}{'cache'}{$attr} and $Inherited_Set{$name}{$class}{'cache'}{$attr} != 3
488 62 6 60 $test_class->isa($class) and exists $Inherited_Set{$name}{$test_class}{'cache'}{$attr}
68 20 40 $test_class->isa($class) and exists $Inherited_Set{$name}{$test_class}{'cache'}{$attr} and $Inherited_Set{$name}{$test_class}{'cache'}{$attr} == 2
515 2 0 8 exists $Inherited_Set{$name}{$class}{'cache'}{$attr} and $Inherited_Set{$name}{$class}{'cache'}{$attr} == 3

or 2 conditions

line l !l condition
57 0 6 $$args{'interface'} || 'all'
107 59 8 $Inheritable_Set{$name}{$class} ||= {}
285 0 4 $$args{'interface'} || 'all'
307 8 0 $Inherited_Set{$name}{$class}{'cache'} ||= {}
104 0 $Inherited_Set{$name}{$class}{'cache'} ||= {}
349 0 0 $Inherited_Set{$name}{$class}{'cache'} ||= {}
82 0 $Inherited_Set{$name}{$class}{'cache'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
45 0 6 0 $$args{'plural_name'} || $name . 's'
47 1 5 0 $$args{'list_method'} || $plural_name
48 0 6 0 $$args{'hash_method'} || $plural_name . '_hash'
49 2 4 0 $$args{'test_method'} || $$args{'test_method'} || 'is_' . $name
50 2 4 0 $$args{'add_method'} || 'add_' . $name
51 1 5 0 $$args{'adds_method'} || $add_method . 's'
52 2 4 0 $$args{'delete_method'} || 'delete_' . $name
53 2 4 0 $$args{'deletes_method'} || 'delete_' . $plural_name
54 2 4 0 $$args{'clear_method'} || 'clear_' . $plural_name
55 0 6 0 $$args{'value_method'} || $name . '_value'
80 0 0 67 ref $_[0] || $_[0]
215 0 0 18 ref $_[0] || $_[0]
271 0 4 0 $$args{'plural_name'} || $name . 's'
273 0 4 0 $$args{'list_method'} || $plural_name
274 0 4 0 $$args{'cache_method'} || $plural_name . '_cache'
275 0 4 0 $$args{'hash_method'} || $plural_name . '_hash'
276 4 0 0 $$args{'test_method'} || $$args{'test_method'} || 'is_' . $name
277 0 4 0 $$args{'add_method'} || 'add_' . $name
278 0 4 0 $$args{'adds_method'} || $add_method . 's'
279 0 4 0 $$args{'delete_method'} || 'delete_' . $name
280 0 4 0 $$args{'deletes_method'} || 'delete_' . $plural_name
281 0 4 0 $$args{'clear_method'} || 'clear_' . $plural_name
282 0 4 0 $$args{'inherit_method'} || 'inherit_' . $name
283 0 4 0 $$args{'inherits_method'} || $inherit_method . 's'
302 0 0 200 ref $_[0] || $_[0]
355 0 0 8 ref $_[0] || $_[0]