Condition Coverage

blib/lib/Mouse/Meta/Attribute.pm
Criterion Covered Total %
condition 15 21 71.4


and 3 conditions

line !l l&&!r l&&r condition
65 583 1 8 @bad and $class ne 'Mouse::Meta::Attribute'
170 156 3 4 exists $args->{$illegal} and exists $self->{$illegal}

or 3 conditions

line l !l&&r !l&&!r condition
98 1 11 0 $self->{'_mouse_cache_read_method_ref'} ||= $self->_get_accessor_method_ref('get_read_method', '_generate_reader')
104 2 4 0 $self->{'_mouse_cache_write_method_ref'} ||= $self->_get_accessor_method_ref('get_write_method', '_generate_writer')
203 17 0 0 $self->associated_class || $self->throw_error('No asocciated class for ' . $self->name)
228 5 1 0 $self->{'_mouse_cache_predicate_ref'} ||= $self->_get_accessor_method_ref('predicate', '_generate_predicate')
236 1 1 0 $self->{'_mouse_cache_crealer_ref'} ||= $self->_get_accessor_method_ref('clearer', '_generate_clearer')