Condition Coverage

blib/lib/Getopt/Yath/Option.pm
Criterion Covered Total %
condition 45 96 46.8


and 2 conditions

line l !l condition
275 0 0 $ok = 1 and last
276 0 0 $ok = 1 and last

and 3 conditions

line !l l&&!r l&&r condition
119 833 0 0 $self->{'maybe'} and $field eq "initialize"
190 0 0 0 $self->{'field'} and $self->{'name'}
196 14 2 0 $self->{'set_env_vars'} and not $self->can_set_env
199 13 3 0 $self->{'alt'} and ref $self->{'alt'} ne "ARRAY"
202 16 0 0 $self->{'alt_no'} and ref $self->{'alt_no'} ne "ARRAY"
222 9 7 0 $self->{'default'} and not $self->allows_default
224 11 4 1 $self->requires_autofill and not $self->{'autofill'}
225 11 4 0 $self->{'autofill'} and not $self->allows_autofill
230 0 6 0 $ref and $ref ne "CODE"
276 0 0 0 0 + $c and 0 + $v
0 0 0 0 + $c and 0 + $v and $c == $v

or 2 conditions

line l !l condition
215 3 13 $self->{'alt'} // []
235 1 0 ref $val || 'not a ref'
240 15 0 $self->{'category'} //= "NO CATEGORY - FIX ME"
241 11 4 $self->{'description'} //= "NO DESCRIPTION - FIX ME"
298 0 15 $self->prefix // ""
301 3 12 $self->{'alt'} // []
302 3 12 $self->{'alt'} // []
303 0 15 $self->{'alt_no'} // []
318 4 4 $params->{'groups'} // {}
380 195 0 $1 // ""
382 195 0 $1 // ""
388 0 28 $self->{'alt_no'} // []
405 0 0 $forms // []
406 0 0 $no_forms // []
407 0 0 $other_forms // []
413 14 0 $forms // []
414 14 0 $no_forms // []
415 0 14 $other_forms // []
432 12 16 ($self->$t || $self->$field) // (next)

or 3 conditions

line l !l&&r !l&&!r condition
187 1 15 0 $self->{'module'} or $self->{'no_module'}
190 16 0 0 $self->{'title'} or $self->{'field'} and $self->{'name'}
204 1 0 0 $self->{'module'} //= $self->{'trace'}[0]
207 0 16 0 $self->{'field'} //= $title
208 0 16 0 $self->{'name'} //= $title
397 14 0 0 $params{'color'} //= -t STDOUT
432 0 12 16 $self->$t || $self->$field