File Coverage

blib/lib/Data/Semantic/URI/TestData/file.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1 1     1   946 use 5.008;
  1         7  
  1         51  
2 1     1   6 use strict;
  1         3  
  1         37  
3 1     1   6 use warnings;
  1         3  
  1         72  
4              
5             package Data::Semantic::URI::TestData::file;
6             our $VERSION = '1.100850';
7             # ABSTRACT: Test data class for the file URI semantic data class
8 1     1   5 no warnings 'qw'; # Possible attempt to put comments in qw() list
  1         3  
  1         92  
9 1         97 use constant TESTDATA => (
10             { args => {},
11             valid => [
12             qw(
13             file://localhost/
14             file://use.perl.org/hanekomu/journal
15             file:///Users/marcel/file.txt
16             )
17             ],
18             invalid => [
19             qw(
20             news://localhost/
21             file://?123
22             http://use.perl.org/hanekomu/journal?entry=12345
23             http://use.perl.org/~hanekomu/journal
24             file:///Users/marcel/file.txt#foobar
25             )
26             ],
27             },
28 1     1   7 );
  1         2  
29             1;
30              
31              
32             __END__