File Coverage

blib/lib/Zonemaster/LDNS/RR/MX.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Zonemaster::LDNS::RR::MX;
2              
3 13     13   68 use parent 'Zonemaster::LDNS::RR';
  13         26  
  13         50  
4              
5             1;
6              
7             =head1 NAME
8              
9             Zonemaster::LDNS::RR::MX - Type MX record
10              
11             =head1 DESCRIPTION
12              
13             A subclass of L, so it has all the methods of that class available in addition to the ones documented here.
14              
15             =head1 METHODS
16              
17             =over
18              
19             =item exchange()
20              
21             Returns the name of the mail server.
22              
23             =item preference()
24              
25             Returns the preference value of the record.
26              
27             =back