Condition Coverage

blib/lib/EB/Format.pm
Criterion Covered Total %
condition 16 45 35.5


and 3 conditions

line !l l&&!r l&&r condition
85 0 0 0 substr($halfhex, 0, 2) ne '00' and substr($halfhex, -2) eq '00'
172 0 0 0 $v == int $v and $v >= 0
181 0 0 0 $v == int $v and $v >= 0
226 14 0 0 s/^([-+])// and $1 eq '-'
235 12 0 1 /^(\d{1,@{[3];}})(\,\d{@{[3];}})*$/ and $1
242 11 0 1 /^(\d{1,@{[3];}})(\.\d{@{[3];}})*$/ and $1
306 8 0 0 $debug and $@
324 0 0 0 $v == int $v and $v >= 0
339 0 0 0 $v == int $v and $v >= 0

or 2 conditions

line l !l condition
317 0 15 $1 || ''
14 1 $2 || 0
15 0 $3 || 0

or 3 conditions

line l !l&&r !l&&!r condition
129 0 6 0 $fmt or not defined $decimalpt
131 0 6 0 $fmt =~ /^\d+([.,])\d\d$/ or $fmt =~ /^\d+(\.\d\d\d)*(\,)\d\d$/
6 0 0 $fmt =~ /^\d+([.,])\d\d$/ or $fmt =~ /^\d+(\.\d\d\d)*(\,)\d\d$/ or $fmt =~ /^\d+(\,\d\d\d)*(\.)\d\d$/
249 2 2 7 /^([\d.]+)(\,)(\d{@{[2];}})$/ or /^([\d,]+)(\.)(\d{@{[2];}})$/