Condition Coverage

blib/lib/Rose/Object/MakeMethods.pm
Criterion Covered Total %
condition 15 33 45.4


and 3 conditions

line !l l&&!r l&&r condition
121 0 0 5 ref $code eq 'HASH' and $$code{'make_method'}
133 0 0 1 $class->allow_apparent_reload and $class->apparently_made_method($code)
166 0 0 1 $class and $name

or 2 conditions

line l !l condition
112 125 0 $options ||= {}
257 132 0 shift() || (last)
329 17 17 $options || {}

or 3 conditions

line l !l&&r !l&&!r condition
21 0 17 0 $$options{'target_class'} ||= (caller)[0]
34 17 0 0 $$options{'target_class'} ||= (caller)[0]
121 296 0 5 ref $code eq 'CODE' or ref $code eq 'HASH' and $$code{'make_method'}
126 0 0 1 $$options{'preserve_existing'} or $Preserve_Existing
170 0 1 0 $mm_class eq $class && $name =~ /^__ANON__/ || $Made_Method_Custom{$mm_class}{$name}
282 0 4 4 $i++ or defined $2