Branch Coverage

blib/lib/decorators/providers/accessors.pm
Criterion Covered Total %
branch 14 50 28.0


line true false branch
21 7 2 if ($args[0]) { }
22 1 6 if ($args[0] eq '_') { }
30 0 2 if ($method_name =~ /^get_(.*)$/) { }
38 0 9 unless $meta->has_slot($slot_name) or $meta->has_slot_alias($slot_name)
43 0 12 if scalar @_ != 1
54 1 1 if ($args[0]) { }
55 0 1 if ($args[0] eq '_') { }
66 0 2 if $meta->name->isa('UNIVERSAL::Object::Immutable')
69 0 2 unless $meta->has_slot($slot_name) or $meta->has_slot_alias($slot_name)
74 1 3 if scalar @_ > 1
85 0 0 if ($args[0]) { }
86 0 0 if ($args[0] eq '_') { }
94 0 0 if ($method_name =~ /^set_(.*)$/) { }
102 0 0 if $meta->name->isa('UNIVERSAL::Object::Immutable')
105 0 0 unless $meta->has_slot($slot_name) or $meta->has_slot_alias($slot_name)
110 0 0 if scalar @_ < 1
121 0 0 if ($args[0]) { }
122 0 0 if ($args[0] eq '_') { }
130 0 0 if ($method_name =~ /^has_(.*)$/) { }
138 0 0 unless $meta->has_slot($slot_name) or $meta->has_slot_alias($slot_name)
151 0 0 if ($args[0]) { }
152 0 0 if ($args[0] eq '_') { }
160 0 0 if ($method_name =~ /^clear_(.*)$/) { }
168 0 0 if $meta->name->isa('UNIVERSAL::Object::Immutable')
171 0 0 unless $meta->has_slot($slot_name) or $meta->has_slot_alias($slot_name)