| blib/lib/Data/Semantic/URI/file.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 | 1 | 1 | 1702 | use 5.008; | |||
| 1 | 6 | ||||||
| 1 | 38 | ||||||
| 2 | 1 | 1 | 4 | use strict; | |||
| 1 | 2 | ||||||
| 1 | 33 | ||||||
| 3 | 1 | 1 | 4 | use warnings; | |||
| 1 | 34 | ||||||
| 1 | 51 | ||||||
| 4 | |||||||
| 5 | package Data::Semantic::URI::file; | ||||||
| 6 | our $VERSION = '1.100850'; | ||||||
| 7 | # ABSTRACT: Semantic data class for file URIs | ||||||
| 8 | 1 | 1 | 5 | use parent qw(Data::Semantic::URI); | |||
| 1 | 2 | ||||||
| 1 | 5 | ||||||
| 9 | 1 | 1 | 75 | use constant REGEXP_KEYS => qw(URI file); | |||
| 1 | 2 | ||||||
| 1 | 82 | ||||||
| 10 | 1 | 66 | use constant KEEP_KEYS => qw( | ||||
| 11 | URI scheme host_and_path host path_with_slash path_no_slash | ||||||
| 12 | 1 | 1 | 7 | ); | |||
| 1 | 1 | ||||||
| 13 | 1; | ||||||
| 14 | |||||||
| 15 | |||||||
| 16 | __END__ |