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
525 34 2 0 exists $args{'immutable'} and $args{'immutable'}
527 34 0 2 exists $args{'immutable'} and not $args{'immutable'}
536 34 2 0 $args{'class_metaclasses'} and $args{'metaclasses'}
574 7 2 0 $args{'role_metaclasses'} and $args{'metaclasses'}
710 5 0 0 $is eq 'rw' and not exists $opts{'accessor'}
711 0 0 5 $is eq 'ro' and not exists $opts{'reader'}

or 2 conditions

line l !l condition
130 80 1 $thing_meta->can('does_role') || sub { 0; }
148 65 1 $thing_meta->can('does_role') || sub { 0; }
351 9 0 $meta->name || ''
487 8 45 $args{'attributes'} || []

or 3 conditions

line l !l&&r !l&&!r condition
95 239 140 6 $thing_meta ||= find_meta($thing)
123 8 73 0 $message ||= _thing_name($thing, $thing_meta) . ' does %s'
146 8 58 0 $message ||= _thing_name($thing, $thing_meta) . ' does not do %s'
174 5 66 0 $message ||= _thing_name($thing) . " has an attribute named $attr_name"
300 0 2 0 $message ||= _thing_name($thing, $meta) . ' is immutable'
310 0 4 0 $message ||= _thing_name($thing, $meta) . ' is not immutable'
351 31 8 1 $is_moosey ||= ($meta->name || '') =~ /^Moose::Meta::/
366 0 5 0 $message ||= _thing_name($thing, $thing_meta) . ' is anonymous'
375 0 7 0 $message ||= _thing_name($thing, $thing_meta) . ' is not anonymous'
717 25 0 0 shift() || $_