blib/lib/Alien/CLIPS.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 6 MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 35 CC 2 SCAR 11.5
CC
2
Cov
0%
BEGIN
6.0
dynamic_libs
2.0
bin_dir
2.0
CRAP 3.1
1 package Alien::CLIPS;
2  
3 use strict;
4 use warnings;
5  
6 our @ISA;
7  
8 BEGIN {
9 my $ok = eval {
10 require Alien::Base;
11 @ISA = qw(Alien::Base);
12 1;
13 };
14 @ISA = () if !$ok;
15 }
16  
17 sub dynamic_libs {
18 return grep { defined && length } (
19 $ENV{INLINE_CLIPS_LIB},
20 $ENV{ALIEN_CLIPS_LIB},
21 );
22 }
23  
24 sub bin_dir {
25 return grep { defined && length } (
26 $ENV{INLINE_CLIPS_BIN},
27 $ENV{ALIEN_CLIPS_BIN},
28 );
29 }
30  
31 1;
32  
33 __END__