File Coverage

blib/lib/Alien/premake5.pm
Criterion Covered Total %
statement 11 13 84.6
branch n/a
condition n/a
subroutine 4 6 66.6
pod 2 2 100.0
total 17 21 80.9


line stmt bran cond sub pod time code
1             package Alien::premake5;
2             # ABSTRACT: Build or find premake5
3              
4             our $VERSION = '0.003';
5              
6 1     1   224080 use strict;
  1         9  
  1         24  
7 1     1   10 use warnings;
  1         2  
  1         21  
8 1     1   5 use base 'Alien::Base';
  1         2  
  1         428  
9              
10             sub exe {
11 1     1 1 5403 my ($class) = @_;
12 1         5 $class->runtime_prop->{command};
13             }
14              
15             sub alien_helper {
16 0     0     return +{ premake5 => sub { Alien::premake5->exe } }
17 0     0 1   }
18              
19             1;
20              
21             __END__