Condition Coverage

blib/lib/HTML/Tested/Value.pm
Criterion Covered Total %
condition 27 38 71.0


and 3 conditions

line !l l&&!r l&&r condition
56 0 630 513 $caller and ref $caller
210 0 0 9 $c and ref $c eq 'ARRAY'
243 10 18 3 defined $val and $caller->ht_get_widget_option($n, 'is_integer')
28 1 2 defined $val and $caller->ht_get_widget_option($n, 'is_integer') and not $val =~ /^\d+$/
275 125 1 1 defined $val && $val eq '' && !$self->options->{'keep_empty_string'}
281 0 327 27 $caller && ref $caller
282 0 327 27 $caller && ref $caller

or 2 conditions

line l !l condition
46 6 100 $opts{'constraints'} || []

or 3 conditions

line l !l&&r !l&&!r condition
25 0 0 0 $opts ||= $self->options
106 2 36 0 $$caller{"__${n}_defval"} || $$self{'__defval'}
119 184 16 19 $$caller{$n} // $self->get_default_value($caller, $n)
139 6 155 0 $$caller{"__${n}_transform"} || $$self{'__transform'}
165 13 197 0 $$caller{"__${n}_render"} || $$self{'__render'}