File Coverage

blib/lib/Dpkg/Control/Hash.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             # Copyright © 2007-2009 Raphaël Hertzog
2             #
3             # This program is free software; you can redistribute it and/or modify
4             # it under the terms of the GNU General Public License as published by
5             # the Free Software Foundation; either version 2 of the License, or
6             # (at your option) any later version.
7             #
8             # This program is distributed in the hope that it will be useful,
9             # but WITHOUT ANY WARRANTY; without even the implied warranty of
10             # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11             # GNU General Public License for more details.
12             #
13             # You should have received a copy of the GNU General Public License
14             # along with this program. If not, see .
15              
16             package Dpkg::Control::Hash;
17              
18 6     6   39 use strict;
  6         11  
  6         174  
19 6     6   27 use warnings;
  6         10  
  6         222  
20              
21             our $VERSION = '1.00';
22              
23 6     6   30 use Dpkg::Gettext;
  6         11  
  6         332  
24 6     6   77 use Dpkg::ErrorHandling;
  6         11  
  6         533  
25 6     6   2422 use Dpkg::Control::Fields; # Force execution of vendor hook.
  6         16  
  6         600  
26              
27 6     6   42 use parent qw(Dpkg::Control::HashCore);
  6         12  
  6         37  
28              
29             =encoding utf8
30              
31             =head1 NAME
32              
33             Dpkg::Control::Hash - parse and manipulate a block of RFC822-like fields
34              
35             =head1 DESCRIPTION
36              
37             This module is just like Dpkg::Control::HashCore, with vendor-specific
38             field knowledge.
39              
40             =head1 CHANGES
41              
42             =head2 Version 1.00 (dpkg 1.15.6)
43              
44             Mark the module as public.
45              
46             =cut
47              
48             1;