Condition Coverage

blib/lib/Text/Naming/Convention.pm
Criterion Covered Total %
condition 26 27 96.3


and 3 conditions

line !l l&&!r l&&r condition
113 8 30 12 $keep_uppers and $word =~ /^[A-Z]+$/
38 8 4 $keep_uppers and $word =~ /^[A-Z]+$/ and $convention =~ /Camel/
160 1 1 2 defined $_ and not ref $_
173 7 0 33 $option and ref $option eq 'HASH'
220 5 2 6 $convention eq 'UpperCamelCase' and $convention ne $from
2 2 3 $convention eq 'lowerCamelCase' and $convention ne $from

or 3 conditions

line l !l&&r !l&&!r condition
185 4 4 32 $name =~ /(_)/ or $name =~ /(-)/
189 2 2 4 $convention eq '_' or $convention eq '-'
201 13 6 13 $convention eq '_' or $convention eq '-'