Condition Coverage

blib/lib/DNS/ZoneSerialNumber.pm
Criterion Covered Total %
condition 37 54 68.5


and 3 conditions

line !l l&&!r l&&r condition
95 0 0 91 defined $serial && $serial =~ /^\d+$/
107 0 0 29 defined $serial && $serial =~ /^\d+$/
135 6 8 8 $i1 < $i2 and $i2 - $i1 < 2147483648
8 6 0 $i1 > $i2 and $i1 - $i2 > 2147483648
141 6 6 2 $i1 < $i2 and $i2 - $i1 > 2147483648
6 0 6 $i1 > $i2 and $i1 - $i2 < 2147483648
530 1 1 1 defined $r and $r == 1
537 0 0 1 defined $r and $r >= 0
544 0 0 1 defined $r and $r == -1
551 1 3 2 defined $r and $r <= 0
558 1 1 14 defined $r and $r == 0

or 3 conditions

line l !l&&r !l&&!r condition
95 0 1 90 not defined $serial && $serial =~ /^\d+$/ or $serial > 4294967295
1 1 89 not defined $serial && $serial =~ /^\d+$/ or $serial > 4294967295 or $serial == 0
107 0 2 27 not defined $serial && $serial =~ /^\d+$/ or $serial > 2147483647
135 8 0 14 $i1 < $i2 and $i2 - $i1 < 2147483648 or $i1 > $i2 and $i1 - $i2 > 2147483648
141 2 0 12 $i1 < $i2 and $i2 - $i1 > 2147483648 or $i1 > $i2 and $i1 - $i2 < 2147483648
234 0 0 2 not $revisions =~ /^\d+$/ or $revisions > 99
565 1 1 0 not defined $r or $r != 0