Branch Coverage

blib/lib/JIP/Object.pm
Criterion Covered Total %
branch 42 44 95.4


line true false branch
27 1 12 if &blessed($class)
30 3 9 if (exists $param{'proto'})
33 1 2 unless (&blessed($proto) || '') eq 'JIP::Object'
46 1 10 unless &blessed($self)
48 2 8 unless defined $attr and length $attr
50 8 0 if (exists $param{'get'})
53 5 3 if ($getter eq '+') { }
2 1 elsif ($getter eq '-') { }
69 8 0 if (exists $param{'set'})
72 5 3 if ($setter eq '+') { }
2 1 elsif ($setter eq '-') { }
82 2 6 if (exists $param{'default'}) { }
88 4 2 if (@JIP::Object::ARG == 1) { }
1 1 elsif (ref $default_value eq 'CODE') { }
119 1 8 unless &blessed($self)
122 2 6 unless defined $method_name and length $method_name
125 1 5 unless ref $code eq 'CODE'
136 10 35 unless exists $self->_meta->{$method_name}
160 8 7 if (&blessed($self)) { }
178 1 37 unless &blessed($self)
183 32 5 if (defined(my $code = $self->own_method($method_name))) { }
4 1 elsif (defined(my $proto = $self->proto)) { }