Back
From: Alexandr Ciornii (CHORNY)
Subject: PASS File-FindSimilars-2.07 v5.16.3
Date: 2015-08-31T17:10:01Z
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-FindSimilars-2.07
on perl 5.16.3, created by CPAN-Reporter-1.2014.
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 'C:\strawberry163\c\bin\dmake.exe test':
C:\strawberry163\perl\bin\perl.exe -MExtUtils::Command -e cp -- bin/findsimilars blib\script\findsimilars
pl2bat.bat blib\script\findsimilars
C:\strawberry163\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
# Testing File::FindSimilars 2.07, Perl 5.016003, C:\strawberry163\perl\bin\perl.exe
t/00-load.t .. ok
t/pod.t ...... ok
All tests successful.
Files=2, Tests=8, 1 wallclock secs ( 0.02 usr + 0.06 sys = 0.08 CPU)
Result: PASS
C:\strawberry163\perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl
1..5 todo 2;
# Running under perl version 5.016003 for MSWin32
# Current time local: Mon Aug 31 20:09:56 2015
# Current time GMT: Mon Aug 31 17:09:56 2015
# Using Test.pm version 1.26
# Testing File::FindSimilars version 2.07
== Testing 1, test.tgz file content:
test/
test/Audio Book - The Grey Coloured Bunnie.mp3
test/GNU - Python Standard Library (2001).rar
test/PopupTest.java
test/(eBook) GNU - Python Standard Library 2001.pdf
test/Python Standard Library.zip
test/GNU - 2001 - Python Standard Library.pdf
test/LayoutTest.java
test/ColoredGrayBunny.ogg
"tar" ¥ ï¥âáï ¢ãâ॥© ¨«¨ ¢¥è¥©
ª®¬ ¤®©, ¨á¯®«ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥âë¬ ä ©«®¬.
not ok 1
# Test 1 got: "" (test.pl at line 65)
# Expected: "test/\ntest/Audio Book - The Grey Coloured Bunnie.mp3\ntest/GNU - Python Standard Library (2001).rar\ntest/PopupTest.java\ntest/(eBook) GNU - Python Standard Library 2001.pdf\ntest/Python Standard Library.zip\ntest/GNU - 2001 - Python Standard Library.pdf\ntest/LayoutTest.java\ntest/ColoredGrayBunny.ogg\n"
# Lines 1-1 are missing:
# - "test/\n"
# - "test/Audio Book - The Grey Coloured Bunnie.mp3\n"
# - "test/GNU - Python Standard Library (2001).rar\n"
# - "test/PopupTest.java\n"
# - "test/(eBook) GNU - Python Standard Library 2001.pdf\n"
# - "test/Python Standard Library.zip\n"
# - "test/GNU - 2001 - Python Standard Library.pdf\n"
# - "test/LayoutTest.java\n"
# - "test/ColoredGrayBunny.ogg\n"
# test.pl line 65 is: ok($result1,$result0) || print $result1;
"LANG" ¥ ï¥âáï ¢ãâ॥© ¨«¨ ¢¥è¥©
ª®¬ ¤®©, ¨á¯®«ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥âë¬ ä ©«®¬.
== Testing 2, files under test/ subdir:
9 test/(eBook) GNU - Python Standard Library 2001.pdf
3 test/Audio Book - The Grey Coloured Bunnie.mp3
5 test/ColoredGrayBunny.ogg
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
"tail" ¥ ï¥âáï ¢ãâ॥© ¨«¨ ¢¥è¥©
ª®¬ ¤®©, ¨á¯®«ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥âë¬ ä ©«®¬.
not ok 2
# Test 2 got: "" (test.pl at line 83 *TODO*)
# Expected: " 9 test/(eBook) GNU - Python Standard Library 2001.pdf\n 3 test/Audio Book - The Grey Coloured Bunnie.mp3\n 5 test/ColoredGrayBunny.ogg\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"
# Lines 1-1 are missing:
# - " 9 test/(eBook) GNU - Python Standard Library 2001.pdf\n"
# - " 3 test/Audio Book - The Grey Coloured Bunnie.mp3\n"
# - " 5 test/ColoredGrayBunny.ogg\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"
# test.pl line 83 is: ok($strs,$result0) || print $strs;
Note:
- The findsimilars script will pick out similar files from them in next test.
- Let's assume that the number represent the file size in KB.
== Testing 3 result should be:
## =========
3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'
5 'ColoredGrayBunny.ogg' 'test/'
## =========
4 'GNU - Python Standard Library (2001).rar' 'test/'
5 'GNU - 2001 - Python Standard Library.pdf' 'test/'
not ok 3
# Test 3 got: "" (test.pl at line 105)
# Expected: "\n## =========\n 3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n 5 'ColoredGrayBunny.ogg' 'test/'\n\n## =========\n 4 'GNU - Python Standard Library (2001).rar' 'test/'\n 5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n"
# Lines 1-1 are missing:
# - "\n"
# - "## =========\n"
# - " 3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n"
# - " 5 'ColoredGrayBunny.ogg' 'test/'\n"
# - "\n"
# - "## =========\n"
# - " 4 'GNU - Python Standard Library (2001).rar' 'test/'\n"
# - " 5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n"
# test.pl line 105 is: ok($result1,$result0) || print $result1;
Note:
- There are 2 groups of similar files picked out by the script.
- The similar files are picked because their file names look similar.
Note that the first group looks different and spells differently too,
which means that the script is versatile enough to handle file names that
don't have space in it, and robust enough to deal with spelling mistakes.
- Apart from the file name, the file size plays an important role as well.
- There are 2 files in the second similar files group, the book 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 4, if Python.zip is bigger, result should be:
## =========
3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'
5 'ColoredGrayBunny.ogg' 'test/'
## =========
4 'Python Standard Library.zip' 'test/'
4 'GNU - Python Standard Library (2001).rar' 'test/'
5 'GNU - 2001 - Python Standard Library.pdf' 'test/'
"LANG" ¥ ï¥âáï ¢ãâ॥© ¨«¨ ¢¥è¥©
ª®¬ ¤®©, ¨á¯®«ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥âë¬ ä ©«®¬.
not ok 4
# Test 4 got: "" (test.pl at line 136)
# Expected: "\n## =========\n 3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n 5 'ColoredGrayBunny.ogg' '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"
# Lines 1-1 are missing:
# - "\n"
# - "## =========\n"
# - " 3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n"
# - " 5 'ColoredGrayBunny.ogg' '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 line 136 is: ok($result1,$result0) || print $result1;
Note:
- There are now 3 files in the book files group.
- The file 'Python Standard Library.zip' is included in the
group because its size is now similar to the group.
== Testing 5, if Python.zip is even bigger, result should be:
## =========
3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'
5 'ColoredGrayBunny.ogg' '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/'
"LANG" ¥ ï¥âáï ¢ãâ॥© ¨«¨ ¢¥è¥©
ª®¬ ¤®©, ¨á¯®«ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥âë¬ ä ©«®¬.
not ok 5
# Test 5 got: "" (test.pl at line 162)
# Expected: "\n## =========\n 3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n 5 'ColoredGrayBunny.ogg' '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"
# Lines 1-1 are missing:
# - "\n"
# - "## =========\n"
# - " 3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n"
# - " 5 'ColoredGrayBunny.ogg' '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 line 162 is: ok($result1,$result0) || print $result1;
Note:
- There are 4 files in the book files group now.
- 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 one
is now included in the book group.
- If the size of file 'Python Standard Library.zip' is 12(KB), then the
book files group will be split into two. Do you know why and
which files each group will contain?
dmake.exe: Warning: -- Target [blib\script\findsimilars] was made but the time stamp has not been updated.
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
--------------------- ---- --------
Class::Accessor::Fast 0 0.34
Getopt::Long 0 2.42
Pod::Usage 0 1.63
Test::More 0 1.001002
Text::Soundex 0 3.04
build_requires:
Module Need Have
--------------------- ---- --------
ExtUtils::MakeMaker 0 6.64
configure_requires:
Module Need Have
--------------------- ---- --------
ExtUtils::MakeMaker 0 6.64
------------------------------
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;C:\WINDOWS\System32\Wbem;C:\strawberry163\c\bin;C:\strawberry163\perl\site\bin;C:\strawberry163\perl\bin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 1212
PERL5_CPAN_IS_RUNNING = 1212
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1520,1212
PERL_CR_SMOKER_CURRENT = File-FindSimilars-2.07
PERL_CR_SMOKER_RUNONCE = 1
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
PROCESSOR_IDENTIFIER = x86 Family 16 Model 5 Stepping 3, AuthenticAMD
TEMP = C:\DOCUME~1\c\LOCALS~1\Temp
TERM = dumb
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = C:\strawberry163\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.10
CPAN::Meta 2.140640
Cwd 3.40
ExtUtils::CBuilder 0.280206
ExtUtils::Command 1.17
ExtUtils::Install 1.58
ExtUtils::MakeMaker 6.64
ExtUtils::Manifest 1.61
ExtUtils::ParseXS 3.24
File::Spec 3.40
JSON 2.90
JSON::PP 2.27203
Module::Build 0.4205
Module::Signature 0.70
Parse::CPAN::Meta 1.4414
Test::Harness 3.30
Test::More 1.001002
YAML 0.90
YAML::Syck 1.24
version 0.9902
--
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname='Win32 strawberry-perl 5.16.3.1 #1 Tue Mar 12 13:55:20 2013 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 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.6.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:\strawberry163\perl\lib\CORE" -L"C:\strawberry163\c\lib"'
libpth=C:\strawberry163\c\lib C:\strawberry163\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=libperl516.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry163\perl\lib\CORE" -L"C:\strawberry163\c\lib"'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC
USE_ITHREADS USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under MSWin32
Compiled at Mar 12 2013 14:01:07
%ENV:
PERL5_CPANPLUS_IS_RUNNING="1212"
PERL5_CPAN_IS_RUNNING="1212"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="1520,1212"
PERL_CR_SMOKER_CURRENT="File-FindSimilars-2.07"
PERL_CR_SMOKER_RUNONCE="1"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
C:/strawberry163/perl/site/lib
C:/strawberry163/perl/vendor/lib
C:/strawberry163/perl/lib
.