auto/share/dist/Nes/cgi-bin/plugin/forms_captcha.pl untested

filter: Statementstmt 0.0% 0 / 13 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl
2  
3 # ------------------------------------------------------------------------------
4 #
5 # NES by - Skriptke
6 # Copyright 2009 - 2010 Enrique F. Castañón
7 # Licensed under the GNU GPL.
8 # http://nes.sourceforge.net/
9 #
10 # Version 0.9 pre
11 #
12 # forms_captcha.pl
13 #
14 # ------------------------------------------------------------------------------
15  
16 use strict;
17 use Nes;
18  
19 my $nes = Nes::Singleton->new();
20  
21 # archivo de configuración .nes.cfg
22 my $config = $nes->{'CFG'};
23  
24 my $dir_plugin = $config->{'plugin_top_dir'};
25  
26 # Insecure dependency in require while running with -T switch at
27 if ($dir_plugin =~ /^([-\@\w.\\\/]+)$/) {
28 $dir_plugin = $1;
29 }
30  
31 do "$dir_plugin/captcha.pl";
32 do "$dir_plugin/forms.pl";
33  
34  
35 # don't forget to return a true value from the file
36 1;
37