Condition Coverage

blib/lib/TinyDNS/Record.pm
Criterion Covered Total %
condition 19 49 38.7


and 3 conditions

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

or 2 conditions

line l !l condition
110 25 0 $data[2] || 300
126 0 0 $data[1] || 0
127 0 0 $data[2] || 0
128 0 0 $data[3] || 300
136 0 0 $data[1] || 0
137 0 0 $data[2] || 0
138 0 0 $data[3] || 1
139 0 0 $data[4] || 10
140 0 0 $data[5] || 300
154 21 0 $data[2] || 300
176 2 0 $data[2] || '15'
177 2 0 $data[3] || 300
187 4 0 $data[2] || '15'
202 2 0 $data[3] || 300
213 2 0 $data[2] || 300
226 3 1 $3 || 3600
242 1 1 $data[2] || 300

or 3 conditions

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