Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection v2.000000 Perl 5 v5.12.2 MSWin32-x86-multi-thread

Status
Fail
From
Alexandr Ciornii (CHORNY)
Dist
Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection v2.000000
Platform
Perl 5 v5.12.2 MSWin32-x86-multi-thread
Date
2021-03-04 23:25:39
ID
ede03e9d-6c0e-1014-b969-23cecab55f01
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Olaf Alders,

This is a computer-generated report for Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-2.000000
on perl 5.12.2, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

------------------------------
PROGRAM OUTPUT
------------------------------

Output from 'C:\strawberry\c\bin\dmake.EXE test':

C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
# Testing Perl::Critic::Policy::ValuesAndExpressions::PreventSQLInjection 2.000000, Perl 5.012002, C:\strawberry\perl\bin\perl.exe
t/00-load.t ............ ok
# 
# Versions for all modules listed in MYMETA.json (including optional ones):
# 
# === Configure Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 6.98
# 
# === Build Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 6.98
# 
# === Test Requires ===
# 
#     Module                     Want     Have
#     -------------------------- ---- --------
#     ExtUtils::MakeMaker         any     6.98
#     File::Spec                  any     3.47
#     PPI                         any    1.215
#     Test::FailWarnings          any    0.008
#     Test::More                  any 1.001003
#     Test::Perl::Critic          any     1.02
#     Test::Perl::Critic::Policy  any    1.121
# 
# === Test Recommends ===
# 
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.141520
# 
# === Runtime Requires ===
# 
#     Module                         Want   Have
#     ----------------------------- ----- ------
#     Carp                            any 1.3301
#     PPIx::QuoteLike               0.015  0.015
#     Perl::Critic::Policy            any  1.121
#     Perl::Critic::Utils             any  1.121
#     Readonly                        any   2.00
#     String::InterpolatedVariables   any  1.1.0
#     Try::Tiny                       any   0.22
#     base                            any   2.18
#     strict                          any   1.04
#     warnings                        any   1.09
# 
t/00-report-prereqs.t .. ok

#   Failed test 'ValuesAndExpressions::PreventSQLInjection - line 150 - (GH-14) Heredoc when there are 0 or 1 newlines after terminator'
#   at t/30-policy.t line 22.
# Expected 0 violations, got 1. Found violations follow...
# Found violation: SQL injection risk at line 2, column 15.  (my $heredoc = <<"SELECT".$x;)
# Looks like you failed 1 test of 74.
t/30-policy.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/74 subtests 
t/35-default_themes.t .. ok
You tried to plan twice at t/45-multi-docs.t line 17.
# Looks like your test exited with 255 before it could output anything.
t/45-multi-docs.t ...... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests 

Test Summary Report
-------------------
t/30-policy.t        (Wstat: 256 Tests: 74 Failed: 1)
  Failed test:  20
  Non-zero exit status: 1
t/45-multi-docs.t    (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
Files=5, Tests=78, 10 wallclock secs ( 0.07 usr +  0.03 sys =  0.10 CPU)
Result: FAIL
Failed 2/5 test programs. 1/78 subtests failed.
dmake.EXE:  Error code 255, while making 'test_dynamic'

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module                        Need     Have    
    ----------------------------- -------- --------
    base                          0        2.18    
    Carp                          0        1.3301  
    perl                          5.006001 5.012002
    Perl::Critic::Policy          0        1.121   
    Perl::Critic::Utils           0        1.121   
    PPIx::QuoteLike               0.015    0.015   
    Readonly                      0        2.00    
    strict                        0        1.04    
    String::InterpolatedVariables 0        1.1.0   
    Try::Tiny                     0        0.22    
    warnings                      0        1.09    

build_requires:

    Module                        Need     Have    
    ----------------------------- -------- --------
    ExtUtils::MakeMaker           0        6.98    
    File::Spec                    0        3.47    
    PPI                           0        1.215   
    Test::FailWarnings            0        0.008   
    Test::More                    0        1.001003
    Test::Perl::Critic            0        1.02    
    Test::Perl::Critic::Policy    0        1.121   

configure_requires:

    Module                        Need     Have    
    ----------------------------- -------- --------
    ExtUtils::MakeMaker           0        6.98    
    perl                          5.006001 5.012002


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    COMSPEC = C:\WINDOWS\system32\cmd.exe
    NUMBER_OF_PROCESSORS = 1
    PATH = c:\Windows\system32;c:\Windows\System32\Wbem;C:\Git\cmd;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin
    PERL5LIB = C:\strawberry\cpan\build\String-InterpolatedVariables-v1.1.0-0/blib/arch;C:\strawberry\cpan\build\String-InterpolatedVariables-v1.1.0-0/blib/lib;C:\strawberry\cpan\build\PPIx-QuoteLike-0.015-0/blib/arch;C:\strawberry\cpan\build\PPIx-QuoteLike-0.015-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 344
    PERL5_CPAN_IS_RUNNING = 344
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1708,344
    PERL_CR_SMOKER_CURRENT = Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-2.000000
    PERL_CR_SMOKER_RUNONCE = 1
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    PROCESSOR_IDENTIFIER = x86 Family 18 Model 1 Stepping 0, AuthenticAMD
    TEMP = C:\DOCUME~1\c\LOCALS~1\Temp
    TERM = dumb

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = C:\strawberry\perl\bin\perl.exe
    $UID/$EUID = 0 / 0
    $GID = 0
    $EGID = 0
    Win32::GetOSName = WinXP/.Net
    Win32::GetOSVersion = Service Pack 3, 5, 1, 2600, 2, 3, 0, 256, 1
    Win32::FsType = NTFS
    Win32::IsAdminUser = 1

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.16    
    CPAN::Meta          2.141520
    Cwd                 3.47    
    ExtUtils::CBuilder  0.280216
    ExtUtils::Command   1.16    
    ExtUtils::Install   1.55    
    ExtUtils::MakeMaker 6.98    
    ExtUtils::Manifest  1.60    
    ExtUtils::ParseXS   3.24    
    File::Spec          3.47    
    JSON                2.90    
    JSON::PP            2.27203 
    Module::Build       0.4206  
    Module::Signature   0.66    
    Parse::CPAN::Meta   1.4414  
    Test::Harness       3.32    
    Test::More          1.001003
    YAML                0.98    
    YAML::Syck          1.27    
    version             0.9908  


--

Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
   
  Platform:
    osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
    uname='Win32 strawberryperl 5.12.2.0 #1 Fri Nov  5 05:17:27 2010 i386'
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT  -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX',
    optimize='-s -O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='4.4.3', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"'
    libpth=C:\strawberry\c\lib C:\strawberry\c\i686-w64-mingw32\lib
    libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    libc=, so=dll, useshrplib=true, libperl=libperl512.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
                        PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
                        USE_SITECUSTOMIZE
  Built under MSWin32
  Compiled at Nov  5 2010 08:39:08
  %ENV:
    PERL5LIB="C:\strawberry\cpan\build\String-InterpolatedVariables-v1.1.0-0/blib/arch;C:\strawberry\cpan\build\String-InterpolatedVariables-v1.1.0-0/blib/lib;C:\strawberry\cpan\build\PPIx-QuoteLike-0.015-0/blib/arch;C:\strawberry\cpan\build\PPIx-QuoteLike-0.015-0/blib/lib"
    PERL5_CPANPLUS_IS_RUNNING="344"
    PERL5_CPAN_IS_RUNNING="344"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="1708,344"
    PERL_CR_SMOKER_CURRENT="Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-2.000000"
    PERL_CR_SMOKER_RUNONCE="1"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    C:\strawberry\cpan\build\String-InterpolatedVariables-v1.1.0-0/blib/arch
    C:\strawberry\cpan\build\String-InterpolatedVariables-v1.1.0-0/blib/lib
    C:\strawberry\cpan\build\PPIx-QuoteLike-0.015-0/blib/arch
    C:\strawberry\cpan\build\PPIx-QuoteLike-0.015-0/blib/lib
    C:/strawberry/perl/site/lib
    C:/strawberry/perl/vendor/lib
    C:/strawberry/perl/lib
    .