LADSPA/Library.pm

filter: Statementstmt 52.9% 9 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 28.5% 2 / 7 Podpod 100% 2 / 2 totaltotal 50.0% 13 / 26 CC 1 SCAR 5.4
CC
1
Cov
53%
plugins
2.0
library_file
2.0
plugins
2.0
CRAP 1.7
« LADSPA/Plugin/Play.pm ↑ Summary LADSPA/Plugin/Perl.pm »
1 # Audio::LADSPA perl modules for interfacing with LADSPA plugins
2 # Copyright (C) 2003 Joost Diepenmaat.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 #
18 # See the COPYING file for more information.
19  
20  
21  
22 package Audio::LADSPA::Library;
23 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 11 our $VERSION = "0.021";
25 11 ▶no strict 'refs';
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 0 ▶sub plugins {
Subroutine plugins: not called CC=1 SCAR=6.9
Pod documented
28 0 @{$_[0].'::PLUGINS'};
29 }
30  
31 0 ▶sub library_file {
Subroutine library_file: not called CC=1 SCAR=6.9
Pod documented
32 0 ${$_[0].'::LIBRARY_FILE'};
33 }
34  
35 package Audio::LADSPA::Library::Perl;
36  
37 11 my @plugins;
38 0 ▶sub plugins {
Subroutine plugins: not called CC=1 SCAR=6.9
39 0 @plugins;
40 }
41  
42 0 ▶sub register {
Subroutine register: not called CC=1 SCAR=6.9
43 0 my $dummy = shift;
44 0 push @plugins,@_;
45 }
46  
47  
48 0 ▶sub library_file {
Subroutine library_file: not called CC=1 SCAR=6.9
49 0 qw( 'Audio::LADSPA::Library::Perl' );
50 }
51  
52 11 1;
53  
54 __END__
« LADSPA/Plugin/Play.pm ↑ Summary LADSPA/Plugin/Perl.pm »