OX/Meta/Role/Path.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.6% 22 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OX/Meta/Mount.pm ↑ Summary OX/Application/Role/Router.pm »
1 package OX::Meta::Role::Path;
2 49 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 49 $OX::Meta::Role::Path::AUTHORITY = 'cpan:STEVAN';
4 }
5 49 $OX::Meta::Role::Path::VERSION = '0.14';
6 49 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 49 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 49 ▶use OX::Util;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 49 requires 'type';
12  
13 49 has path => (
14 is => 'ro',
15 isa => 'Str',
16 required => 1,
17 );
18  
19 49 has definition_location => (
20 is => 'ro',
21 isa => 'Str',
22 default => '(unknown)',
23 );
24  
25 64 ▶sub canonical_path {
Subroutine canonical_path: called CC=1 SCAR=0.0
Pod undocumented
26 64 my $self = shift;
27  
28 64 return OX::Util::canonicalize_path($self->path);
29 }
30  
31 =for Pod::Coverage
32 canonical_path
33  
34 =cut
35  
36 49 1;
« OX/Meta/Mount.pm ↑ Summary OX/Application/Role/Router.pm »