File Coverage

blib/lib/Net/LDNS/RR/NSEC.pm
Criterion Covered Total %
statement 3 4 75.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod 1 1 100.0
total 5 7 71.4


line stmt bran cond sub pod time code
1             package Net::LDNS::RR::NSEC;
2              
3 13     13   47 use parent 'Net::LDNS::RR';
  13         14  
  13         54  
4              
5             sub nxtdname {
6 0     0 1   return $_[0]->next;
7             }
8              
9             1;
10              
11             =head1 NAME
12              
13             Net::LDNS::RR::NSEC - Type NSEC record
14              
15             =head1 DESCRIPTION
16              
17             A subclass of L, so it has all the methods of that class available in addition to the ones documented here.
18              
19             =head1 METHODS
20              
21             =over
22              
23             =item next()
24              
25             Returns the next name.
26              
27             =item nxtdname()
28              
29             Alias for C.
30              
31             =item typelist()
32              
33             Returns a string with the typelist. The string has the type names separated by spaces.
34              
35             =item typehref()
36              
37             Returns a reference to a hash, where the keys are the type names and the corresponding values are true. That is, if you look for a type in this hash
38             you get a true value back if the record covers it and false if not.
39              
40             =item covers($name)
41              
42             Returns true or false depending on if the record covers the given name or not.
43              
44             =back