Condition Coverage

blib/lib/Class/MakeMethods.pm
Criterion Covered Total %
condition 24 45 53.3


and 3 conditions

line !l l&&!r l&&r condition
23 12 580 0 scalar @_ and $_[0] =~ /^\d/
27 123 0 469 scalar @_ == 1 and $_[0] eq '-isasubclass'
146 97 290 0 scalar @results == 1 and not $results[0]
97 256 34 scalar @results == 1 and not ref $results[0]
194 0 0 118 defined $m_name && length $m_name
215 57 15 24 scalar @_ and ref $_[0] eq 'HASH'
72 0 24 scalar @_ and ref $_[0] eq 'HASH' and not exists $_[0]{'name'}
235 0 0 0 scalar @_ and ref $_[0] eq 'HASH'
0 0 0 scalar @_ and ref $_[0] eq 'HASH' and not exists $_[0]{'name'}
269 11 1387 5 not $Class::MakeMethods::CONTEXT{'ForceInstall'} and defined *{$package . '::' . $name;}{'CODE'}

or 2 conditions

line l !l condition
50 0 0 $version || '(undef)'
333 0 116 $Class::MakeMethods::CONTEXT{'Debug'} ||= 0
344 2083 0 $1 || 'I'

or 3 conditions

line l !l&&r !l&&!r condition
46 0 0 0 not $version or $version < $wanted
146 3 0 387 not scalar @results or scalar @results == 1 and not $results[0]
211 0 96 scalar @results % 2 || ref $results[0]