Report for File-Similars-1.7

Back
From: metabase:user:30f0bd62-2aae-11df-837a-5e0a49663a4f
Subject: PASS File-Similars-1.7 v5.15.5 OpenBSD
Date: 2011-12-06T09:45:41Z

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.15.5, created by CPAN-Reporter-1.2002.

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/sts/cpansmoke/perl-5.15.5/bin/perl5.15.5 "-Iblib/lib" "-Iblib/arch" test.pl
1..4 todo 1;
# Running under perl version 5.015005 for openbsd
# Current time local: Tue Dec  6 10:45:40 2011
# Current time GMT:   Tue Dec  6 09:45:40 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
find: -printf: unknown option
not ok 1
# Test 1 got: "" (test.pl at line 55 *TODO*)
#   Expected: "  9 test/(eBook) GNU - Python Standard Library 2001.pdf\n  3 test/CardLayoutTest.java\n  5 test/GNU - 2001 - Python Standard Library.pdf\n  4 test/GNU - Python Standard Library (2001).rar\n  9 test/LayoutTest.java\n  3 test/PopupTest.java\n  2 test/Python Standard Library.zip\n  5 test/TestLayout.java\n"
#     (Install the Algorithm::Diff module to have differences in multiline
#      output explained.  You might also set the PERL_TEST_DIFF environment
#      variable to run a diff program on the output.)
#  test.pl line 55 is: ok($strs,$result0) || print $strs;

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/'
ok 2

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/'
ok 3

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/'
ok 4

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   

build_requires:

    Module              Need Have   
    ------------------- ---- -------
    ExtUtils::MakeMaker 0    6.63_02


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

Environment variables:

    AUTOMATED_TESTING = 1
    PATH = /home/sts/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
    PERL5LIB = /home/sts/cpansmoke/perl-5.15.5/cpan/build/Class-Accessor-0.34-KTPVPO/blib/arch:/home/sts/cpansmoke/perl-5.15.5/cpan/build/Class-Accessor-0.34-KTPVPO/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 31892
    PERL5_CPAN_IS_RUNNING = 31892
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 20773,31892
    PERL_CR_SMOKER_CURRENT = File-Similars-1.7
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    SHELL = /usr/local/bin/bash
    TERM = screen
    TMPDIR = /home/sts/cpansmoke/tmp

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

    $^X = /home/sts/cpansmoke/perl-5.15.5/bin/perl5.15.5
    $UID/$EUID = 1000 / 1000
    $GID = 10 10 0
    $EGID = 10 10 0

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                1.9800  
    CPAN::Meta          2.112621
    Cwd                 3.37    
    ExtUtils::CBuilder  0.280204
    ExtUtils::Command   1.17    
    ExtUtils::Install   1.57    
    ExtUtils::MakeMaker 6.63_02 
    ExtUtils::Manifest  1.60    
    ExtUtils::ParseXS   3.05    
    File::Spec          3.34    
    JSON                n/a     
    JSON::PP            2.27200 
    Module::Build       0.39_01 
    Module::Signature   n/a     
    Parse::CPAN::Meta   1.4401  
    Test::Harness       3.23    
    Test::More          0.98    
    YAML                n/a     
    YAML::Syck          n/a     
    version             0.93    


--

Summary of my perl5 (revision 5 version 15 subversion 5) configuration:
   
  Platform:
    osname=openbsd, osvers=5.0, archname=OpenBSD.i386-openbsd-thread-multi
    uname='openbsd cpansmoke3 5.0 generic.mp#59 i386 '
    config_args='-des -Dusedevel -Dusethreads -Dprefix=/home/sts/cpansmoke/perl-5.15.5'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-pthread -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
    optimize='-O2',
    cppflags='-pthread -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 20070719 ', gccosandvers='openbsd5.0'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-pthread -Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-lgdbm -lm -lutil -lc
    perllibs=-lm -lutil -lc
    libc=/usr/lib/libc.so.60.1, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC  -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY MYMALLOC PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_USE_DEVEL
                        USE_ITHREADS USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Built under openbsd
  Compiled at Nov 20 2011 22:32:20
  %ENV:
    PERL5LIB="/home/sts/cpansmoke/perl-5.15.5/cpan/build/Class-Accessor-0.34-KTPVPO/blib/arch:/home/sts/cpansmoke/perl-5.15.5/cpan/build/Class-Accessor-0.34-KTPVPO/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="31892"
    PERL5_CPAN_IS_RUNNING="31892"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="20773,31892"
    PERL_CR_SMOKER_CURRENT="File-Similars-1.7"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /home/sts/cpansmoke/perl-5.15.5/cpan/build/Class-Accessor-0.34-KTPVPO/blib/arch
    /home/sts/cpansmoke/perl-5.15.5/cpan/build/Class-Accessor-0.34-KTPVPO/blib/lib
    /home/sts/cpansmoke/perl-5.15.5/lib/site_perl/5.15.5/OpenBSD.i386-openbsd-thread-multi
    /home/sts/cpansmoke/perl-5.15.5/lib/site_perl/5.15.5
    /home/sts/cpansmoke/perl-5.15.5/lib/5.15.5/OpenBSD.i386-openbsd-thread-multi
    /home/sts/cpansmoke/perl-5.15.5/lib/5.15.5
    .