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 12039 900 105 $existing_method and $existing_method->isa($self->_meta_method_class)
37 1 0 29250 $args{'body'} and "CODE" eq &reftype($args{'body'})
48 2 1 179168 defined $method_name and length $method_name
54 8839 1 170326 &blessed($method) and $method->isa("Class::MOP::Method")
75 0 129397 49769 defined $current_name and not $current_name =~ /^__ANON__/
96 3 1 25678 defined $method_name and length $method_name
108 2 1 269514 defined $method_name and length $method_name
114 29249 1 52103 &blessed($method) and $method->isa("Class::MOP::Method")
131 188599 23801 29235 $code and $self->_code_is_mine($code)
139 2 1 81 defined $method_name and length $method_name
146 1 0 80 &blessed($removed_method) and $removed_method->isa("Class::MOP::Method")
194 155 0 8 $debugger_enabled and $debug_method_info

or 2 conditions

line l !l condition
217 4951 2959 $self->{'_package_cache_flag_full'} || -1

or 3 conditions

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