Condition Coverage

blib/lib/Crayon.pm
Criterion Covered Total %
condition 26 40 65.0


and 3 conditions

line !l l&&!r l&&r condition
91 0 0 19 $class and $props
150 0 0 70 do { $p =~ s/\:/ &/g; 1 } && grep({$_;} split(/\s+/, $p, 0))

or 2 conditions

line l !l condition
23 0 20 $args{'css'} ||= {}
129 10 83 $current->{$_} ||= {}
132 0 6 $current->{'VARIABLES'} || {}
194 43 14 $key ||= ""
195 44 13 $flat ||= {}
199 8 6 $key or "GLOBAL"
209 0 4 $flat->{$k}{'VARIABLES'} || {}
238 1 0 $global{'VARIABLES'} || {}
0 1 delete $flat->{$class}{'VARIABLES'} || {}
280 7 8 $global{'VARIABLES'} || {}
7 8 delete $flat->{$class}{'VARIABLES'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
24 0 20 0 $args{'bm'} ||= "Blessed::Merge"->new
34 0 19 0 $css ||= $self->{'css'}
62 11 2 0 $struct ||= $self->{'css'}
310 8 11 33 $value =~ /$NESTED_VARIABLE/g or $value =~ /$VARIABLE/g