Condition Coverage

blib/lib/Class/MOP/Mixin/HasMethods.pm
Criterion Covered Total %
condition 36 41 87.8


and 3 conditions

line !l l&&!r l&&r condition
22 12332 924 107 $existing_method and $existing_method->isa($self->_meta_method_class)
37 1 0 29958 $args{'body'} and "CODE" eq &reftype($args{'body'})
48 2 1 183629 defined $method_name and length $method_name
54 9093 1 174533 &blessed($method) and $method->isa("Class::MOP::Method")
75 0 132892 50735 defined $current_name and not $current_name =~ /^__ANON__/
96 3 1 26225 defined $method_name and length $method_name
108 2 1 275518 defined $method_name and length $method_name
114 29957 1 53152 &blessed($method) and $method->isa("Class::MOP::Method")
131 192973 24190 29944 $code and $self->_code_is_mine($code)
139 2 1 83 defined $method_name and length $method_name
146 1 0 82 &blessed($removed_method) and $removed_method->isa("Class::MOP::Method")
194 156 0 8 $debugger_enabled and $debug_method_info

or 2 conditions

line l !l condition
217 5066 3006 $self->{'_package_cache_flag_full'} || -1

or 3 conditions

line l !l&&r !l&&!r condition
89 29944 0 24190 $code_package && $code_package eq $self->name || $code_package eq 'constant' && $code_name eq '__ANON__'