File Coverage

lib/File/Corresponding/File/Found.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              
2              
3             =head1 NAME
4              
5             File::Corresponding::File::Found - A file that was found in the file
6             system, given a matching profile
7              
8             =cut
9              
10 6     6   25 use strict;
  6         7  
  6         287  
11             package File::Corresponding::File::Found;
12             $File::Corresponding::File::Found::VERSION = '0.004';
13 6     6   23 use Moose;
  6         7  
  6         32  
14              
15 6     6   29567 use Data::Dumper;
  6         11  
  6         291  
16 6     6   3047 use MooseX::Types::Path::Class qw( Dir File );
  6         399068  
  6         36  
17              
18 6     6   6966 use File::Corresponding::File::Profile;
  6         51  
  6         437  
19              
20              
21              
22             =head1 PROPERTIES
23              
24             =head2 file : Path::Class
25              
26             File that was found.
27              
28             =cut
29             has file => (
30             is => 'ro',
31             isa => File,
32             coerce => 1,
33             );
34              
35              
36              
37              
38             =head2 matching_profile : File::Corresponding::File::Profile
39              
40             Profile that was used to match against.
41              
42             =cut
43             has matching_profile => (is => 'ro', isa => 'File::Corresponding::File::Profile');
44              
45              
46              
47             1;
48              
49              
50              
51             __END__