Condition Coverage

blib/lib/Crayon.pm
Criterion Covered Total %
condition 24 40 60.0


and 3 conditions

line !l l&&!r l&&r condition
77 0 0 15 $class and $props
136 0 0 68 do { $p =~ s/\:/ &/g; 1 } && grep({$_;} split(/\s+/, $p, 0))

or 2 conditions

line l !l condition
23 0 19 $args{'css'} ||= {}
115 9 82 $current->{$_} ||= {}
118 0 6 $current->{'VARIABLES'} || {}
180 42 13 $key ||= ""
181 43 12 $flat ||= {}
185 8 5 $key or "GLOBAL"
195 0 4 $flat->{$k}{'VARIABLES'} || {}
224 0 0 $global{'VARIABLES'} || {}
0 0 delete $flat->{$class}{'VARIABLES'} || {}
266 7 8 $global{'VARIABLES'} || {}
7 8 delete $flat->{$class}{'VARIABLES'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
24 0 19 0 $args{'bm'} ||= "Blessed::Merge"->new
34 0 17 0 $css ||= $self->{'css'}
48 11 1 0 $struct ||= $self->{'css'}
296 8 9 29 $value =~ /$NESTED_VARIABLE/g or $value =~ /$VARIABLE/g