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   118480 use base qw(Alien::Base);
  4         15  
  4         2468  
4 4     4   185894 use strict;
  4         8  
  4         88  
5 4     4   18 use warnings;
  4         7  
  4         140  
6              
7 4     4   51 use 5.008001;
  4         18  
8              
9 4     4   13 use Path::Tiny qw(path);
  4         5  
  4         510  
10              
11             our $VERSION = '0.03';
12              
13             sub alien_helper {
14             return {
15             'cmake4' => sub {
16 0     0   0 Alien::cmake4->exe;
17             },
18 1     1 1 259091 };
19             }
20              
21             sub exe {
22 1     1 1 413 my $class = shift;
23              
24 1         5 return path($class->bin_dir, $class->runtime_prop->{'command'});
25             }
26              
27             1;
28              
29             __END__