Radim Kubacki
e492530a91
reworked impl of f12/Shift-f12 a bit
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4826 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-22 19:21:43 +00:00
Radim Kubacki
b6fc7a164b
updated to more current state
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4825 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-22 19:17:20 +00:00
Sven Jacob
ab3ba505b1
using new PropertyDescriptor now
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4824 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-22 12:14:52 +00:00
Wouter Zelle
9b937f6191
Fixed bug testing regular parameters in the test code
...
Both possibilities are now tested (with test verification check)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4823 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-21 17:51:41 +00:00
Xavier Le Vourch
222563dc32
bug fix: acceptType only works for fields and locals
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4822 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-21 04:18:14 +00:00
Xavier Le Vourch
d900e64abc
bug fix: octal pattern can contain optional 'L' at the end
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4821 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-20 22:28:33 +00:00
Sven Jacob
816e04b905
fix to minor refresh problems
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4820 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-20 14:55:31 +00:00
Sven Jacob
5f3ad79238
Fix: When Packages are in a src folder and not in the root of the project, they are not shown in the violation overview.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4819 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-20 14:53:27 +00:00
Sven Jacob
eb5c35a929
fixed some lockups and added label-statements
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4818 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-20 11:32:15 +00:00
Xavier Le Vourch
e7ddff7d7b
DaaRule was accidentaly commented out
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4817 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-19 02:10:16 +00:00
Xavier Le Vourch
477410f3eb
Performance Refactoring, XPath rules re-written as Java: DontImportJavaLang, DontImportSun
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4816 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-19 02:07:58 +00:00
Xavier Le Vourch
b5aa7f3422
bug fix from previous commit
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4815 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-19 02:01:35 +00:00
Xavier Le Vourch
4bc641bf51
Renderers use less memory when generating reports.
...
The previous implementation built the entire report as a single String. Testing
all rules on the JDK generates a report larger than 100M and that created a
spike in memory usage at the very end.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4814 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-19 01:54:09 +00:00
Sven Jacob
22bca13115
some little improvements for cpd view
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4813 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-18 14:48:52 +00:00
Sven Jacob
4a8f953fe3
added tooltip for anomaly type
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4812 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-18 14:48:26 +00:00
Sven Jacob
342a67915d
some more info output
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4811 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-18 14:45:11 +00:00
Sven Jacob
69754d98ec
Fixed 1597987: ArrayIndexOutOfBounds in new DaaRule
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4810 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-18 10:35:55 +00:00
Sven Jacob
ea55ca45cd
Fixed 1597987: NPE in new DaaRule
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4809 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-17 09:08:51 +00:00
Sven Jacob
7dafa8dba3
PackageSwitchAction not needed anymore. Delete?
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4808 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-17 09:08:32 +00:00
Xavier Le Vourch
7f9aa0807f
Literal image can be null
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4807 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-17 02:04:46 +00:00
Xavier Le Vourch
35a1eeccf2
AvoidUsingOctalValues: too many false + for non octal values -> rewritten in Java with an exact regexp
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4806 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-17 01:46:21 +00:00
Sven Jacob
110797a22e
Fixed 1597987: NPE in new DaaRule
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4805 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 22:27:25 +00:00
Xavier Le Vourch
2462c9637b
false + for double literals in AvoidUsingOctalValues
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4804 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 19:35:19 +00:00
Wouter Zelle
49c1d3aff0
definition of the test-data XMLs for tests
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4803 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 19:05:38 +00:00
Wouter Zelle
4b7321810c
XML files with the code for tests
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4802 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 19:03:15 +00:00
Wouter Zelle
b2ef53f5d8
removed, since this is a dupe of NoScriptletsTest
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4801 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 19:00:05 +00:00
Sven Jacob
70a48fbda7
Some major changes:
...
- new CPD View
- changed and refactored ViolationOverview
- some minor changes to dataflowview to work with PMD
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4800 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 17:14:34 +00:00
Sven Jacob
44f58d493f
- changed command for the new cpd view
...
- possibility to set the number of maxviolations per file over the rule-properties
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4799 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 16:54:41 +00:00
Sven Jacob
679ec558e0
division by zero fix
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4798 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 16:47:42 +00:00
Sven Jacob
bfca01c305
- fixed dfa lockup
...
- fixed variable access for definitions
- added DaaRule for controversial ruleset (DataflowAnomalyAnalysis)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4797 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 16:38:53 +00:00
Tom Copeland
e62434479b
Added Wouter and Sven; welcome, guys!
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4796 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-16 14:05:02 +00:00
Tom Copeland
6b14992df7
Added isVarargs() to ASTFormalParameter
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4795 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-15 16:12:09 +00:00
Tom Copeland
1a599ac62c
Oops, forgot to add the xml files
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4794 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-15 02:55:24 +00:00
Tom Copeland
4e45de9075
A tremendous patch from Wouter to move lots of things over to the new rule XML test format
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4793 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-15 02:14:31 +00:00
Tom Copeland
de74cfa270
Modifiers is #void now, so no need to define an adaptor stub
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4792 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-14 03:44:28 +00:00
Xavier Le Vourch
17043cf32f
Fixed false positives in LocalVariableCouldBeFinal.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4791 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-14 02:22:40 +00:00
Tom Copeland
2c4bdd28aa
Checked in Piar's implementation of AvoidUsingOctalValues
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4790 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-14 00:50:40 +00:00
Tomasz Slota
79c7222547
actions for jumping to next/previous problem found
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4789 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-13 15:18:48 +00:00
Tom Copeland
cf59280967
Added piair's new StringBufferInstantiationWithChar rule, thanks piair!
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4788 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-13 02:19:51 +00:00
Tomasz Slota
5b1b058a60
bugfix: if PMD scan finds no problems the old scan results are not cleared
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4787 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-10 09:12:14 +00:00
Radim Kubacki
1e59f922e8
NB deps
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4786 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-10 08:07:37 +00:00
Radim Kubacki
6521da180e
working on interim release targeting NB5.5+trunk
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4785 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-10 07:10:47 +00:00
Radim Kubacki
07ce4de6be
regenerated
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4784 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-10 06:56:39 +00:00
Tom Copeland
dc65c71a8f
Fixed bug 1592710 - VariableNamingConventions no longers reports false positives on certain enum declarations. This was actually a bug in ASTFieldDeclaration.isInterfaceMember()
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4783 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-10 04:36:44 +00:00
Tom Copeland
e37bafed58
Fixed bug 1592710 - VariableNamingConventions no longers reports false positives on certain enum declarations. This was actually a bug in ASTFieldDeclaration.isInterfaceMember()
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4782 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-10 04:15:34 +00:00
Xavier Le Vourch
52e458e3c1
call to deprecated show() replaced by setVisible(true)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4781 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-10 03:15:28 +00:00
Tom Copeland
25afca7390
tweak
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4780 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-08 13:35:37 +00:00
Allan Caplan
b1460476ed
Clearing up deprecations
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4779 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-06 01:41:06 +00:00
Allan Caplan
8580efe567
Moving test cases from xml deffinition into JUnit test
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4778 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-06 00:55:16 +00:00
Tom Copeland
71334e29c3
*** empty log message ***
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4777 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-03 04:03:14 +00:00