Condition Coverage

blib/lib/Test2/Compare/Float.pm
Criterion Covered Total %
condition 19 21 90.4


and 3 conditions

line !l l&&!r l&&r condition
22 21 6 1 exists $self->{'tolerance'} and exists $self->{'precision'}
32 1 1 24 length $input and $input =~ /\S/
36 13 9 2 exists $self->{'precision'} and not $self->{'precision'} =~ /^\d+$/
58 0 0 11 length $got and $got =~ /\S/
78 1 1 70 length $got and $got =~ /\S/
93 14 8 10 $got > $input - $tolerance and $got < $input + $tolerance

or 3 conditions

line l !l&&r !l&&!r condition
22 11 6 10 exists $self->{'precision'} || exists $self->{'tolerance'}