File Coverage

blib/lib/Path/Abstract/Fast.pm
Criterion Covered Total %
statement 12 19 63.1
branch n/a
condition n/a
subroutine 4 6 66.6
pod 0 1 0.0
total 16 26 61.5


line stmt bran cond sub pod time code
1             package Path::Abstract::Fast;
2              
3 5     5   20 use warnings;
  5         7  
  5         153  
4 5     5   17 use strict;
  5         8  
  5         337  
5              
6             sub _deprecation_warning {
7 0     0     warn <<_END_
8             ** Path::Abstract::Fast is deprecated (use Path::Abstract or Path::Abstract::Underload instead) **
9             _END_
10             }
11              
12             use Sub::Exporter -setup => {
13             exports => [ path => sub {
14 0         0 _deprecation_warning;
15             sub {
16 0         0 return __PACKAGE__->new(@_)
17 5         60 } } ],
  0         0  
18 5     5   21 };
  5         5  
19              
20 5     5   2039 use base qw/Path::Abstract::Underload/;
  5         7  
  5         575  
21              
22             sub new {
23 0     0 0   _deprecation_warning;
24 0           my $class = shift;
25 0           return $class->SUPER::new(@_);
26             }
27              
28             1;