Report for File-Similars-1.7

Back
From: metabase:user:e3434da8-b236-11df-85ca-0247c6d74bde
Subject: PASS File-Similars-1.7 v5.12.4 GNU/Linux
Date: 2011-08-03T22:32:34Z

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 Tong Sun,

This is a computer-generated report for File-Similars-1.7
on perl 5.12.4, created by CPAN-Reporter-1.1902.

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/perl512/testing/perl5.12.4/bin/perl5.12.4 "-Iblib/lib" "-Iblib/arch" test.pl
1..4 todo 1;
# Running under perl version 5.012004 for linux
# Current time local: Thu Aug  4 00:32:33 2011
# Current time GMT:   Wed Aug  3 22:32:33 2011
# Using Test.pm version 1.25_02
# Testing File::Searcher::Similars version 1.27

== Testing 1, files under test/ subdir:

  9 test/(eBook) GNU - Python Standard Library 2001.pdf
  3 test/CardLayoutTest.java
  5 test/GNU - 2001 - Python Standard Library.pdf
  4 test/GNU - Python Standard Library (2001).rar
  9 test/LayoutTest.java
  3 test/PopupTest.java
  2 test/Python Standard Library.zip
  5 test/TestLayout.java
ok 1 # (test.pl at line 55 TODO?!)

Note:

- The fileSimilars.pl script will pick out similar files from them in next test.
- Let's assume that the number represent the file size in KB.

== Testing 2 result should be:

## =========
           3 'CardLayoutTest.java' 'test/'
           5 'TestLayout.java' 'test/'

## =========
           4 'GNU - Python Standard Library (2001).rar' 'test/'
           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'
not ok 2
# Test 2 got: "\n## =========\n           3 'PopupTest.java' 'test/'\n           3 'CardLayoutTest.java' 'test/'\n\n## =========\n           5 'TestLayout.java' 'test/'\n           9 'LayoutTest.java' 'test/'\n\n## =========\n           4 'GNU - Python Standard Library (2001).rar' 'test/'\n           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n" (test.pl at line 76)
#   Expected: "\n## =========\n           3 'CardLayoutTest.java' 'test/'\n           5 'TestLayout.java' 'test/'\n\n## =========\n           4 'GNU - Python Standard Library (2001).rar' 'test/'\n           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n"
#   Got 1 extra line at line 3:
#    + "           3 'PopupTest.java' 'test/'\n"
#   Got 2 extra lines at line 5:
#    + "\n"
#    + "## =========\n"
#   Got 1 extra line at line 8:
#    + "           9 'LayoutTest.java' 'test/'\n"
#  test.pl line 76 is: ok($result1,$result0) || print $result1;

## =========
           3 'PopupTest.java' 'test/'
           3 'CardLayoutTest.java' 'test/'

## =========
           5 'TestLayout.java' 'test/'
           9 'LayoutTest.java' 'test/'

## =========
           4 'GNU - Python Standard Library (2001).rar' 'test/'
           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'

Note:

- There are 2 groups of similar files picked out by the script.
  The second group makes more sense.
- The similar files are picked because their file names look similar.
- However, the file size plays an important role as well.
- There are 2 files in the second similar files group.
- The file 'Python Standard Library.zip' is not considered to be similar to
  the group because its size is not similar to the group.

== Testing 3, if Python.zip is bigger, result should be:

## =========
           3 'CardLayoutTest.java' 'test/'
           5 'TestLayout.java' 'test/'

## =========
           4 'Python Standard Library.zip' 'test/'
           4 'GNU - Python Standard Library (2001).rar' 'test/'
           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'
not ok 3
# Test 3 got: "\n## =========\n           3 'PopupTest.java' 'test/'\n           3 'CardLayoutTest.java' 'test/'\n\n## =========\n           5 'TestLayout.java' 'test/'\n           9 'LayoutTest.java' 'test/'\n\n## =========\n           4 'Python Standard Library.zip' 'test/'\n           4 'GNU - Python Standard Library (2001).rar' 'test/'\n           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n" (test.pl at line 104)
#   Expected: "\n## =========\n           3 'CardLayoutTest.java' 'test/'\n           5 'TestLayout.java' 'test/'\n\n## =========\n           4 'Python Standard Library.zip' 'test/'\n           4 'GNU - Python Standard Library (2001).rar' 'test/'\n           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n"
#   Got 1 extra line at line 3:
#    + "           3 'PopupTest.java' 'test/'\n"
#   Got 2 extra lines at line 5:
#    + "\n"
#    + "## =========\n"
#   Got 1 extra line at line 8:
#    + "           9 'LayoutTest.java' 'test/'\n"
#  test.pl line 104 is: ok($result1,$result0) || print $result1;

## =========
           3 'PopupTest.java' 'test/'
           3 'CardLayoutTest.java' 'test/'

## =========
           5 'TestLayout.java' 'test/'
           9 'LayoutTest.java' 'test/'

## =========
           4 'Python Standard Library.zip' 'test/'
           4 'GNU - Python Standard Library (2001).rar' 'test/'
           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'

Note:

- There are 3 files in the second similar files group.
- The file 'Python Standard Library.zip' is now in the 2nd similar files
  group because its size is now similar to the group.

== Testing 4, if Python.zip is even bigger, result should be:

## =========
           3 'CardLayoutTest.java' 'test/'
           5 'TestLayout.java' 'test/'

## =========
           4 'GNU - Python Standard Library (2001).rar'       'test/'
           5 'GNU - 2001 - Python Standard Library.pdf'       'test/'
           6 'Python Standard Library.zip'                    'test/'
           9 '(eBook) GNU - Python Standard Library 2001.pdf' 'test/'
not ok 4
# Test 4 got: "\n## =========\n           3 'PopupTest.java' 'test/'\n           3 'CardLayoutTest.java' 'test/'\n\n## =========\n           5 'TestLayout.java' 'test/'\n           9 'LayoutTest.java' 'test/'\n\n## =========\n           4 'GNU - Python Standard Library (2001).rar'       'test/'\n           5 'GNU - 2001 - Python Standard Library.pdf'       'test/'\n           6 'Python Standard Library.zip'                    'test/'\n           9 '(eBook) GNU - Python Standard Library 2001.pdf' 'test/'\n" (test.pl at line 129)
#   Expected: "\n## =========\n           3 'CardLayoutTest.java' 'test/'\n           5 'TestLayout.java' 'test/'\n\n## =========\n           4 'GNU - Python Standard Library (2001).rar'       'test/'\n           5 'GNU - 2001 - Python Standard Library.pdf'       'test/'\n           6 'Python Standard Library.zip'                    'test/'\n           9 '(eBook) GNU - Python Standard Library 2001.pdf' 'test/'\n"
#   Got 1 extra line at line 3:
#    + "           3 'PopupTest.java' 'test/'\n"
#   Got 2 extra lines at line 5:
#    + "\n"
#    + "## =========\n"
#   Got 1 extra line at line 8:
#    + "           9 'LayoutTest.java' 'test/'\n"
#  test.pl line 129 is: ok($result1,$result0) || print $result1;

## =========
           3 'PopupTest.java' 'test/'
           3 'CardLayoutTest.java' 'test/'

## =========
           5 'TestLayout.java' 'test/'
           9 'LayoutTest.java' 'test/'

## =========
           4 'GNU - Python Standard Library (2001).rar'       'test/'
           5 'GNU - 2001 - Python Standard Library.pdf'       'test/'
           6 'Python Standard Library.zip'                    'test/'
           9 '(eBook) GNU - Python Standard Library 2001.pdf' 'test/'

Note:

- There are 4 files in the second similar files group.
- The file 'Python Standard Library.zip' is still in the group.
- But this time, because it is also considered to be similar to the .pdf
  file (since their size are now similar, 6 vs 9), a 4th file the .pdf
  is now included in the 2nd group.
- If the size of file 'Python Standard Library.zip' is 12(KB), then the
  second similar files group will be split into two. Do you know why and
  which files each group will contain?

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

Prerequisite modules loaded:

requires:

    Module          Need Have
    --------------- ---- ----
    Class::Accessor 0    0.34
    Test::More      0    0.98


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.UTF-8
    LC_COLLATE = C
    LC_MONETARY = nl_NL.utf8
    PATH = /home/tester/perl5/perlbrew/bin:/home/tester/perl5/perlbrew/perls/perl-5.15.1/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/tester/bin:/home/tester/bin
    PATH_WITHOUT_PERLBREW = /usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/tester/bin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 10118
    PERL5_CPAN_IS_RUNNING = 10118
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 4237,10118
    PERLBREW_PATH = /home/tester/perl5/perlbrew/bin:/home/tester/perl5/perlbrew/perls/perl-5.15.1/bin
    PERLBREW_PERL = perl-5.15.1
    PERLBREW_ROOT = /home/tester/perl5/perlbrew
    PERLBREW_VERSION = 0.15
    PERL_CR_SMOKER_CURRENT = File-Similars-1.7
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/bash
    TERM = screen

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

    $^X = /home/perl512/testing/perl5.12.4/bin/perl5.12.4
    $UID/$EUID = 505 / 505
    $GID = 505 501 505
    $EGID = 505 501 505

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                1.94_56 
    Cwd                 3.31    
    ExtUtils::CBuilder  0.280202
    ExtUtils::Command   1.16    
    ExtUtils::Install   1.55    
    ExtUtils::MakeMaker 6.56    
    ExtUtils::Manifest  1.57    
    ExtUtils::ParseXS   2.21    
    File::Spec          3.31_01 
    Module::Build       0.3800  
    Module::Signature   n/a     
    Test::Harness       3.17    
    Test::More          0.98    
    YAML                0.73    
    YAML::Syck          1.17    
    version             0.91    


--

Summary of my perl5 (revision 5 version 12 subversion 4) configuration:
   
  Platform:
    osname=linux, osvers=2.6.35.11-83.fc14.x86_64, archname=x86_64-linux-thread-multi
    uname='linux firenze.fritz.box 2.6.35.11-83.fc14.x86_64 #1 smp mon feb 7 07:06:44 utc 2011 x86_64 x86_64 x86_64 gnulinux '
    config_args='-Dprefix=/home/perl512/testing/perl5.12.4 -Dusedevel -Dusethreads -des'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.5.1 20100924 (Red Hat 4.5.1-4)', 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/../lib64 /usr/lib/../lib64 /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_USE_DEVEL
                        USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Built under linux
  Compiled at Jun 20 2011 20:29:40
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="10118"
    PERL5_CPAN_IS_RUNNING="10118"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="4237,10118"
    PERLBREW_PATH="/home/tester/perl5/perlbrew/bin:/home/tester/perl5/perlbrew/perls/perl-5.15.1/bin"
    PERLBREW_PERL="perl-5.15.1"
    PERLBREW_ROOT="/home/tester/perl5/perlbrew"
    PERLBREW_VERSION="0.15"
    PERL_CR_SMOKER_CURRENT="File-Similars-1.7"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /home/perl512/testing/perl5.12.4/lib/site_perl/5.12.4/x86_64-linux-thread-multi
    /home/perl512/testing/perl5.12.4/lib/site_perl/5.12.4
    /home/perl512/testing/perl5.12.4/lib/5.12.4/x86_64-linux-thread-multi
    /home/perl512/testing/perl5.12.4/lib/5.12.4
    .