Moose/Catfile.pm

filter: Statementstmt 92.3% 12 / 13 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 84.2% 16 / 19 CC 2 SCAR 4.9
CC
2
Cov
87%
our_catfile
2.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
« Moose/Instrument/RS_SMB.pm ↑ Summary Moose/Instrument/Agilent33210A.pm »
1 package Lab::Moose::Catfile;
2 27 $Lab::Moose::Catfile::VERSION = '3.931';
3 27 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 27 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # ABSTRACT: Export custom catfile which avoids backslashes
7  
8 # PDL::Graphics::Gnuplot <= 2.011 cannot handle backslashes on windows.
9  
10  
11 27 our @ISA = qw(Exporter);
12 27 our @EXPORT = qw/our_catfile/;
13  
14 380 ▶sub our_catfile {
Subroutine our_catfile: called CC=2 SCAR=8.1
Pod undocumented
15 380 ▶ if ( @_ == 0 ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_ == 0) 0 380 380
16 0 return;
17 }
18 380 return join( '/', @_ );
19 }
20  
21 27 1;
22  
23 __END__
« Moose/Instrument/RS_SMB.pm ↑ Summary Moose/Instrument/Agilent33210A.pm »