Condition Coverage

blib/lib/CSS/DOM/Value/Primitive.pm
Criterion Covered Total %
condition 60 102 58.8


and 3 conditions

line !l l&&!r l&&r condition
93 2 4 0 my $form = $$self[9] and @$val < 4 || $$val[3]->getFloatValue == 1
109 0 0 0 not $val % 17 and $val == int $val
0 0 0 not $val % 17 and $val == int $val and $val > 0
0 0 0 not $val % 17 and $val == int $val and $val > 0 and $val < 256
117 0 0 0 not $val % 20 and $val == int $val
0 0 0 not $val % 20 and $val == int $val and $val > 0
0 0 0 not $val % 20 and $val == int $val and $val > 0 and $val < 101
133 0 0 3 $val == int $val and $val > 0
0 0 3 $val == int $val and $val > 0 and $val < 256
139 1 0 0 not $val % 20 and $val == int $val
1 0 0 not $val % 20 and $val == int $val and $val > 0
0 0 0 not $val % 20 and $val == int $val and $val > 0 and $val < 101
152 0 0 1 $val_objs[0]->getFloatValue == $$rgb[0] and $val_objs[1]->getFloatValue == $$rgb[1]
0 0 1 $val_objs[0]->getFloatValue == $$rgb[0] and $val_objs[1]->getFloatValue == $$rgb[1] and $val_objs[2]->getFloatValue == $$rgb[2]
165 2 0 2 $types[0] == $types[1] and $types[0] == $types[2]
192 2 0 2 @$val >= 4 && ($alpha = $self->alpha->cssText) != 1
437 11 0 6 not defined $val and $index == 3

or 3 conditions

line l !l&&r !l&&!r condition
93 2 1 1 @$val < 4 || $$val[3]->getFloatValue == 1
126 0 2 0 not $val or $digits == 2
171 0 0 2 $types[0] == $types[1] || $types[0] == $types[2]
347 2 2 92 $type == 0 or $type == 23
4 2 90 $type == 0 or $type == 23 or $type == 24
4 2 88 $type == 0 or $type == 23 or $type == 24 or $type == 25
4 2 86 $type == 0 or $type == 23 or $type == 24 or $type == 25 or $type == 18
368 0 1 43 $type == 0 or $type == 19
1 1 42 $type == 0 or $type == 19 or $type == 20
2 1 41 $type == 0 or $type == 19 or $type == 20 or $type == 21
2 1 40 $type == 0 or $type == 19 or $type == 20 or $type == 21 or $type == 22
2 2 38 $type == 0 or $type == 19 or $type == 20 or $type == 21 or $type == 22 or $type == 23
3 1 37 $type == 0 or $type == 19 or $type == 20 or $type == 21 or $type == 22 or $type == 23 or $type == 24
3 4 33 $type == 0 or $type == 19 or $type == 20 or $type == 21 or $type == 22 or $type == 23 or $type == 24 or $type == 25
384 1 1 27 $type == 19 or $type == 20
2 1 26 $type == 19 or $type == 20 or $type == 21
2 1 25 $type == 19 or $type == 20 or $type == 21 or $type == 22