Condition Coverage

blib/lib/Test/Moose/More.pm
Criterion Covered Total %
condition 34 56 60.7


and 3 conditions

line !l l&&!r l&&r condition
502 34 2 0 exists $args{'immutable'} and $args{'immutable'}
504 34 0 2 exists $args{'immutable'} and not $args{'immutable'}
513 34 2 0 $args{'class_metaclasses'} and $args{'metaclasses'}
551 7 2 0 $args{'role_metaclasses'} and $args{'metaclasses'}
688 5 0 0 $is eq 'rw' and not exists $opts{'accessor'}
689 0 0 5 $is eq 'ro' and not exists $opts{'reader'}

or 2 conditions

line l !l condition
129 80 1 $thing_meta->can('does_role') || sub { 0; }
147 65 1 $thing_meta->can('does_role') || sub { 0; }
328 9 0 $meta->name || ''
464 8 45 $args{'attributes'} || []

or 3 conditions

line l !l&&r !l&&!r condition
94 234 140 6 $thing_meta ||= find_meta($thing)
122 8 73 0 $message ||= _thing_name($thing, $thing_meta) . ' does %s'
145 8 58 0 $message ||= _thing_name($thing, $thing_meta) . ' does not do %s'
173 5 66 0 $message ||= _thing_name($thing) . " has an attribute named $attr_name"
277 0 2 0 $message ||= _thing_name($thing, $meta) . ' is immutable'
287 0 4 0 $message ||= _thing_name($thing, $meta) . ' is not immutable'
328 31 8 1 $is_moosey ||= ($meta->name || '') =~ /^Moose::Meta::/
343 0 5 0 $message ||= _thing_name($thing, $thing_meta) . ' is anonymous'
352 0 7 0 $message ||= _thing_name($thing, $thing_meta) . ' is not anonymous'
695 25 0 0 shift() || $_