Exobrain/Test.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Exobrain.pm ↑ Summary
1 package Exobrain::Test;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # ABSTRACT: Establish test environment for Exobrain
6 2 our $VERSION = '1.08'; # VERSION
7  
8  
9 # Set a variable to look for our config files in
10 # the same directory as our main program.
11  
12 2 ▶use FindBin qw($Bin);
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 2 $ENV{EXOBRAIN_CONFIG} = "$Bin/.exobrainrc";
15  
16 # Also, go looking for extra modules there.
17  
18 2 ▶use lib "$Bin/lib";
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 2 1;
21  
22 __END__
« Exobrain.pm ↑ Summary