Branch Coverage

blib/lib/Net/DNS/RR/IPSECKEY.pm
Criterion Covered Total %
branch 28 28 100.0


line true false branch
43 7 23 if (not $gatetype) { }
7 16 elsif ($gatetype == 1) { }
7 9 elsif ($gatetype == 2) { }
8 1 elsif ($gatetype == 3) { }
124 2 11 if (/^\.*$/)
129 2 9 if (/:.*:/)
134 2 7 if (/\.\d+$/)
139 6 1 if (/\..+/)
147 29 12 if (defined wantarray)
150 6 23 if /^1$/
151 6 17 if /^2$/
152 10 7 if /^3$/
154 5 2 wantarray ? :
162 4 8 unless scalar @value