blib/lib/Alien/WFDB.pm

filter: Statementstmt 76.4% 13 / 17 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 66.6% 2 / 3 totaltotal 66.6% 20 / 30 CC 3 SCAR 9.7
CC
3
Cov
67%
Inline
6.0
libs
2.1
inline_auto_include
2.0
CRAP 2.6
↑ Summary alienfile »
1 package Alien::WFDB;
2 1 $Alien::WFDB::VERSION = '0.005';
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent 'Alien::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8  
9 0 ▶sub inline_auto_include {
Subroutine inline_auto_include: not called CC=1 SCAR=6.9
Pod documented
10 0 [ 'wfdb.h' ];
11 }
12  
13 1 ▶sub libs {
Subroutine libs: called CC=2 SCAR=7.2
Pod documented
14 1 my ($class) = @_;
15 1 ▶ join ' ', (
Branch: 1 branch
BranchTrueFalseTotal
$class->install_type eq 'share' ? : 1 0 1
16 $class->install_type eq 'share' ? ('-L' . File::Spec->catfile($class->dist_dir, qw(lib)) ) : (),
17 '-lwfdb',
18 );
19 }
20  
21 0 ▶sub Inline {
Subroutine Inline: not called CC=2 SCAR=17.9
Pod undocumented
22 0 my ($self, $lang) = @_;
23 0 ▶ return unless $_[-1] eq 'C'; # Inline's error message is good
Branch: 1 branch
BranchTrueFalseTotal
unless $_[-1] eq "C" 0 0 0
24  
25 0 my $params = Alien::Base::Inline(@_);
26 }
27  
28 1 1;
29 # ABSTRACT: Alien package for the WFDB (WaveForm DataBase) library
30  
31 __END__
↑ Summary alienfile »