XML-XML2JSON v0.06 Perl 5 v5.18.4 x86_64-linux

Status
Pass
From
Andreas J. König (ANDK)
Dist
XML-XML2JSON v0.06
Platform
Perl 5 v5.18.4 x86_64-linux
Date
2018-07-08 19:09:47
ID
7b6d4adc-82e2-11e8-bc8d-48b39fc1d00c
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 Ken Prows,

This is a computer-generated report for XML-XML2JSON-0.06
on perl 5.18.4, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  Congratulations!
All tests were successful.

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 '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.18.4/da1c/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/XML-XML2JSON.t
# 
# Checking for compatible JSON modules (you need at least one):
# checking for JSON::Syck...
loaded module: JSON::Syck at /tmp/loop_over_bdir-23088-rYqp8I/XML-XML2JSON-0.06-0/blib/lib/XML/XML2JSON.pm line 164.
# JSON from JSON::Syck: {"@encoding":"UTF-8","test":{"empty":{"inner":{"@c":"d"}},"@xmlns:test":"http://test.example/test","censored":{},"data":{"@attr1":"test","$t":"some test text"},"test$nstest":{"@attr1":"bar"},"array":{"@perl":"awesome","item":[{"@index":"0"},{"@index":"1"},{"@index":"2"}]}},"@version":"1.0"}
# Reconstructed XML: <?xml version="1.0" encoding="UTF-8"?>
# <test xmlns:test="http://test.example/test"><array perl="awesome"><item index="0"/><item index="1"/><item index="2"/></array><data attr1="test">some test text</data><test:nstest attr1="bar"/><censored/><empty><inner c="d"/></empty></test>
# OK
# checking for JSON::XS...
loaded module: JSON::XS at /tmp/loop_over_bdir-23088-rYqp8I/XML-XML2JSON-0.06-0/blib/lib/XML/XML2JSON.pm line 164.
# JSON from JSON::XS: {"@version":"1.0","test":{"array":{"@perl":"awesome","item":[{"@index":"0"},{"@index":"1"},{"@index":"2"}]},"data":{"$t":"some test text","@attr1":"test"},"test$nstest":{"@attr1":"bar"},"censored":{},"empty":{"inner":{"@c":"d"}},"@xmlns:test":"http://test.example/test"},"@encoding":"UTF-8"}
# FAILED: Problem creating root element @encoding: bad name at /tmp/loop_over_bdir-23088-rYqp8I/XML-XML2JSON-0.06-0/blib/lib/XML/XML2JSON.pm line 760.
# checking for JSON...
loaded module: JSON at /tmp/loop_over_bdir-23088-rYqp8I/XML-XML2JSON-0.06-0/blib/lib/XML/XML2JSON.pm line 164.
# JSON from JSON: {"test":{"@xmlns:test":"http://test.example/test","empty":{"inner":{"@c":"d"}},"censored":{},"data":{"$t":"some test text","@attr1":"test"},"test$nstest":{"@attr1":"bar"},"array":{"item":[{"@index":"0"},{"@index":"1"},{"@index":"2"}],"@perl":"awesome"}},"@version":"1.0","@encoding":"UTF-8"}
# Reconstructed XML: <?xml version="1.0" encoding="UTF-8"?>
# <test xmlns:test="http://test.example/test"><censored/><empty><inner c="d"/></empty><array perl="awesome"><item index="0"/><item index="1"/><item index="2"/></array><test:nstest attr1="bar"/><data attr1="test">some test text</data></test>
# OK
# checking for JSON::DWIW...
# NOT FOUND
# compatible JSON modules found: 2
t/XML-XML2JSON.t .. ok
All tests successful.
Files=1, Tests=2,  0 wallclock secs ( 0.01 usr  0.02 sys +  0.27 cusr  0.06 csys =  0.36 CPU)
Result: PASS

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

Prerequisite modules loaded:

requires:

    Module              Need Have    
    ------------------- ---- --------
    Test::More          0    1.302136
    XML::LibXML         1.59 2.0128  

build_requires:

    Module              Need Have    
    ------------------- ---- --------
    ExtUtils::MakeMaker 0    7.35_03 


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 23089
    PERL5_CPAN_IS_RUNNING = 23089
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen

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

    $^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.18.4/da1c/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.20    
    CPAN::Meta          2.150010
    Cwd                 3.74    
    ExtUtils::CBuilder  0.280230
    ExtUtils::Command   7.35_03 
    ExtUtils::Install   2.06    
    ExtUtils::MakeMaker 7.35_03 
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.35    
    File::Spec          3.74    
    JSON                2.97001 
    JSON::PP            2.97001 
    Module::Build       0.4224  
    Module::Signature   0.81    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.39    
    Test::More          1.302136
    YAML                1.26    
    YAML::Syck          1.30    
    version             0.9923  


--

Summary of my perl5 (revision 5 version 18 subversion 4) configuration:
  Derived from: 51202371ba68f3f52f13124a3ea1bc3c171e0ee2
  Platform:
    osname=linux, osvers=4.14.0-3-amd64, archname=x86_64-linux
    uname='linux k93msid 4.14.0-3-amd64 #1 smp debian 4.14.12-2 (2018-01-06) x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.18.4/da1c -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Uuseithreads -Uuselongdouble -DEBUGGING=-g'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='7.2.0', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
    libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.26.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.26'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV PERL_SAWAMPERSAND PERL_USE_DEVEL
                        USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Locally applied patches:
	uncommitted-changes
  Built under linux
  Compiled at Jan  8 2018 22:45:12
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="23089"
    PERL5_CPAN_IS_RUNNING="23089"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.18.4/da1c/lib/site_perl/5.18.4/x86_64-linux
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.18.4/da1c/lib/site_perl/5.18.4
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.18.4/da1c/lib/5.18.4/x86_64-linux
    /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.18.4/da1c/lib/5.18.4
    .