File Coverage

blib/lib/Alien/OpenMP.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 4 75.0
pod 2 2 100.0
total 12 15 80.0


line stmt bran cond sub pod time code
1             package Alien::OpenMP;
2              
3 1     1   165854 use parent 'Alien::Base';
  1         15  
  1         8  
4 1     1   5383 use Config ();
  1         3  
  1         99  
5              
6             our $VERSION = '0.003005';
7              
8             # "public" Alien::Base method implementations
9              
10             # we can reuse cflags for gcc/gomp; hopefully this will
11             # remain the case for all supported compilers
12 1     1 1 7078 sub lddlflags { shift->libs }
13              
14             # Inline related methods
15              
16             sub Inline {
17 0     0 1   my ($self, $lang) = @_;
18             return {
19             CCFLAGS => $self->cflags(),
20 0           LDDLFLAGS => join( q{ }, $Config::Config{lddlflags}, $self->lddlflags() ),
21             };
22             }
23              
24             1;
25              
26             __END__