File Coverage

blib/lib/Alien/cmake4.pm
Criterion Covered Total %
statement 17 18 94.4
branch n/a
condition n/a
subroutine 7 8 87.5
pod 2 2 100.0
total 26 28 92.8


line stmt bran cond sub pod time code
1             package Alien::cmake4;
2              
3 4     4   157258 use parent qw(Alien::Base);
  4         1337  
  4         28  
4 4     4   230447 use strict;
  4         7  
  4         68  
5 4     4   37 use warnings;
  4         6  
  4         154  
6              
7 4     4   55 use 5.008001;
  4         14  
8              
9 4     4   19 use Path::Tiny qw(path);
  4         10  
  4         649  
10              
11             our $VERSION = '0.04';
12              
13             sub alien_helper {
14             return {
15             'cmake4' => sub {
16 0     0   0 Alien::cmake4->exe;
17             },
18 1     1 1 298810 };
19             }
20              
21             sub exe {
22 1     1 1 625 my $class = shift;
23              
24 1         6 return path($class->bin_dir, $class->runtime_prop->{'command'});
25             }
26              
27             1;
28              
29             __END__