File Coverage

blib/lib/Mirror/CPAN.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 0 1 0.0
total 21 22 95.4


line stmt bran cond sub pod time code
1             package Mirror::CPAN;
2              
3 2     2   645151 use 5.006;
  2         8  
  2         83  
4 2     2   11 use strict;
  2         3  
  2         70  
5 2     2   781 use Mirror::JSON;
  2         6  
  2         60  
6              
7 2     2   23 use vars qw{$VERSION @ISA};
  2         4  
  2         123  
8             BEGIN {
9 2     2   5 $VERSION = '0.90';
10 2         214 @ISA = 'Mirror::JSON';
11             }
12              
13             sub filename {
14 1     1 0 6 return 'modules/07mirror.json';
15             }
16              
17             1;
18              
19             # Copyright 2007 - 2009 Adam Kennedy.
20             #
21             # This program is free software; you can redistribute
22             # it and/or modify it under the same terms as Perl itself.
23             #
24             # The full text of the license can be found in the
25             # LICENSE file included with this module.