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   105018 use base qw(Alien::Base);
  4         4  
  4         1825  
4 4     4   168613 use strict;
  4         6  
  4         58  
5 4     4   14 use warnings;
  4         6  
  4         130  
6              
7 4     4   49 use 5.008001;
  4         11  
8              
9 4     4   17 use Path::Tiny qw(path);
  4         6  
  4         523  
10              
11             our $VERSION = '0.01';
12              
13             sub alien_helper {
14             return {
15             'cmake4' => sub {
16 0     0   0 Alien::cmake4->exe;
17             },
18 1     1 1 290858 };
19             }
20              
21             sub exe {
22 1     1 1 420 my $class = shift;
23              
24 1         6 return path($class->bin_dir, $class->runtime_prop->{'command'});
25             }
26              
27             1;
28              
29             __END__