Condition Coverage

blib/lib/TinyDNS/Record.pm
Criterion Covered Total %
condition 20 51 39.2


and 3 conditions

line !l l&&!r l&&r condition
300 0 0 161 $self->{'ttl'} and $self->{'ttl'} =~ /^([0-9]+)$/

or 2 conditions

line l !l condition
104 25 0 $data[2] || 300
120 0 0 $data[1] || 0
121 0 0 $data[2] || 0
122 0 0 $data[3] || 300
130 0 0 $data[1] || 0
131 0 0 $data[2] || 0
132 0 0 $data[3] || 1
133 0 0 $data[4] || 10
134 0 0 $data[5] || 300
148 21 0 $data[2] || 300
171 3 0 $data[3] || '15'
172 0 3 $data[4] || 300
179 3 0 $data[2] || '15'
180 0 3 $data[3] || 300
194 2 0 $data[3] || 300
205 2 0 $data[2] || 300
218 3 1 $3 || 3600
234 1 1 $data[2] || 300

or 3 conditions

line l !l&&r !l&&!r condition
64 0 62 0 ref $proto || $proto
97 25 0 37 $rec eq '+' or $rec eq '='
0 2 6 $rec eq 'c' or $rec eq 'C'
0 4 2 $rec eq 't' or $rec eq 'T'