URI/TestData/file.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« URI/TestData/fax.pm ↑ Summary URI/TestData/ftp.pm »
1 3 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Data::Semantic::URI::TestData::file;
6 3 our $VERSION = '1.100850';
7 # ABSTRACT: Test data class for the file URI semantic data class
8 3 ▶no warnings 'qw'; # Possible attempt to put comments in qw() list
Subroutine BEGIN: called CC=1 SCAR=0.0
9 3 ▶use constant TESTDATA => (
Subroutine BEGIN: called CC=1 SCAR=0.0
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 3 );
29 3 1;
30  
31  
32 __END__
« URI/TestData/fax.pm ↑ Summary URI/TestData/ftp.pm »