Condition Coverage

blib/lib/Complete/Number.pm
Criterion Covered Total %
condition 29 64 45.3


and 3 conditions

line !l l&&!r l&&r condition
57 3 0 1 defined $args{'min'} and defined $args{'max'}
3 0 1 defined $args{'min'} and defined $args{'max'} and $args{'max'} - $args{'min'} <= $limit
3 0 0 defined $args{'min'} and defined $args{'xmax'}
3 0 0 defined $args{'min'} and defined $args{'xmax'} and $args{'xmax'} - $args{'min'} <= $limit
2 1 0 defined $args{'xmin'} and defined $args{'max'}
3 0 0 defined $args{'xmin'} and defined $args{'max'} and $args{'max'} - $args{'xmin'} <= $limit
2 0 1 defined $args{'xmin'} and defined $args{'xmax'}
2 0 1 defined $args{'xmin'} and defined $args{'xmax'} and $args{'xmax'} - $args{'xmin'} <= $limit
1 1 0 length $word and not $word =~ /\A-?\d*\z/
82 30 0 0 defined $args{'min'} and $i < $args{'min'}
83 30 0 0 defined $args{'xmin'} and $i <= $args{'xmin'}
84 30 0 0 defined $args{'max'} and $i > $args{'max'}
85 30 0 0 defined $args{'xmin'} and $i >= $args{'xmax'}
120 1 0 0 length $word and not $word =~ /\A-?\d*(\.\d*)?\z/
133 19 0 0 defined $args{'min'} and $f < $args{'min'}
134 19 0 0 defined $args{'xmin'} and $f <= $args{'xmin'}
135 19 0 0 defined $args{'max'} and $f > $args{'max'}
136 19 0 0 defined $args{'xmin'} and $f >= $args{'xmax'}

or 2 conditions

line l !l condition
51 1 3 $args{'word'} // ''
113 0 1 $args{'word'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 4 $args{'ci'} // $Complete::Setting::OPT_CI
114 0 0 1 $args{'ci'} // $Complete::Setting::OPT_CI