summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/test
Commit message (Collapse)AuthorAgeFilesLines
* Rename folder to match history.Mageia SVN-Git Migration2007-04-2512-510/+0
| | | | | This is a Synthesized commit to combine perl-MDK-Common and perl_checker repository history.
* "pop @l, 1" check doesn't work the same way anymore since it is now parsed ↵Pascal Rigaux2006-06-141-2/+0
| | | | pop(@l), 1
* ensure warnings in MDK::Common::* files don't bother the testPascal Rigaux2006-04-241-2/+13
| | | | | | (since MDK::Common files can be taken from the /usr instead of perl-MDK-Common repository (since it has been splitted))
* - make <<"EOF" a warning, not an error (and adapt test for it)Pascal Rigaux2005-11-251-1/+1
| | | | | - fix warning "Trailing spaces after HERE-document mark" (was on stderr)
* enhance to have no remaining spacesPascal Rigaux2005-11-252-2/+3
|
* warn about blocks ending with a ";"Pascal Rigaux2004-11-261-1/+5
|
* recognize a form of "find { ... } ..."Pascal Rigaux2004-11-171-0/+7
|
* warn unneeded ";" after some blocksPascal Rigaux2004-11-172-1/+6
|
* *** empty log message ***Pascal Rigaux2004-11-171-0/+5
|
* allow disabling warnings on command-line (and have various warnings level)Pascal Rigaux2004-11-101-1/+1
|
* suggest mkdir() instead of system("mkdir ...")Pascal Rigaux2004-10-142-2/+3
|
* check if_() with only one parameterPascal Rigaux2004-10-141-0/+2
|
* replace "my $foo = ... if <cond>" with "my $foo = <cond> && ..."Pascal Rigaux2004-10-131-0/+4
| | | | | replace "<cond> or my $foo = ..." with "my $foo = !<cond> && ..."
* *** empty log message ***Pascal Rigaux2004-10-131-2/+2
|
* check 'xxx' if $xxx (=> value is dropped)Pascal Rigaux2004-10-131-0/+4
|
* $#x == -1 is better written @x == 0Pascal Rigaux2004-10-131-0/+2
|
* check $#l < 0Pascal Rigaux2004-10-131-0/+2
|
* handle qx(...) and qx{...} with a warningPascal Rigaux2004-10-131-1/+1
|
* you can replace "any { $_ eq ... } @l" with "member(..., @l)"Pascal Rigaux2004-10-131-0/+2
|
* - check push argumentsPascal Rigaux2004-10-131-0/+8
| | | | | - add a test for pop arguments
* disallow the use of the return value of push and unshiftPascal Rigaux2004-10-131-0/+2
|
* allow qq{...} (with a warning)Pascal Rigaux2004-10-131-0/+2
|
* handle q{...} and qw{...} (with a warning)Pascal Rigaux2004-10-131-0/+4
|
* handle "use Gtk2 -init"Pascal Rigaux2004-10-131-0/+2
|
* you can replace "grep { !member($_, ...) } @l" with "difference2([ @l ], [ ↵Pascal Rigaux2004-08-121-0/+2
| | | | ... ])"
* handle s:xxx:yyy: and qw/.../, issuing a warningPascal Rigaux2004-08-121-0/+4
| | | | | (hopefully the ':' added in pattern_separator won't break other lex rules...)
* check lvalue validityPascal Rigaux2004-08-121-0/+3
|
* "$foo or $foo = ..." can be written "$foo ||= ..."Pascal Rigaux2004-08-111-0/+2
|
* this case is already handled, only add a test casePascal Rigaux2004-08-111-0/+2
|
* enforce spaces around operator "." (string concat)Pascal Rigaux2004-08-111-0/+1
|
* "$a[@a] = ..." is better written "push @a, ..."Pascal Rigaux2004-08-111-0/+2
|
* suggest better for !($foo == $bar) (same for eq, != and ne)Pascal Rigaux2004-08-111-0/+4
|
* partially fix { xxx() }->{$foo}Pascal Rigaux2004-08-111-0/+4
|
* finishing context checks cleanupPascal Rigaux2004-05-092-1/+19
|
* *** empty log message ***Pascal Rigaux2004-05-081-0/+2
|
* better contextsPascal Rigaux2004-05-082-4/+9
|
* detect "$xxx == undef"Pascal Rigaux2004-04-301-0/+2
|
* suggest replacing system(qq(foo "$xxx")) with system('foo', $xxx)Pascal Rigaux2004-04-281-0/+2
|
* various detection of join() misusePascal Rigaux2004-04-281-0/+4
|
* add a testPascal Rigaux2004-04-281-2/+6
|
* add a test for open F, ...Pascal Rigaux2004-04-281-0/+2
|
* test with local fake_packagesPascal Rigaux2004-04-281-0/+1
|
* use local perl_checkerPascal Rigaux2004-04-051-1/+1
|
* *** empty log message ***Pascal Rigaux2004-04-011-1/+2
|
* add tests for perl_checkerPascal Rigaux2004-03-3112-0/+379