File Coverage

blib/lib/Data/Validate/URI.pm
Criterion Covered Total %
statement 123 126 97.6
branch 53 60 88.3
condition 19 30 63.3
subroutine 10 10 100.0
pod 4 4 100.0
total 209 230 90.8


line stmt bran cond sub pod time code
1             package Data::Validate::URI;
2              
3 5     5   130437 use strict;
  5         12  
  5         258  
4 5     5   26 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
  5         8  
  5         708  
5              
6             require Exporter;
7 5     5   9738 use AutoLoader 'AUTOLOAD';
  5         10505  
  5         37  
8              
9 5     5   7068 use Data::Validate::Domain;
  5         81897  
  5         434  
10 5     5   5729 use Data::Validate::IP;
  5         332356  
  5         1190  
11              
12             @ISA = qw(Exporter);
13              
14              
15              
16             # no functions are exported by default. See EXPORT_OK
17             @EXPORT = qw();
18              
19             @EXPORT_OK = qw(
20             is_uri
21             is_http_uri
22             is_https_uri
23             is_web_uri
24             is_tel_uri
25             );
26              
27             %EXPORT_TAGS = ();
28              
29             $VERSION = '0.06';
30              
31              
32             # No preloads
33              
34             1;
35             __END__