mirror of
https://github.com/imapsync/imapsync.git
synced 2025-06-10 06:34:37 +02:00
1.555
This commit is contained in:
parent
6ff9b67554
commit
ce6842565f
21 changed files with 4740 additions and 1450 deletions
50
ChangeLog
50
ChangeLog
|
@ -1,17 +1,59 @@
|
|||
|
||||
RCS file: RCS/imapsync,v
|
||||
Working file: imapsync
|
||||
head: 1.547
|
||||
head: 1.555
|
||||
branch:
|
||||
locks: strict
|
||||
gilles: 1.547
|
||||
gilles: 1.555
|
||||
access list:
|
||||
symbolic names:
|
||||
keyword substitution: kv
|
||||
total revisions: 547; selected revisions: 547
|
||||
total revisions: 555; selected revisions: 555
|
||||
description:
|
||||
----------------------------
|
||||
revision 1.547 locked by: gilles;
|
||||
revision 1.555 locked by: gilles;
|
||||
date: 2013/07/23 11:41:10; author: gilles; state: Exp; lines: +7 -6
|
||||
Fix warning for extract_header()
|
||||
----------------------------
|
||||
revision 1.554
|
||||
date: 2013/07/22 01:23:12; author: gilles; state: Exp; lines: +7 -7
|
||||
typo - when error printed.
|
||||
----------------------------
|
||||
revision 1.553
|
||||
date: 2013/07/22 01:18:30; author: gilles; state: Exp; lines: +9 -7
|
||||
Bug fix. Header lines can contain \r\n.
|
||||
----------------------------
|
||||
revision 1.552
|
||||
date: 2013/07/22 00:51:52; author: gilles; state: Exp; lines: +74 -11
|
||||
Added "Subject: lala" when line length exceeds maxlinelength to help ti find what are those messages. Added also size, flags and internal date.
|
||||
----------------------------
|
||||
revision 1.551
|
||||
date: 2013/07/19 14:05:50; author: gilles; state: Exp; lines: +698 -650
|
||||
Added option --maxlinelength to skip messages whose max line length is over a number of bytes.
|
||||
----------------------------
|
||||
revision 1.550
|
||||
date: 2013/07/19 00:13:22; author: gilles; state: Exp; lines: +1029 -585
|
||||
Added success Domino 8.5.2
|
||||
Added option --messageidnodomain to fix Mailenable bug changing the domain part of Message-Id header, and avoid duplicates
|
||||
Added option --syncflagsaftercopy to fix Mailenable bug not getting the flags with the APPEND.
|
||||
Added back the banner of IMAP servers, ie, the first line given after the connection established.
|
||||
Added --fixInboxINBOX, turned on by default, to map automatically Inbox INBOX folder names.
|
||||
IMAP server removing consecutive spaces on the header part doesn't generate duplicates (MailEnable does that).
|
||||
Better output of mailbox sizes in human style (could be 1024.00 Kib, now it is 1.000 Mib). Changed bytes_display_string().
|
||||
Option --debugflags now prints flags on first sync (the copy) and also the PERMANENTFLAGS outpout.
|
||||
Fixed nearly 200 perlcritic at level 3, all level 4. Still 5 eval "" at level 5 and 12 critics at level 3.
|
||||
----------------------------
|
||||
revision 1.549
|
||||
date: 2013/07/06 01:09:03; author: gilles; state: Exp; lines: +81 -11
|
||||
Fixed two bugs coming from adding return( ) at the end of functions.
|
||||
Added tests to remove Disposition-Notification-To: header with regexmess:.
|
||||
----------------------------
|
||||
revision 1.548
|
||||
date: 2013/07/04 02:25:05; author: gilles; state: Exp; lines: +247 -201
|
||||
Removed all perlcritic severity 4. Still 5 critics at severity 5.
|
||||
98 critics severity 4 fixed.
|
||||
----------------------------
|
||||
revision 1.547
|
||||
date: 2013/07/03 01:24:34; author: gilles; state: Exp; lines: +11 -8
|
||||
DBOX 2.41 success.
|
||||
Kerio 8 success.
|
||||
|
|
5
FAQ
5
FAQ
|
@ -1,5 +1,5 @@
|
|||
#!/bin/cat
|
||||
# $Id: FAQ,v 1.134 2013/06/02 23:34:02 gilles Exp gilles $
|
||||
# $Id: FAQ,v 1.135 2013/07/23 11:28:22 gilles Exp gilles $
|
||||
|
||||
+------------------+
|
||||
| FAQ for imapsync |
|
||||
|
@ -1703,6 +1703,9 @@ R: --sep1 "/" --prefix1 ""
|
|||
Q: From MailEnable 2.2
|
||||
R: --sep1 "." --prefix1 ""
|
||||
|
||||
Q: To MailEnable
|
||||
R: --sep2 / --prefix2 "" --addheader --messageidnodomain --syncflagsaftercopy
|
||||
|
||||
======================================================================
|
||||
Q. From GMX IMAP4 StreamProxy
|
||||
R. Use:
|
||||
|
|
30
Makefile
30
Makefile
|
@ -1,5 +1,5 @@
|
|||
|
||||
# $Id: Makefile,v 1.121 2013/06/02 23:34:14 gilles Exp gilles $
|
||||
# $Id: Makefile,v 1.123 2013/07/23 11:27:18 gilles Exp gilles $
|
||||
|
||||
.PHONY: help usage all
|
||||
|
||||
|
@ -21,6 +21,7 @@ usage:
|
|||
@echo "make imapsync.exe"
|
||||
@echo "make imapsync_elf_x86.bin"
|
||||
@echo "make publish"
|
||||
@echo "make perlcritic"
|
||||
|
||||
|
||||
PREFIX ?= /usr
|
||||
|
@ -98,7 +99,18 @@ cidone:
|
|||
###############
|
||||
|
||||
|
||||
.PHONY: test tests testp testf test3xx testv3
|
||||
.PHONY: test tests testp testf test3xx testv3 perlcritic
|
||||
|
||||
perlcritic: perlcritic_3.out perlcritic_2.out perlcritic_1.out
|
||||
|
||||
perlcritic_1.out: imapsync
|
||||
perlcritic -1 imapsync > perlcritic_1.out || :
|
||||
|
||||
perlcritic_2.out: imapsync
|
||||
perlcritic -2 imapsync > perlcritic_2.out || :
|
||||
|
||||
perlcritic_3.out: imapsync
|
||||
perlcritic -3 imapsync > perlcritic_3.out || :
|
||||
|
||||
test_quick : test_quick_3xx
|
||||
|
||||
|
@ -121,7 +133,7 @@ tests: test
|
|||
|
||||
testf: clean_test test
|
||||
|
||||
.PHONY: lfo upload_lfo niouze_lfo niouze_fm public imapsync_cidone
|
||||
.PHONY: lfo upload_lfo public imapsync_cidone
|
||||
|
||||
.dosify_bat: W/*.bat examples/*.bat
|
||||
unix2dos W/*.bat examples/*.bat
|
||||
|
@ -216,7 +228,7 @@ imapsync_elf_x86.bin: imapsync
|
|||
./imapsync_elf_x86.bin
|
||||
|
||||
|
||||
lfo: cidone niouze_lfo upload_lfo
|
||||
lfo: cidone upload_lfo
|
||||
|
||||
|
||||
tarball: .tarball
|
||||
|
@ -300,7 +312,7 @@ ml: dist_dir
|
|||
mailq
|
||||
|
||||
|
||||
upload_ks: ci dist
|
||||
upload_ks: ci
|
||||
rsync -lptvHzP $(PUBLIC_FILES) \
|
||||
root@ks.lamiral.info:/var/www/imapsync/
|
||||
rsync -lptvHzP $(PUBLIC_FILES_W) \
|
||||
|
@ -331,11 +343,3 @@ upload_index: FAQ LICENSE CREDITS W/*.bat examples/*.bat examples/sync_loop_unix
|
|||
rsync -avH W/*.bat root@ks.lamiral.info:/var/www/imapsync/W/
|
||||
rsync -avH examples/*.bat examples/sync_loop_unix.sh root@ks.lamiral.info:/var/www/imapsync/examples/
|
||||
|
||||
niouze_lfo :
|
||||
echo "CORRECT ME: . ./memo && lfo_announce"
|
||||
|
||||
niouze_fm: VERSION
|
||||
. ./memo && fm_announce
|
||||
|
||||
|
||||
public: niouze_fm
|
||||
|
|
8
README
8
README
|
@ -4,7 +4,7 @@ NAME
|
|||
More than 52 different IMAP server softwares supported with success, few
|
||||
failures.
|
||||
|
||||
$Revision: 1.547 $
|
||||
$Revision: 1.555 $
|
||||
|
||||
SYNOPSIS
|
||||
To synchronize imap account "foo" on "imap.truc.org" to imap account
|
||||
|
@ -343,8 +343,8 @@ IMAP SERVERS
|
|||
- DBOX 2.41 System [host1] (http://www.dbox.handshake.de/).
|
||||
- Deerfield VisNetic MailServer 5.8.6 [host1]
|
||||
- dkimap4 [host1]
|
||||
- Domino (Notes) 4.61[host1], 6.5[host1], 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1,
|
||||
7.0.1[host1], 8.0.1[host1], 8.5.2[host2]
|
||||
- Domino (Notes) 4.61 [host1], 6.5 [host1], 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1,
|
||||
7.0.1 [host1], 8.0.1 [host1], 8.5.2 [host2], 8.5.3 [host1]
|
||||
- Dovecot 0.99.10.4, 0.99.14, 0.99.14-8.fc4, 1.0-0.beta2.7,
|
||||
1.0.0 [dest/source] (LGPL) (http://www.dovecot.org/)
|
||||
- Eudora WorldMail v2
|
||||
|
@ -464,5 +464,5 @@ SIMILAR SOFTWARES
|
|||
|
||||
Feedback (good or bad) will often be welcome.
|
||||
|
||||
$Id: imapsync,v 1.547 2013/07/03 01:24:34 gilles Exp gilles $
|
||||
$Id: imapsync,v 1.555 2013/07/23 11:41:10 gilles Exp gilles $
|
||||
|
||||
|
|
25
TODO
25
TODO
|
@ -1,5 +1,5 @@
|
|||
#!/bin/cat
|
||||
# $Id: TODO,v 1.119 2013/04/17 13:04:21 gilles Exp gilles $
|
||||
# $Id: TODO,v 1.120 2013/07/22 07:40:44 gilles Exp gilles $
|
||||
|
||||
TODO file for imapsync
|
||||
----------------------
|
||||
|
@ -11,7 +11,6 @@ Add a best practice migration tips document.
|
|||
|
||||
Write a Mail::imapsync package and use it.
|
||||
|
||||
Remove 2.2.9 Mail::IMAPClient support.
|
||||
|
||||
Fix the mailing-list archive bug with From at
|
||||
the beginning of a line
|
||||
|
@ -26,7 +25,6 @@ http://www.microsoft.com/download/en/details.aspx?id=1329 "Microsoft Transporter
|
|||
Add an exit value when exiting because of --exitwhenover
|
||||
The goal is to know easily why to restart later.
|
||||
|
||||
Add --delete1 as an alias for --delete
|
||||
Add --mark-as-deleted1 --mark-as-deleted2 as
|
||||
aliases for --noexpunge1 --delete1 and --noexpunge2 --delete2
|
||||
|
||||
|
@ -49,9 +47,6 @@ Fix long path over than 260 character on Win32.
|
|||
Think about Digest::SHA or Digest::SHA::PurePerl.
|
||||
Think about a file database like DBM instead.
|
||||
|
||||
Add OAUTH autentication support
|
||||
https://developers.google.com/google-apps/gmail/oauth_overview
|
||||
|
||||
Find a way to avoid passwords in --debugimap unless needed.
|
||||
|
||||
Explain that users can win time/bandwidth by using --expunge
|
||||
|
@ -78,6 +73,7 @@ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503159
|
|||
http://www.linux-france.org/prj/imapsync_list/msg00022.html
|
||||
http://mail.google.com/support/bin/answer.py?hl=en&answer=77657
|
||||
http://mail.google.com/support/bin/answer.py?answer=78892
|
||||
|
||||
Look at larch https://github.com/rgrove/larch/
|
||||
http://wonko.com/
|
||||
|
||||
|
@ -122,11 +118,6 @@ Fix bug with folder names starting with an asterisk: *Archiv
|
|||
Sending: 220 SELECT *Archiv/Support/foobar
|
||||
Read: 220 BAD Protokollfehler: "Invalid folder specified in SELECT command"
|
||||
|
||||
Add automatic convertion or detection when
|
||||
separator inversion produces an invalid character.
|
||||
From uw to cyrus, for example :
|
||||
FoldA/FoldB.ext -> FoldA.FoldB/ext
|
||||
|
||||
Compare speed between 1.182 and 1.217
|
||||
"un mailbox de 90MB, ~2400 fichiers prends 80s avec la version 1.182
|
||||
vs 250s avec la version 1.217". Marc Jauvin
|
||||
|
@ -159,9 +150,21 @@ http://asg.web.cmu.edu/cyrus/download/imapd/altnamespace.html
|
|||
|
||||
===========================================================================
|
||||
|
||||
DONE. Remove 2.2.9 Mail::IMAPClient support.
|
||||
|
||||
DONE. Add OAUTH autentication support
|
||||
https://developers.google.com/google-apps/gmail/oauth_overview
|
||||
|
||||
DONE. Add --delete1 as an alias for --delete
|
||||
|
||||
DONE. Add current date at the beginning of the run, useful when imapsync
|
||||
doesn't finish with statistics.
|
||||
|
||||
DONE. Add automatic convertion or detection when
|
||||
separator inversion produces an invalid character.
|
||||
From uw to cyrus, for example :
|
||||
FoldA/FoldB.ext -> FoldA.FoldB/ext
|
||||
|
||||
DONE. Not donse since useless now (--useuid)
|
||||
Add a --skipheaderinfolder option
|
||||
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.547
|
||||
1.555
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.547
|
||||
1.555
|
||||
|
|
|
@ -2,19 +2,14 @@
|
|||
1287415485 END 1.359 : lundi 18 octobre 2010, 17:24:45 (UTC+0200)
|
||||
1287529537 BEGIN 1.361 : mercredi 20 octobre 2010, 01:05:37 (UTC+0200)
|
||||
1287530365 END 1.361 : mercredi 20 octobre 2010, 01:19:25 (UTC+0200)
|
||||
1287959884 BEGIN 1.363 : lundi 25 octobre 2010, 00:38:04 (UTC+0200)
|
||||
1287959962 BEGIN 1.363 : lundi 25 octobre 2010, 00:39:22 (UTC+0200)
|
||||
1287961164 END 1.363 : lundi 25 octobre 2010, 00:59:24 (UTC+0200)
|
||||
1288000749 BEGIN 1.364 : lundi 25 octobre 2010, 11:59:09 (UTC+0200)
|
||||
1288001592 END 1.364 : lundi 25 octobre 2010, 12:13:12 (UTC+0200)
|
||||
1288007207 BEGIN 1.365 : lundi 25 octobre 2010, 13:46:47 (UTC+0200)
|
||||
1288007339 BEGIN 1.365 : lundi 25 octobre 2010, 13:48:59 (UTC+0200)
|
||||
1288007381 BEGIN 1.365 : lundi 25 octobre 2010, 13:49:41 (UTC+0200)
|
||||
1288008514 END 1.365 : lundi 25 octobre 2010, 14:08:34 (UTC+0200)
|
||||
1288027748 BEGIN 1.366 : lundi 25 octobre 2010, 19:29:08 (UTC+0200)
|
||||
1288028635 END 1.366 : lundi 25 octobre 2010, 19:43:55 (UTC+0200)
|
||||
1288392218 BEGIN 1.366 : samedi 30 octobre 2010, 00:43:38 (UTC+0200)
|
||||
1288392376 BEGIN 1.366 : samedi 30 octobre 2010, 00:46:16 (UTC+0200)
|
||||
1288393061 BEGIN 1.366 : samedi 30 octobre 2010, 00:57:41 (UTC+0200)
|
||||
1288394122 END 1.366 : samedi 30 octobre 2010, 01:15:22 (UTC+0200)
|
||||
1288441141 BEGIN 1.366 : samedi 30 octobre 2010, 14:19:01 (UTC+0200)
|
||||
|
@ -23,7 +18,6 @@
|
|||
1288673466 END 1.370 : mardi 2 novembre 2010, 05:51:06 (UTC+0100)
|
||||
1288749547 BEGIN 1.372 : mercredi 3 novembre 2010, 02:59:07 (UTC+0100)
|
||||
1288750449 END 1.372 : mercredi 3 novembre 2010, 03:14:09 (UTC+0100)
|
||||
1289172807 BEGIN 1.375 : lundi 8 novembre 2010, 00:33:27 (UTC+0100)
|
||||
1289173896 BEGIN 1.375 : lundi 8 novembre 2010, 00:51:36 (UTC+0100)
|
||||
1289174968 END 1.375 : lundi 8 novembre 2010, 01:09:28 (UTC+0100)
|
||||
1289267414 BEGIN 1.376 : mardi 9 novembre 2010, 02:50:14 (UTC+0100)
|
||||
|
@ -38,7 +32,6 @@
|
|||
1293675986 END 1.388 : jeudi 30 décembre 2010, 03:26:26 (UTC+0100)
|
||||
1294638763 BEGIN 1.390 : lundi 10 janvier 2011, 06:52:43 (UTC+0100)
|
||||
1294639451 END 1.390 : lundi 10 janvier 2011, 07:04:11 (UTC+0100)
|
||||
1295319336 BEGIN 1.397 : mardi 18 janvier 2011, 03:55:36 (UTC+0100)
|
||||
1295319857 BEGIN 1.398 : mardi 18 janvier 2011, 04:04:17 (UTC+0100)
|
||||
1295320425 END 1.398 : mardi 18 janvier 2011, 04:13:45 (UTC+0100)
|
||||
1297861110 BEGIN 1.402 : mercredi 16 février 2011, 13:58:30 (UTC+0100)
|
||||
|
@ -49,7 +42,6 @@
|
|||
1298256141 END 1.403 : lundi 21 février 2011, 03:42:21 (UTC+0100)
|
||||
1298260592 BEGIN 1.404 : lundi 21 février 2011, 04:56:32 (UTC+0100)
|
||||
1298261452 END 1.404 : lundi 21 février 2011, 05:10:52 (UTC+0100)
|
||||
1301785718 BEGIN 1.407 : dimanche 3 avril 2011, 01:08:38 (UTC+0200)
|
||||
1301848291 BEGIN 1.407 : dimanche 3 avril 2011, 18:31:31 (UTC+0200)
|
||||
1301848906 END 1.407 : dimanche 3 avril 2011, 18:41:46 (UTC+0200)
|
||||
1303254735 BEGIN 1.410 : mercredi 20 avril 2011, 01:12:15 (UTC+0200)
|
||||
|
@ -68,8 +60,6 @@
|
|||
1304816775 END 1.420 : dimanche 8 mai 2011, 03:06:15 (UTC+0200)
|
||||
1304876623 BEGIN 1.422 : dimanche 8 mai 2011, 19:43:43 (UTC+0200)
|
||||
1304877295 END 1.422 : dimanche 8 mai 2011, 19:54:55 (UTC+0200)
|
||||
1305335556 BEGIN 1.425 : samedi 14 mai 2011, 03:12:36 (UTC+0200)
|
||||
1305335701 BEGIN 1.426 : samedi 14 mai 2011, 03:15:01 (UTC+0200)
|
||||
1305335893 BEGIN 1.426 : samedi 14 mai 2011, 03:18:13 (UTC+0200)
|
||||
1305336587 END 1.426 : samedi 14 mai 2011, 03:29:47 (UTC+0200)
|
||||
1305337730 BEGIN 1.427 : samedi 14 mai 2011, 03:48:50 (UTC+0200)
|
||||
|
@ -82,16 +72,12 @@
|
|||
1305516805 END 1.433 : lundi 16 mai 2011, 05:33:25 (UTC+0200)
|
||||
1305530708 BEGIN 1.434 : lundi 16 mai 2011, 09:25:08 (UTC+0200)
|
||||
1305531494 END 1.434 : lundi 16 mai 2011, 09:38:14 (UTC+0200)
|
||||
1305566629 BEGIN 1.434 : lundi 16 mai 2011, 19:23:49 (UTC+0200)
|
||||
1306773025 BEGIN 1.444 : lundi 30 mai 2011, 18:30:25 (UTC+0200)
|
||||
1306774566 BEGIN 1.444 : lundi 30 mai 2011, 18:56:06 (UTC+0200)
|
||||
1306775410 END 1.444 : lundi 30 mai 2011, 19:10:10 (UTC+0200)
|
||||
1306792918 BEGIN 1.444 : mardi 31 mai 2011, 00:01:58 (UTC+0200)
|
||||
1306793766 END 1.444 : mardi 31 mai 2011, 00:16:06 (UTC+0200)
|
||||
1306834735 BEGIN 1.446 : mardi 31 mai 2011, 11:38:55 (UTC+0200)
|
||||
1306835728 END 1.446 : mardi 31 mai 2011, 11:55:28 (UTC+0200)
|
||||
1310344505 BEGIN 1.452 : lundi 11 juillet 2011, 02:35:05 (UTC+0200)
|
||||
1310345745 BEGIN 1.452 : lundi 11 juillet 2011, 02:55:45 (UTC+0200)
|
||||
1310345934 BEGIN 1.452 : lundi 11 juillet 2011, 02:58:54 (UTC+0200)
|
||||
1310346470 END 1.452 : lundi 11 juillet 2011, 03:07:50 (UTC+0200)
|
||||
1310657415 BEGIN 1.452 : jeudi 14 juillet 2011, 17:30:15 (UTC+0200)
|
||||
|
@ -102,7 +88,6 @@
|
|||
1314168142 END 1.456 : mercredi 24 août 2011, 08:42:22 (UTC+0200)
|
||||
1314171749 BEGIN 1.456 : mercredi 24 août 2011, 09:42:29 (UTC+0200)
|
||||
1314173017 END 1.456 : mercredi 24 août 2011, 10:03:37 (UTC+0200)
|
||||
1321108837 BEGIN 1.462 : samedi 12 novembre 2011, 15:40:37 (UTC+0100)
|
||||
1321129414 BEGIN 1.462 : samedi 12 novembre 2011, 21:23:34 (UTC+0100)
|
||||
1321130650 END 1.462 : samedi 12 novembre 2011, 21:44:10 (UTC+0100)
|
||||
1321176819 BEGIN 1.463 : dimanche 13 novembre 2011, 10:33:40 (UTC+0100)
|
||||
|
@ -121,7 +106,6 @@
|
|||
1326001199 END 1.480 : dimanche 8 janvier 2012, 06:39:59 (UTC+0100)
|
||||
1326006966 BEGIN 1.480 : dimanche 8 janvier 2012, 08:16:06 (UTC+0100)
|
||||
1326008395 END 1.480 : dimanche 8 janvier 2012, 08:39:55 (UTC+0100)
|
||||
1328570342 BEGIN 1.483 : mardi 7 février 2012, 00:19:02 (UTC+0100)
|
||||
1328579636 BEGIN 1.484 : mardi 7 février 2012, 02:53:56 (UTC+0100)
|
||||
1328582268 END 1.484 : mardi 7 février 2012, 03:37:48 (UTC+0100)
|
||||
1328612115 BEGIN 1.484 : mardi 7 février 2012, 11:55:15 (UTC+0100)
|
||||
|
@ -136,7 +120,6 @@
|
|||
1334512816 END 1.488 : dimanche 15 avril 2012, 20:00:16 (UTC+0200)
|
||||
1342519040 BEGIN 1.497 : mardi 17 juillet 2012, 11:57:20 (UTC+0200)
|
||||
1342520082 END 1.497 : mardi 17 juillet 2012, 12:14:42 (UTC+0200)
|
||||
1342795821 BEGIN 1.498 : vendredi 20 juillet 2012, 16:50:21 (UTC+0200)
|
||||
1342796692 BEGIN 1.498 : vendredi 20 juillet 2012, 17:04:52 (UTC+0200)
|
||||
1342796879 END 1.498 : vendredi 20 juillet 2012, 17:07:59 (UTC+0200)
|
||||
1342797789 END 1.498 : vendredi 20 juillet 2012, 17:23:09 (UTC+0200)
|
||||
|
@ -188,11 +171,8 @@
|
|||
1366592337 END 1.538 : lundi 22 avril 2013, 02:58:57 (UTC+0200)
|
||||
1367829058 BEGIN 1.542 : lundi 6 mai 2013, 10:30:58 (UTC+0200)
|
||||
1367829799 END 1.542 : lundi 6 mai 2013, 10:43:19 (UTC+0200)
|
||||
1369002420 BEGIN 1.542 : lundi 20 mai 2013, 00:27:00 (UTC+0200)
|
||||
1369002592 BEGIN 1.542 : lundi 20 mai 2013, 00:29:52 (UTC+0200)
|
||||
1369003347 END 1.542 : lundi 20 mai 2013, 00:42:27 (UTC+0200)
|
||||
1369004592 BEGIN 1.542 : lundi 20 mai 2013, 01:03:12 (UTC+0200)
|
||||
1369005205 BEGIN 1.542 : lundi 20 mai 2013, 01:13:25 (UTC+0200)
|
||||
1369007256 BEGIN 1.542 : lundi 20 mai 2013, 01:47:36 (UTC+0200)
|
||||
1369007618 END 1.542 : lundi 20 mai 2013, 01:53:38 (UTC+0200)
|
||||
1369008471 BEGIN 1.542 : lundi 20 mai 2013, 02:07:51 (UTC+0200)
|
||||
|
@ -223,3 +203,14 @@
|
|||
1372851958 END 1.547 : mercredi 3 juillet 2013, 13:45:58 (UTC+0200)
|
||||
1372852860 BEGIN 1.547 : mercredi 3 juillet 2013, 14:01:00 (UTC+0200)
|
||||
1372853599 END 1.547 : mercredi 3 juillet 2013, 14:13:19 (UTC+0200)
|
||||
1374244772 BEGIN 1.551 : vendredi 19 juillet 2013, 16:39:32 (UTC+0200)
|
||||
1374245570 END 1.551 : vendredi 19 juillet 2013, 16:52:50 (UTC+0200)
|
||||
1374459974 BEGIN 1.554 : lundi 22 juillet 2013, 04:26:14 (UTC+0200)
|
||||
1374460797 END 1.554 : lundi 22 juillet 2013, 04:39:57 (UTC+0200)
|
||||
1374461464 BEGIN 1.554 : lundi 22 juillet 2013, 04:51:04 (UTC+0200)
|
||||
1374462214 END 1.554 : lundi 22 juillet 2013, 05:03:34 (UTC+0200)
|
||||
1374579832 BEGIN 1.555 : mardi 23 juillet 2013, 13:43:52 (UTC+0200)
|
||||
1374579895 BEGIN 1.555 : mardi 23 juillet 2013, 13:44:55 (UTC+0200)
|
||||
1374581003 END 1.555 : mardi 23 juillet 2013, 14:03:23 (UTC+0200)
|
||||
1374582566 BEGIN 1.555 : mardi 23 juillet 2013, 14:29:26 (UTC+0200)
|
||||
1374583297 END 1.555 : mardi 23 juillet 2013, 14:41:37 (UTC+0200)
|
||||
|
|
|
@ -13,7 +13,7 @@ my $X = tie %hash, 'DB_File', 'test_dbfile.db' ;
|
|||
|
||||
|
||||
print ( scalar keys %hash, "\n" ) ;
|
||||
exit ;
|
||||
#exit ;
|
||||
|
||||
for my $num ( 0 .. 255 ) {
|
||||
print "$num\n" ;
|
||||
|
|
BIN
W/learn/test_dbmdeep.db
Normal file
BIN
W/learn/test_dbmdeep.db
Normal file
Binary file not shown.
16
W/test3.bat
16
W/test3.bat
|
@ -1,16 +1,8 @@
|
|||
|
||||
REM $Id: test3.bat,v 1.2 2013/05/22 10:09:27 gilles Exp gilles $
|
||||
|
||||
cd /D %~dp0
|
||||
cd C:\msys\1.0\home\Admin\imapsync
|
||||
|
||||
REM ./imapsync.exe --modules_version
|
||||
.\imapsync.exe --host1 p --user1 toto --passfile1 secret.toto --host2 p --user2 titi --passfile2 secret.titi --ssl1 --ssl2 --justconnect
|
||||
REM .\imapsync.exe --host1 p --user1 tata --passfile1 secret.tata --host2 p --user2 titi --passfile2 secret.titi --ssl1 --ssl2 --delete2 --folder INBOX
|
||||
REM .\imapsync.exe --host1 p --user1 tata --passfile1 secret.tata --host2 p --user2 titi --passfile2 secret.titi --ssl1 --ssl2 --delete2 --folder INBOX --usecache
|
||||
|
||||
perl .\imapsync --host1 imap.gmail.com --ssl1 --user1 gilles.lamiral@gmail.com --passfile1 secret.gilles_gmail ^
|
||||
--host2 imap.gmail.com --ssl2 --user2 gilles.lamiral@gmail.com --passfile2 secret.gilles_gmail ^
|
||||
--folder INBOX --dry
|
||||
|
||||
PAUSE
|
||||
|
||||
.\imapsync.exe --host1 imap.gmail.com --ssl1 --user1 gilles.lamiral@gmail.com --passfile1 secret.gilles_gmail ^
|
||||
--host2 imap.gmail.com --ssl2 --user2 gilles.lamiral@gmail.com --passfile2 secret.gilles_gmail ^
|
||||
--folder INBOX --dry
|
||||
|
|
16
W/test3_gmail.bat
Normal file
16
W/test3_gmail.bat
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
REM $Id: test3.bat,v 1.2 2013/05/22 10:09:27 gilles Exp gilles $
|
||||
|
||||
cd /D %~dp0
|
||||
|
||||
REM ./imapsync.exe --modules_version
|
||||
|
||||
perl .\imapsync --host1 imap.gmail.com --ssl1 --user1 gilles.lamiral@gmail.com --passfile1 secret.gilles_gmail ^
|
||||
--host2 imap.gmail.com --ssl2 --user2 gilles.lamiral@gmail.com --passfile2 secret.gilles_gmail ^
|
||||
--folder INBOX --dry
|
||||
|
||||
PAUSE
|
||||
|
||||
.\imapsync.exe --host1 imap.gmail.com --ssl1 --user1 gilles.lamiral@gmail.com --passfile1 secret.gilles_gmail ^
|
||||
--host2 imap.gmail.com --ssl2 --user2 gilles.lamiral@gmail.com --passfile2 secret.gilles_gmail ^
|
||||
--folder INBOX --dry
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
REM $Id: build_exe.bat,v 1.17 2013/07/03 04:13:30 gilles Exp gilles $
|
||||
REM $Id: build_exe.bat,v 1.18 2013/07/23 11:27:50 gilles Exp gilles $
|
||||
@ECHO OFF
|
||||
|
||||
ECHO Building imapsync.exe
|
||||
|
@ -8,7 +8,7 @@ CALL .\examples\install_modules.bat
|
|||
|
||||
cd /D %~dp0
|
||||
|
||||
perl -mMail::IMAPClient -mIO::Socket -mIO::Socket::SSL ^
|
||||
perl -mMail::IMAPClient -mIO::Socket -mIO::Socket::SSL -mIO::Socket::IP ^
|
||||
-mDigest::MD5 -mDigest::HMAC_MD5 -mDigest::HMAC_SHA1 ^
|
||||
-mTerm::ReadKey -mFile::Spec -mAuthen::NTLM ^
|
||||
-mTime::Local -mURI::Escape -mData::Uniqid ^
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
REM $Id: install_modules.bat,v 1.5 2013/07/03 12:00:23 gilles Exp gilles $
|
||||
REM $Id: install_modules.bat,v 1.6 2013/07/23 11:30:58 gilles Exp gilles $
|
||||
|
||||
@ECHO OFF
|
||||
|
||||
|
@ -12,7 +12,7 @@ IF ERRORLEVEL 1 ECHO Perl needed. Install Strawberry Perl. Get it at http://stra
|
|||
|
||||
REM perl is there
|
||||
|
||||
FOR %%M in ( IO::Socket ^
|
||||
FOR %%M in ( IO::Socket IO::Socket::IP ^
|
||||
Net::SSLeay IO::Socket::SSL ^
|
||||
Digest::MD5 Digest::HMAC_MD5 ^
|
||||
Term::ReadKey File::Spec ^
|
||||
|
|
49
index.shtml
49
index.shtml
|
@ -5,7 +5,7 @@
|
|||
<title>Official imapsync migration tool ( release <!--#exec cmd="cat ./VERSION"--> )</title>
|
||||
<meta name="generator" content="Bluefish 1.0.7"/>
|
||||
<meta name="author" content="Gilles LAMIRAL"/>
|
||||
<meta name="date" content="2013-07-03T04:12:40+0200"/>
|
||||
<meta name="date" content="2013-07-23T13:45:17+0200"/>
|
||||
<meta name="copyright" content="None"/>
|
||||
<meta name="keywords" content="imap, transfert, migration"/>
|
||||
<meta name="description" content="imap migration tool"/>
|
||||
|
@ -81,23 +81,23 @@ for <b>bidirectionnal (2 ways) synchronizations</b>.
|
|||
<p>Alternatives to imapsync are listed in the <a href="#similar"><b>Similar softwares</b></a> section.
|
||||
</p>
|
||||
|
||||
<h2><a id="NUMBERS"></a>Facts and figures for 2011 and 2012</h2>
|
||||
<h2><a id="NUMBERS"></a>Facts and figures for 2011-2013</h2>
|
||||
|
||||
<ul>
|
||||
<li><b>4000 to 5000 </b>users per month (34000 users a year)</li>
|
||||
|
||||
<li><b>6 to 25 millions mailboxes </b>transfers per month,
|
||||
total is 93 millions for 2011, 91 millions for 2012.</li>
|
||||
total is 93 millions for 2011, 91 millions for 2012, 66 millions for half 2013</li>
|
||||
|
||||
<li><b>Operating systems</b> run by imapsync users:
|
||||
<ul>
|
||||
<li><b>Linux: 67%</b></li>
|
||||
<li><b>Win32: 16%</b></li>
|
||||
<li><b>Darwin: 9%</b></li>
|
||||
<li>FreeBSD: 7%</li>
|
||||
<li>Solaris: 0.3%</li>
|
||||
<li>OpenBSD: 0.03%</li>
|
||||
<li>Other: 0.69%</li>
|
||||
<li><b>Linux: 72%</b></li>
|
||||
<li><b>Win32: 13%</b></li>
|
||||
<li><b>Darwin: 6%</b></li>
|
||||
<li>FreeBSD: 8%</li>
|
||||
<li>Solaris: 0.2%</li>
|
||||
<li>OpenBSD: 0.02%</li>
|
||||
<li>Other: 0.6%</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><b>Highest use rate</b>: about <b>21 millions</b> of IMAP mailbox transfers (in a single month)</li>
|
||||
|
@ -117,7 +117,7 @@ total is 93 millions for 2011, 91 millions for 2012.</li>
|
|||
|
||||
<!--
|
||||
<ul>
|
||||
<li><b>1.547</b></li>
|
||||
<li><b>1.555</b></li>
|
||||
<li><b>Enhancement</b>: </li>
|
||||
<li><b>Enhancement</b>: </li>
|
||||
<li><b>Enhancement</b>: </li>
|
||||
|
@ -137,6 +137,29 @@ total is 93 millions for 2011, 91 millions for 2012.</li>
|
|||
</ul>
|
||||
-->
|
||||
|
||||
<ul>
|
||||
<li><b>1.555</b> Better Office365 and Mailenable handling</li>
|
||||
<li><b>Enhancement</b>: Added option --messageidnodomain to fix Mailenable bug changing the domain part of Message-Id header, and avoid duplicates</li>
|
||||
<li><b>Enhancement</b>: Added option --syncflagsaftercopy to fix Mailenable bug not getting the flags with the APPEND</li>
|
||||
<li><b>Enhancement</b>: Added option <b>--maxlinelength</b> to skip messages whose max line length is over a number of bytes.
|
||||
Exchange 2013 and Office365 need <b>--maxlinelength 1000</b> (which is a RFC2822 must) to avoid disconnections.</li>
|
||||
<li><b>Enhancement</b>: </li>
|
||||
<li><b>Usability</b>: Added back the banner of IMAP servers, ie, the first line given after the connection established.</li>
|
||||
<li><b>Usability</b>: Added --fixInboxINBOX, turned on by default, to map automatically Inbox INBOX folder names.</li>
|
||||
<li><b>Usability</b>: IMAP server removing consecutive spaces on the header part doesn't generate duplicates (MailEnable does that)</li>
|
||||
<li><b>Usability</b>: </li>
|
||||
<li><b>Usability</b>: </li>
|
||||
<li><b>Usability</b>: </li>
|
||||
<li><b>Bug fix</b>: Better output of mailbox sizes in human style (could be 1024.00 Kib, now it is 1.000 Mib). Changed bytes_display_string(). </li>
|
||||
<li><b>Bug fix</b>: Option --debugflags now prints flags on first sync (the copy) and also the PERMANENTFLAGS outpout.</li>
|
||||
<li><b>Bug fix</b>: </li>
|
||||
<li><b>Bug fix</b>: </li>
|
||||
<li><b>Refactoring</b>: Fixed nearly 200 perlcritic at level 3, all level 4. Still 5 eval "" at level 5 and 12 critics at level 3. Nobody cares but me.</li>
|
||||
<li><b>Refactoring</b>: </li>
|
||||
<li><b>Refactoring</b>: </li>
|
||||
<li><b>Refactoring</b>: </li>
|
||||
</ul>
|
||||
|
||||
|
||||
<ul>
|
||||
<li><b>1.547</b> Nothing important except imapsync.exe supports also XOAUTH.</li>
|
||||
|
@ -699,6 +722,7 @@ I like it.
|
|||
|
||||
<ul>
|
||||
<li> imap_tools: <a href="http://www.athensfbc.com/imap_tools">http://www.athensfbc.com/imap_tools</a></li>
|
||||
<li> imaputils: <a href="http://code.google.com/p/imaputils/">http://code.google.com/p/imaputils/</a> (imap_tools fork)</li>
|
||||
<li> <b>offlineimap</b>: <a href="https://github.com/nicolas33/offlineimap">https://github.com/nicolas33/offlineimap</a></li>
|
||||
<li> <b>mbsync</b>: <a href="http://isync.sourceforge.net/">http://isync.sourceforge.net/</a></li>
|
||||
<li> mailsync: <a href="http://mailsync.sourceforge.net/">http://mailsync.sourceforge.net/</a></li>
|
||||
|
@ -722,6 +746,7 @@ I don't think they use imapsync.
|
|||
Prices are given par mailbox and may be outdated (december 2011).</p>
|
||||
|
||||
<ul>
|
||||
<li> Shuttlecloud <b>0 USD</b>: <a href="http://shuttlecloud.com/">http://shuttlecloud.com/</a></li>
|
||||
<li> Ovh imapcopy (French) <b>0 USD</b>: <a href="https://ssl0.ovh.net/fr/imapcopy/">https://ssl0.ovh.net/fr/imapcopy/</a></li>
|
||||
<li> Movemymail free for the first and 5 USD thereafter: <a href="https://movemymail.net">https://movemymail.net</a> .</li>
|
||||
<li> Mailbox Mover 7 USD: <a href="https://mailboxmover.com/">https://mailboxmover.com/</a></li>
|
||||
|
@ -758,7 +783,7 @@ alt="Viewable With Any Browser" />
|
|||
<!--#config timefmt="%D" -->
|
||||
<!--#config timefmt="%A %B %d, %Y" -->
|
||||
<b>This document last modified on <!--#echo var="LAST_MODIFIED" --></b>
|
||||
($Id: index.shtml,v 1.169 2013/07/03 02:13:03 gilles Exp gilles $)
|
||||
($Id: index.shtml,v 1.171 2013/07/23 11:45:36 gilles Exp gilles $)
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
|
103
perlcritic.out
103
perlcritic.out
|
@ -1,103 +0,0 @@
|
|||
Pragma "constant" used at line 570, column 1. See page 55 of PBP. (Severity: 4)
|
||||
Subroutine "EX_USAGE" does not end with "return" at line 709, column 9. See page 197 of PBP. (Severity: 4)
|
||||
Magic variable "$SIG" should be assigned as "local" at line 719, column 13. See pages 81,82 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 838, column 6. See page 70 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 843, column 6. See page 70 of PBP. (Severity: 4)
|
||||
Expression form of "grep" at line 1041, column 26. See page 169 of PBP. (Severity: 4)
|
||||
Expression form of "grep" at line 1050, column 26. See page 169 of PBP. (Severity: 4)
|
||||
Expression form of "map" at line 1129, column 28. See page 169 of PBP. (Severity: 4)
|
||||
Expression form of "map" at line 1130, column 28. See page 169 of PBP. (Severity: 4)
|
||||
Expression form of "map" at line 1134, column 3. See page 169 of PBP. (Severity: 4)
|
||||
Expression form of "map" at line 1141, column 3. See page 169 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 1192, column 6. See page 70 of PBP. (Severity: 4)
|
||||
Subroutine "sync_flags" does not end with "return" at line 1625, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 1659, column 7. See page 70 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 1694, column 14. See page 70 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 1724, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Subroutine "tests_max" does not end with "return" at line 1730, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_command_line_nopassword" does not end with "return" at line 1840, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "catch_exit" does not end with "return" at line 1869, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "catch_continue" does not end with "return" at line 1876, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "justconnect" does not end with "return" at line 1901, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "relogin1" does not end with "return" at line 1916, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "relogin2" does not end with "return" at line 1927, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "banner_imapsync" does not end with "return" at line 2153, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 2206, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Subroutine "missing_option" does not end with "return" at line 2211, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_folder_routines" does not end with "return" at line 2276, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "is_requested_folder" does not end with "return" at line 2292, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_compare_lists" does not end with "return" at line 2351, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "get_prefix" does not end with "return" at line 2402, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "get_separator" does not end with "return" at line 2428, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 2491, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Subroutine "tests_imap2_folder_name" does not end with "return" at line 2506, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 2558, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Expression form of "eval" at line 2574, column 3. See page 161 of PBP. (Severity: 5)
|
||||
Subroutine "tests_decompose_regex" does not end with "return" at line 2581, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 2613, column 22. See page 70 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 2617, column 22. See page 70 of PBP. (Severity: 4)
|
||||
Subroutine "tests_flags_regex" does not end with "return" at line 2680, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Expression form of "eval" at line 2787, column 3. See page 161 of PBP. (Severity: 5)
|
||||
Subroutine "acls_sync" does not end with "return" at line 2794, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_permanentflags" does not end with "return" at line 2817, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "permanentflags" does not end with "return" at line 2833, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_flags_filter" does not end with "return" at line 2848, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_flagsCase" does not end with "return" at line 2885, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_ucsecond" does not end with "return" at line 2908, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 2928, column 14. See page 70 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 2945, column 22. See page 70 of PBP. (Severity: 4)
|
||||
Warnings disabled at line 3124, column 4. See page 431 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 3177, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Subroutine "tests_time_remaining" does not end with "return" at line 3199, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_cache_map" does not end with "return" at line 3250, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_cache_dir_fix" does not end with "return" at line 3294, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 3302, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Subroutine "tests_get_cache" does not end with "return" at line 3332, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 3335, column 8. See page 70 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 3384, column 8. See page 70 of PBP. (Severity: 4)
|
||||
Subroutine "tests_match_a_cache_file" does not end with "return" at line 3433, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 3475, column 3. See page 70 of PBP. (Severity: 4)
|
||||
Subroutine "tests_clean_cache" does not end with "return" at line 3492, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 3494, column 8. See page 70 of PBP. (Severity: 4)
|
||||
Subroutine "tests_clean_cache_2" does not end with "return" at line 3542, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 3544, column 8. See page 70 of PBP. (Severity: 4)
|
||||
Subroutine "tests_mkpath" does not end with "return" at line 3598, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_touch" does not end with "return" at line 3606, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "new" called using indirect syntax at line 3623, column 13. See page 349 of PBP. (Severity: 4)
|
||||
Subroutine "tests_cache_folder" does not end with "return" at line 3634, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_filter_forbidden_characters" does not end with "return" at line 3664, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_convert_sep_to_slash" does not end with "return" at line 3681, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_regexmess" does not end with "return" at line 3693, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Expression form of "eval" at line 3762, column 3. See page 161 of PBP. (Severity: 5)
|
||||
Subroutine "stats" does not end with "return" at line 3785, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "get_options" does not end with "return" at line 3853, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 4005, column 30. See page 70 of PBP. (Severity: 4)
|
||||
Subroutine "load_modules" does not end with "return" at line 4013, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "parse_header_msg" does not end with "return" at line 4033, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Mixed high and low-precedence booleans at line 4058, column 27. See page 70 of PBP. (Severity: 4)
|
||||
Subroutine "string_to_file" does not end with "return" at line 4142, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_is_a_release_number" does not end with "return" at line 4149, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "is_a_release_number" does not end with "return" at line 4157, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_imapsync_basename" does not end with "return" at line 4187, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "new" called using indirect syntax at line 4207, column 13. See page 349 of PBP. (Severity: 4)
|
||||
Subroutine "usage" does not end with "return" at line 4281, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "usage_complete" does not end with "return" at line 4495, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 4524, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Subroutine "memory_consumption_of_pids" does not end with "return" at line 4524, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_remove_not_num" does not end with "return" at line 4581, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_memory_consumption" does not end with "return" at line 4615, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_good_date" does not end with "return" at line 4731, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_list_keys_in_2_not_in_1" does not end with "return" at line 4764, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "delete_folders_in_2_not_in_1" does not end with "return" at line 4801, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Expression form of "eval" at line 4806, column 43. See page 161 of PBP. (Severity: 5)
|
||||
Expression form of "eval" at line 4810, column 45. See page 161 of PBP. (Severity: 5)
|
||||
Subroutine "tests_extract_header" does not end with "return" at line 4834, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_decompose_header" does not end with "return" at line 4879, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_epoch" does not end with "return" at line 4991, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_add_header" does not end with "return" at line 5005, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests_debug" does not end with "return" at line 5012, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Subroutine "tests" does not end with "return" at line 5020, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 5065, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 5072, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Always unpack @_ first at line 5080, column 1. See page 178 of PBP. (Severity: 4)
|
||||
Subroutine "capability_update" does not end with "return" at line 5087, column 1. See page 197 of PBP. (Severity: 4)
|
1948
perlcritic_1.out
Normal file
1948
perlcritic_1.out
Normal file
File diff suppressed because it is too large
Load diff
565
perlcritic_2.out
Normal file
565
perlcritic_2.out
Normal file
|
@ -0,0 +1,565 @@
|
|||
Missing "REQUIRED ARGUMENTS" section in POD at line 1, column 1. See pages 133,138 of PBP. (Severity: 2)
|
||||
Missing "DIAGNOSTICS" section in POD at line 1, column 1. See pages 133,138 of PBP. (Severity: 2)
|
||||
Missing "CONFIGURATION" section in POD at line 1, column 1. See pages 133,138 of PBP. (Severity: 2)
|
||||
Missing "DEPENDENCIES" section in POD at line 1, column 1. See pages 133,138 of PBP. (Severity: 2)
|
||||
Missing "INCOMPATIBILITIES" section in POD at line 1, column 1. See pages 133,138 of PBP. (Severity: 2)
|
||||
Missing "BUGS AND LIMITATIONS" section in POD at line 1, column 1. See pages 133,138 of PBP. (Severity: 2)
|
||||
Missing "LICENSE AND COPYRIGHT" section in POD at line 1, column 1. See pages 133,138 of PBP. (Severity: 2)
|
||||
Main code has high complexity score (326) at line 1, column 1. Consider refactoring. (Severity: 3)
|
||||
Magic punctuation variable used at line 546, column 3. See page 79 of PBP. (Severity: 2)
|
||||
64 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 704, column 10. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
Quotes used with an empty string at line 727, column 61. See page 53 of PBP. (Severity: 2)
|
||||
5 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 755, column 48. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
5 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 756, column 48. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
Postfix control "if" used at line 765, column 15. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 766, column 21. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 772, column 25. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 777, column 24. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 784, column 25. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 791, column 15. See pages 93,94 of PBP. (Severity: 2)
|
||||
100 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 794, column 13. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
100 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 795, column 13. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
993 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 798, column 24. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
143 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 798, column 30. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
993 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 801, column 24. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
143 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 801, column 30. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
Postfix control "if" used at line 803, column 31. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 804, column 12. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 818, column 5. See pages 93,94 of PBP. (Severity: 2)
|
||||
3 is not one of the allowed literal values (0, 1, 2). Use the Readonly module or the "constant" pragma instead at line 843, column 21. Unnamed numeric literals make code less maintainable. (Severity: 2)
|
||||
Postfix control "unless" used at line 922, column 57. See pages 96,97 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 949, column 19. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 950, column 50. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 952, column 22. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 953, column 22. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 957, column 26. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 964, column 49. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "unless" used at line 989, column 43. See pages 96,97 of PBP. (Severity: 2)
|
||||
Postfix control "unless" used at line 991, column 43. See pages 96,97 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 994, column 34. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 995, column 34. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 998, column 15. See pages 93,94 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 1060, column 33. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 1060, column 33. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 1069, column 33. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 1069, column 33. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1143, column 15. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1153, column 3. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1161, column 32. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1206, column 3. See page 97 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1214, column 3. See page 97 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1246, column 50. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1247, column 50. See page 53 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 1257, column 39. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 1259, column 50. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 1269, column 49. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 1270, column 30. See page 228 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1288, column 57. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1298, column 77. See pages 93,94 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 1301, column 2. See page 228 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1306, column 5. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1309, column 3. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1312, column 2. See page 97 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1315, column 53. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1350, column 79. See pages 93,94 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 1354, column 2. See page 228 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1356, column 4. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1377, column 10. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1397, column 33. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1398, column 4. See page 97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1406, column 39. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1410, column 38. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1419, column 4. See page 97 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1421, column 45. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 1422, column 31. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 1422, column 31. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1424, column 7. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1425, column 32. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1426, column 5. See page 97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1434, column 52. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1435, column 4. See page 97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1443, column 39. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1447, column 38. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1456, column 4. See page 97 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1457, column 49. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 1458, column 31. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 1458, column 31. See page 237 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1459, column 5. See page 97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1488, column 70. See pages 93,94 of PBP. (Severity: 2)
|
||||
Code structure is deeply nested at line 1489, column 41. Consider refactoring. (Severity: 3)
|
||||
"unless" block used at line 1489, column 41. See page 97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1500, column 39. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1504, column 38. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1522, column 3. See page 97 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1557, column 47. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1558, column 59. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1560, column 4. See page 97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1563, column 23. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1598, column 3. See page 97 of PBP. (Severity: 2)
|
||||
"unless" block used at line 1602, column 3. See page 97 of PBP. (Severity: 2)
|
||||
Postfix control "unless" used at line 1631, column 20. See pages 96,97 of PBP. (Severity: 2)
|
||||
Postfix control "unless" used at line 1632, column 20. See pages 96,97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1636, column 17. See pages 93,94 of PBP. (Severity: 2)
|
||||
Too many arguments at line 1656, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Quotes used with an empty string at line 1663, column 58. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1664, column 58. See page 53 of PBP. (Severity: 2)
|
||||
Too many arguments at line 1671, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Too many arguments at line 1681, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Quotes used with an empty string at line 1694, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1695, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1707, column 26. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1717, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 1725, column 17. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 1725, column 17. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1735, column 55. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1736, column 74. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1741, column 58. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1773, column 23. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1801, column 77. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1804, column 65. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1807, column 73. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1810, column 77. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1813, column 76. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1816, column 68. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1819, column 67. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1822, column 77. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1825, column 79. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1828, column 71. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1831, column 69. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1834, column 65. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1837, column 67. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1840, column 67. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 1843, column 69. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 1858, column 15. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 1858, column 15. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1870, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1877, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1916, column 19. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1917, column 19. See pages 93,94 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 1922, column 17. See page 79 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1927, column 29. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1935, column 35. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 1938, column 35. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1952, column 14. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 1964, column 14. See pages 93,94 of PBP. (Severity: 2)
|
||||
Too many arguments at line 1968, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Postfix control "if" used at line 1983, column 35. See pages 93,94 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2000, column 17. See page 79 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 2015, column 22. See pages 93,94 of PBP. (Severity: 2)
|
||||
Too many arguments at line 2024, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Quotes used with an empty string at line 2035, column 38. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "unless" used at line 2038, column 51. See pages 96,97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 2042, column 32. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 2043, column 35. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 2046, column 32. See pages 93,94 of PBP. (Severity: 2)
|
||||
"unless" block used at line 2050, column 2. See page 97 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2061, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Too many arguments at line 2099, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Postfix control "if" used at line 2109, column 19. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 2110, column 19. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 2122, column 41. See pages 93,94 of PBP. (Severity: 2)
|
||||
Numeric escapes in interpolated string at line 2135, column 30. See page 56 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2137, column 41. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2155, column 32. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2155, column 32. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2168, column 65. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2171, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2174, column 39. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2183, column 82. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2192, column 32. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2192, column 45. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2192, column 61. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2195, column 22. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2198, column 39. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2209, column 41. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2222, column 29. See page 53 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2228, column 5. See page 79 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2237, column 26. See page 79 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2238, column 8. See page 79 of PBP. (Severity: 2)
|
||||
Return value of "close" ignored at line 2261, column 2. Check the return value of "close" for success. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2281, column 12. See page 79 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2289, column 14. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2291, column 79. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2292, column 79. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2303, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2304, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2305, column 6. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2307, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2308, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2309, column 6. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2311, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2312, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2315, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2316, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2319, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2320, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2321, column 6. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2323, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2324, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2325, column 6. See page 53 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 2446, column 28. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 2450, column 26. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 2459, column 36. See page 228 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2510, column 32. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2511, column 37. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2593, column 49. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2603, column 21. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2611, column 38. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2612, column 38. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2612, column 42. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2614, column 6. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2614, column 30. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2614, column 34. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2614, column 38. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2615, column 46. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2615, column 50. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2616, column 46. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2616, column 51. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2617, column 48. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2617, column 53. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2618, column 48. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2618, column 53. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2619, column 48. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2619, column 53. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2620, column 50. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2620, column 55. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2622, column 50. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2622, column 55. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2624, column 50. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2624, column 55. See page 53 of PBP. (Severity: 2)
|
||||
Numeric escapes in interpolated string at line 2634, column 12. See page 56 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2637, column 14. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2637, column 14. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2638, column 14. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2638, column 14. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2639, column 14. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2639, column 14. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2640, column 21. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2640, column 21. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 2640, column 30. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2640, column 49. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2640, column 74. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2647, column 27. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2648, column 11. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2649, column 11. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2660, column 4. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2660, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2667, column 4. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2667, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2682, column 4. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2682, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2689, column 11. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2690, column 11. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2691, column 4. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2691, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2698, column 14. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2712, column 13. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2712, column 13. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "unless" used at line 2718, column 4. See pages 96,97 of PBP. (Severity: 2)
|
||||
Use 'eq' or hash instead of fixed-pattern regexps at line 2718, column 62. See pages 271,272 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2718, column 62. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2718, column 62. See page 237 of PBP. (Severity: 2)
|
||||
Expression form of "eval" at line 2724, column 13. See page 161 of PBP. (Severity: 5)
|
||||
Magic punctuation variable used at line 2726, column 49. See page 79 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2727, column 14. See page 79 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2735, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2735, column 32. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2735, column 57. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2736, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2744, column 42. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2744, column 42. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2745, column 17. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2745, column 21. See page 53 of PBP. (Severity: 2)
|
||||
"unless" block used at line 2771, column 3. See page 97 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 2783, column 3. See page 228 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 2783, column 35. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2786, column 71. See page 53 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2786, column 71. See page 79 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 2788, column 98. See page 53 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2788, column 98. See page 79 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 2790, column 15. See page 228 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2834, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2834, column 23. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2838, column 41. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2897, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2908, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2908, column 23. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2909, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2923, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2923, column 23. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2925, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Expression form of "eval" at line 2941, column 13. See page 161 of PBP. (Severity: 5)
|
||||
Magic punctuation variable used at line 2943, column 45. See page 79 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2944, column 10. See page 79 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2955, column 14. See page 79 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2957, column 14. See page 79 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 2958, column 37. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 2958, column 54. See page 228 of PBP. (Severity: 2)
|
||||
"unless" block used at line 2964, column 4. See page 97 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 2967, column 16. See page 79 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2978, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 2988, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2996, column 17. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2996, column 17. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 2999, column 28. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 2999, column 28. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3000, column 23. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3005, column 17. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3011, column 6. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 3024, column 21. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 3024, column 21. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3025, column 44. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3028, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 3036, column 21. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 3036, column 21. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3037, column 40. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3040, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3062, column 67. See pages 93,94 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 3128, column 45. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 3131, column 46. See page 59 of PBP. (Severity: 2)
|
||||
"unless" block used at line 3134, column 3. See page 97 of PBP. (Severity: 2)
|
||||
"unless" block used at line 3135, column 3. See page 97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3182, column 22. See pages 93,94 of PBP. (Severity: 2)
|
||||
Subroutine "copy_message" with high complexity score (21) at line 3211, column 1. Consider refactoring. (Severity: 3)
|
||||
Too many arguments at line 3211, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Quotes used with an empty string at line 3217, column 60. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3218, column 54. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3219, column 61. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3227, column 41. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3228, column 95. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3259, column 19. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3259, column 35. See page 53 of PBP. (Severity: 2)
|
||||
Too many arguments at line 3271, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Quotes used with an empty string at line 3276, column 60. See page 53 of PBP. (Severity: 2)
|
||||
"unless" block used at line 3278, column 2. See page 97 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3281, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3283, column 34. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 3308, column 3. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 3311, column 49. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3319, column 16. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 3341, column 15. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 3341, column 15. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3346, column 37. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3347, column 64. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3354, column 16. See page 53 of PBP. (Severity: 2)
|
||||
Subroutine "tests_subject" does not end with "return" at line 3365, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Quotes used with an empty string at line 3366, column 6. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3366, column 21. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3406, column 6. See page 53 of PBP. (Severity: 2)
|
||||
Too many arguments at line 3428, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Quotes used with an empty string at line 3437, column 58. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 3449, column 20. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 3449, column 20. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 3464, column 75. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 3464, column 75. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3493, column 28. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3501, column 10. See page 53 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3534, column 2. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3534, column 22. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3535, column 2. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3535, column 22. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3537, column 26. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3594, column 37. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3595, column 37. See page 228 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 3608, column 23. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 3608, column 23. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 3635, column 50. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3682, column 35. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3682, column 46. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3682, column 57. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3682, column 68. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3682, column 79. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3683, column 35. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3683, column 46. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3683, column 57. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3683, column 68. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3683, column 79. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3683, column 90. See page 53 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3687, column 37. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3688, column 37. See page 228 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3730, column 32. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3730, column 43. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3730, column 54. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3730, column 65. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3730, column 76. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3731, column 32. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3731, column 43. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3731, column 54. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3731, column 65. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3731, column 76. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3731, column 87. See page 53 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3734, column 34. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3735, column 34. See page 228 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 3750, column 16. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 3750, column 16. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3763, column 47. See page 53 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3795, column 78. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 3796, column 21. See page 228 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3799, column 102. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 3808, column 29. See page 53 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 3808, column 29. See page 79 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3847, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3848, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3852, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3853, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3854, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3898, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3899, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3900, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3904, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3905, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 3906, column 24. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 3972, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 3973, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 3988, column 20. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 3988, column 20. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4005, column 13. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4005, column 13. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4011, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4011, column 32. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 4011, column 36. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 4012, column 46. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 4013, column 54. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 4016, column 54. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 4017, column 60. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4038, column 15. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4039, column 15. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4055, column 15. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4056, column 15. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4059, column 15. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4068, column 15. See page 53 of PBP. (Severity: 2)
|
||||
Expression form of "eval" at line 4185, column 13. See page 161 of PBP. (Severity: 5)
|
||||
Magic punctuation variable used at line 4187, column 38. See page 79 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 4188, column 10. See page 79 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4201, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4202, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4204, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4205, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4207, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4208, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4210, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4211, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4213, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4214, column 46. See page 59 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 4216, column 49. See page 59 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4225, column 23. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4270, column 65. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4332, column 31. See pages 93,94 of PBP. (Severity: 2)
|
||||
Too many arguments at line 4343, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Double-sigil dereference at line 4347, column 29. See page 228 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 4358, column 43. See page 228 of PBP. (Severity: 2)
|
||||
Postfix control "unless" used at line 4381, column 29. See pages 96,97 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 4407, column 29. See page 228 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4418, column 30. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4418, column 30. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4433, column 24. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4433, column 24. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4436, column 24. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4436, column 24. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4439, column 24. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4439, column 24. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4442, column 24. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4442, column 24. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4445, column 98. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4445, column 98. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4458, column 37. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4458, column 41. See page 53 of PBP. (Severity: 2)
|
||||
Numeric escapes in interpolated string at line 4463, column 51. See page 56 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4473, column 21. See page 53 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 4475, column 52. See page 79 of PBP. (Severity: 2)
|
||||
Return value of "close" ignored at line 4477, column 9. Check the return value of "close" for success. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 4486, column 46. See page 79 of PBP. (Severity: 2)
|
||||
Return value of "close" ignored at line 4488, column 2. Check the return value of "close" for success. (Severity: 2)
|
||||
Quotes used with an empty string at line 4489, column 14. See page 53 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 4495, column 67. See page 79 of PBP. (Severity: 2)
|
||||
Return value of "close" ignored at line 4497, column 2. Check the return value of "close" for success. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4512, column 21. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4512, column 21. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4536, column 24. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4536, column 24. See page 237 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used at line 4553, column 18. See page 79 of PBP. (Severity: 2)
|
||||
Return value of "close" ignored at line 4576, column 2. Check the return value of "close" for success. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated string at line 4596, column 20. See page 79 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used at line 4610, column 23. See page 79 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used at line 4612, column 7. See page 79 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4612, column 13. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4612, column 13. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4627, column 20. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4629, column 11. See page 53 of PBP. (Severity: 2)
|
||||
String delimiter used with "split" at line 4681, column 28. Express it as a regex instead. (Severity: 2)
|
||||
Quotes used with a noisy string at line 4681, column 34. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4744, column 17. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4744, column 17. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4753, column 17. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4753, column 17. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4791, column 13. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4794, column 17. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4794, column 17. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4797, column 16. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4797, column 30. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4798, column 22. See pages 93,94 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4803, column 12. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4803, column 12. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4815, column 38. See pages 93,94 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4815, column 72. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4815, column 72. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4816, column 38. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4818, column 46. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4822, column 30. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4824, column 34. See pages 93,94 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4829, column 12. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4829, column 12. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4845, column 19. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4845, column 19. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4858, column 12. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4858, column 12. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4864, column 29. See pages 93,94 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4870, column 12. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4870, column 12. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4881, column 12. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4881, column 12. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 4902, column 5. See page 53 of PBP. (Severity: 2)
|
||||
Double-sigil dereference at line 4954, column 33. See page 228 of PBP. (Severity: 2)
|
||||
Expression form of "eval" at line 4975, column 43. See page 161 of PBP. (Severity: 5)
|
||||
Expression form of "eval" at line 4979, column 45. See page 161 of PBP. (Severity: 5)
|
||||
Postfix control "if" used at line 4984, column 34. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 4985, column 36. See pages 93,94 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 4999, column 33. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 4999, column 33. See page 237 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 5000, column 36. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 5038, column 27. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 5038, column 27. See page 237 of PBP. (Severity: 2)
|
||||
Use 'eq' or hash instead of fixed-pattern regexps at line 5042, column 36. See pages 271,272 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 5042, column 36. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 5042, column 36. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 5044, column 31. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 5044, column 31. See page 237 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 5050, column 34. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 5050, column 34. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5053, column 65. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 5179, column 17. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 5184, column 20. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 5184, column 20. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5190, column 28. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 5190, column 33. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5191, column 28. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 5191, column 33. See page 53 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 5218, column 55. See page 59 of PBP. (Severity: 2)
|
||||
"$i" is declared but not used at line 5237, column 9. Unused variables clutter code and make it harder to read. (Severity: 3)
|
||||
Quotes used with an empty string at line 5248, column 28. See page 53 of PBP. (Severity: 2)
|
||||
Long number not separated with underscores at line 5256, column 40. See page 59 of PBP. (Severity: 2)
|
||||
Quotes used with an empty string at line 5268, column 25. See page 53 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5269, column 43. See pages 93,94 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 5270, column 54. See page 53 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 5270, column 60. See page 53 of PBP. (Severity: 2)
|
||||
Magic punctuation variable used in interpolated here-document at line 5271, column 15. See page 79 of PBP. (Severity: 2)
|
||||
Quotes used with a noisy string at line 5511, column 20. See page 53 of PBP. (Severity: 2)
|
||||
Regular expression without "/s" flag at line 5516, column 14. See pages 240,241 of PBP. (Severity: 2)
|
||||
Regular expression without "/m" flag at line 5516, column 14. See page 237 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5648, column 49. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5661, column 12. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5665, column 32. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "unless" used at line 5668, column 30. See pages 96,97 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5676, column 32. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5685, column 32. See pages 93,94 of PBP. (Severity: 2)
|
||||
Postfix control "if" used at line 5748, column 33. See pages 93,94 of PBP. (Severity: 2)
|
20
perlcritic_3.out
Normal file
20
perlcritic_3.out
Normal file
|
@ -0,0 +1,20 @@
|
|||
Main code has high complexity score (326) at line 1, column 1. Consider refactoring. (Severity: 3)
|
||||
Code structure is deeply nested at line 1489, column 41. Consider refactoring. (Severity: 3)
|
||||
Too many arguments at line 1656, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Too many arguments at line 1671, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Too many arguments at line 1681, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Too many arguments at line 1968, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Too many arguments at line 2024, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Too many arguments at line 2099, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Expression form of "eval" at line 2724, column 13. See page 161 of PBP. (Severity: 5)
|
||||
Expression form of "eval" at line 2941, column 13. See page 161 of PBP. (Severity: 5)
|
||||
Subroutine "copy_message" with high complexity score (21) at line 3211, column 1. Consider refactoring. (Severity: 3)
|
||||
Too many arguments at line 3211, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Too many arguments at line 3271, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Subroutine "tests_subject" does not end with "return" at line 3365, column 1. See page 197 of PBP. (Severity: 4)
|
||||
Too many arguments at line 3428, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Expression form of "eval" at line 4185, column 13. See page 161 of PBP. (Severity: 5)
|
||||
Too many arguments at line 4343, column 1. See page 182 of PBP. (Severity: 3)
|
||||
Expression form of "eval" at line 4975, column 43. See page 161 of PBP. (Severity: 5)
|
||||
Expression form of "eval" at line 4979, column 45. See page 161 of PBP. (Severity: 5)
|
||||
"$i" is declared but not used at line 5237, column 9. Unused variables clutter code and make it harder to read. (Severity: 3)
|
124
tests.sh
124
tests.sh
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# $Id: tests.sh,v 1.219 2013/07/03 04:12:34 gilles Exp gilles $
|
||||
# $Id: tests.sh,v 1.220 2013/07/23 11:22:50 gilles Exp gilles $
|
||||
|
||||
# Example 1:
|
||||
# CMD_PERL='perl -I./Mail-IMAPClient-3.33/lib' sh -x tests.sh
|
||||
|
@ -175,6 +175,18 @@ locallocal() {
|
|||
--passfile2 ../../var/pass/secret.titi
|
||||
}
|
||||
|
||||
ll_debug() {
|
||||
#can_send && sendtestmessage
|
||||
$CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 tata \
|
||||
--passfile1 ../../var/pass/secret.tata \
|
||||
--host2 $HOST2 --user2 titi \
|
||||
--passfile2 ../../var/pass/secret.titi \
|
||||
--debug --nofoldersizes
|
||||
}
|
||||
|
||||
|
||||
|
||||
ll_nofoldersizes()
|
||||
{
|
||||
$CMD_PERL ./imapsync \
|
||||
|
@ -265,7 +277,6 @@ ll_authmech_PREAUTH() {
|
|||
}
|
||||
|
||||
|
||||
|
||||
ll_unknow_option() {
|
||||
! $CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 tata \
|
||||
|
@ -849,6 +860,32 @@ ll_maxage_0()
|
|||
--maxage 0 --folder INBOX
|
||||
}
|
||||
|
||||
ll_maxage_10000_minage_9999()
|
||||
{
|
||||
# INTERSECTION: 0 messages
|
||||
$CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 tata \
|
||||
--passfile1 ../../var/pass/secret.tata \
|
||||
--host2 $HOST2 --user2 titi \
|
||||
--passfile2 ../../var/pass/secret.titi \
|
||||
--maxage 10000 --minage 9999 \
|
||||
--folder INBOX --justfoldersizes
|
||||
}
|
||||
|
||||
ll_maxage_9999_minage_10000()
|
||||
{
|
||||
# UNION: all messages
|
||||
$CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 tata \
|
||||
--passfile1 ../../var/pass/secret.tata \
|
||||
--host2 $HOST2 --user2 titi \
|
||||
--passfile2 ../../var/pass/secret.titi \
|
||||
--maxage 9999 --minage 10000 \
|
||||
--folder INBOX --justfoldersizes
|
||||
}
|
||||
|
||||
|
||||
|
||||
ll_maxage_10000()
|
||||
{
|
||||
can_send && sendtestmessage
|
||||
|
@ -1041,6 +1078,16 @@ ll_maxage_9999()
|
|||
--maxage 9999
|
||||
}
|
||||
|
||||
ll_maxlinelength()
|
||||
{
|
||||
can_send && sendtestmessage
|
||||
$CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 tata \
|
||||
--passfile1 ../../var/pass/secret.tata \
|
||||
--host2 $HOST2 --user2 titi \
|
||||
--passfile2 ../../var/pass/secret.titi \
|
||||
--maxlinelength 8 --nofoldersizes --folder INBOX
|
||||
}
|
||||
|
||||
|
||||
ll_maxsize()
|
||||
|
@ -1432,10 +1479,39 @@ ll_regexmess()
|
|||
if can_send; then
|
||||
file=`ls -t /home/vmail/titi/.yop.yap/cur/* | tail -1`
|
||||
diff ../../var/imapsync/tests/ll_regexmess/dest_01 $file
|
||||
#echo 'rm -f /home/vmail/titi/.yop.yap/cur/*'
|
||||
echo 'sudo rm -fv /home/vmail/titi/.yop.yap/cur/*'
|
||||
fi
|
||||
}
|
||||
|
||||
ll_regexmess_bad_regex()
|
||||
{
|
||||
! $CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 tata \
|
||||
--passfile1 ../../var/pass/secret.tata \
|
||||
--host2 $HOST2 --user2 titi \
|
||||
--passfile2 ../../var/pass/secret.titi \
|
||||
--folder INBOX.yop.yap \
|
||||
--regexmess 'I am BAD'
|
||||
}
|
||||
|
||||
|
||||
ll_regexmess_remove_header_Disposition()
|
||||
{
|
||||
#Disposition-Notification-To: Gilles LAMIRAL <gilles.lamiral@laposte.net>
|
||||
$CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 tata \
|
||||
--passfile1 ../../var/pass/secret.tata \
|
||||
--host2 $HOST2 --user2 titi \
|
||||
--passfile2 ../../var/pass/secret.titi \
|
||||
--folder INBOX.regexmess \
|
||||
--nofoldersizes \
|
||||
--regexmess 's{\A(.*?(?! ^$))(^Disposition-Notification-To:.*?\n)}{$1}gxms' \
|
||||
--debugcontent --debug
|
||||
echo "sudo sh -c 'rm /home/vmail/titi/.regexmess/cur/*'"
|
||||
}
|
||||
|
||||
|
||||
|
||||
ll_regexmess_scwchu()
|
||||
{
|
||||
$CMD_PERL ./imapsync \
|
||||
|
@ -1498,11 +1574,27 @@ ll_regex_flag()
|
|||
--host2 $HOST2 --user2 titi \
|
||||
--passfile2 ../../var/pass/secret.titi \
|
||||
--folder INBOX.yop.yap \
|
||||
--regexflag 's/\\Answered/\$Forwarded/g'
|
||||
--regexflag 's/\\Answered/\$Forwarded/g' --debugflags
|
||||
|
||||
echo 'rm -f /home/vmail/titi/.yop.yap/cur/*'
|
||||
}
|
||||
|
||||
ll_regex_flag_bad()
|
||||
{
|
||||
! $CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 tata \
|
||||
--passfile1 ../../var/pass/secret.tata \
|
||||
--host2 $HOST2 --user2 titi \
|
||||
--passfile2 ../../var/pass/secret.titi \
|
||||
--folder INBOX.yop.yap \
|
||||
--regexflag 'I am bad' --debugflags
|
||||
|
||||
echo 'sudo rm -fv /home/vmail/titi/.yop.yap/cur/*'
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
ll_regex_flag2()
|
||||
{
|
||||
$CMD_PERL ./imapsync \
|
||||
|
@ -1513,7 +1605,7 @@ ll_regex_flag2()
|
|||
--folder INBOX.yop.yap \
|
||||
--debug --regexflag s/\\\\Answered/\\\\Flagged/g
|
||||
|
||||
echo 'rm -f /home/vmail/titi/.yop.yap/cur/*'
|
||||
echo 'sudo rm -fv /home/vmail/titi/.yop.yap/cur/*'
|
||||
}
|
||||
|
||||
|
||||
|
@ -1894,17 +1986,19 @@ ll_delete2_dev() {
|
|||
|
||||
|
||||
ll_delete() {
|
||||
echo 11111111111111111111111
|
||||
$CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 tata \
|
||||
--passfile1 ../../var/pass/secret.tata \
|
||||
--host2 $HOST2 --user2 titi \
|
||||
--passfile2 ../../var/pass/secret.titi \
|
||||
--folder INBOX.oneemail3
|
||||
--folder INBOX.oneemail3 --delete
|
||||
|
||||
#find /home/vmail/titi/.oneemail3/ || :
|
||||
echo After first sync
|
||||
test -f /home/vmail/titi/.oneemail3/cur/* || return 1
|
||||
|
||||
echo 222222222222222222222222
|
||||
$CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 titi \
|
||||
--passfile1 ../../var/pass/secret.titi \
|
||||
|
@ -1913,6 +2007,7 @@ ll_delete() {
|
|||
--folder INBOX.oneemail3 \
|
||||
--delete
|
||||
|
||||
echo 3333333333333333333333333
|
||||
$CMD_PERL ./imapsync \
|
||||
--host1 $HOST1 --user1 titi \
|
||||
--passfile1 ../../var/pass/secret.titi \
|
||||
|
@ -2029,9 +2124,22 @@ xxxxx_gmail() {
|
|||
--folder 'INBOX.Messages envoy&AOk-s' \
|
||||
--folder 'INBOX.Sent'
|
||||
|
||||
# --exclude Gmail
|
||||
}
|
||||
|
||||
xxxxx_gmail_useuid() {
|
||||
|
||||
! ping -c1 imap.gmail.com || $CMD_PERL ./imapsync \
|
||||
--host1 $HOST2 \
|
||||
--user1 tata \
|
||||
--passfile1 ../../var/pass/secret.tata \
|
||||
--host2 imap.gmail.com \
|
||||
--ssl2 \
|
||||
--user2 gilles.lamiral@gmail.com \
|
||||
--passfile2 ../../var/pass/secret.gilles_gmail \
|
||||
--nofoldersizes \
|
||||
--regextrans2 "s,^Sent$,[Gmail]/Sent Mail," \
|
||||
--folder 'INBOX.Sent' --useuid --dry
|
||||
}
|
||||
|
||||
xxxxx_gmail_2() {
|
||||
|
||||
|
@ -3235,9 +3343,11 @@ ll_bad_host_ssl
|
|||
ll_useheader
|
||||
ll_useheader_noheader
|
||||
ll_regexmess
|
||||
ll_regexmess_bad_regex
|
||||
ll_regexmess_scwchu
|
||||
ll_flags
|
||||
ll_regex_flag
|
||||
ll_regex_flag_bad
|
||||
ll_regex_flag_keep_only
|
||||
ll_justconnect
|
||||
ll_justlogin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue