Condition Coverage

blib/lib/Class/Discover.pm
Criterion Covered Total %
condition 15 25 60.0


and 3 conditions

line !l l&&!r l&&r condition
78 80 24 10 $_[1]->isa('PPI::Token::Word') and $$opts{'keywords'}{$_[1]->content}
89 0 10 10 $n and not $n->significant
91 0 0 10 $n and $n->isa('PPI::Token::Word')
99 0 10 20 $n and $n->content ne '{'
127 0 6 4 defined $ver and $ver ne 'undef'

or 2 conditions

line l !l condition
19 4 0 $opts ||= {}
20 0 4 $$opts{'keywords'} ||= ['class', 'role']
22 4 0 ref $$opts{'keywords'} || ''
28 4 0 $$opts{'dir'} || ''
33 0 4 ref $$opts{'files'} || ''