File Coverage

lib/App/Perlbrew/Path/Installation.pm
Criterion Covered Total %
statement 10 11 90.9
branch n/a
condition n/a
subroutine 6 7 85.7
pod 0 5 0.0
total 16 23 69.5


line stmt bran cond sub pod time code
1 70     70   449 use strict;
  70         138  
  70         2856  
2 70     70   333 use warnings;
  70         142  
  70         14468  
3              
4             package App::Perlbrew::Path::Installation;
5              
6             require App::Perlbrew::Path;
7              
8             our @ISA = qw( App::Perlbrew::Path );
9              
10             sub name {
11 475     475 0 4657 $_[0]->basename;
12             }
13              
14             sub bin {
15 481     481 0 1276 shift->child(bin => @_);
16             }
17              
18             sub man {
19 0     0 0 0 shift->child(man => @_);
20             }
21              
22             sub perl {
23 479     479 0 1143 shift->bin('perl');
24             }
25              
26             sub version_file {
27 478     478 0 5206 shift->child('.version');
28             }
29              
30             1;
31