Andreas Dangel
eb57fdc882
pmd: fix #991 AvoidSynchronizedAtMethodLevel for static methods
2013-08-03 13:08:26 +02:00
Andreas Dangel
da1ee1fe72
pmd: fix #1114 CPD - Tokenizer not initialized with requested properties
2013-08-03 12:28:25 +02:00
Andreas Dangel
ee39aa5f3c
[maven-release-plugin] prepare for next development iteration
2013-05-01 12:21:21 +02:00
Andreas Dangel
46573bb566
[maven-release-plugin] prepare release pmd_releases/5.0.4
pmd_releases/5.0.4
2013-05-01 12:21:21 +02:00
Andreas Dangel
da08b0757e
pmd: Prepare pmd release 5.0.4
2013-05-01 11:59:42 +02:00
Andreas Dangel
1c0badd429
pmd: fix #1089 When changing priority in a custom ruleset, violations reported twice
2013-05-01 11:40:37 +02:00
Andreas Dangel
e0a9e49560
pmd: fix #794 False positive on PreserveStackTrace with anonymous inner
2013-04-28 10:15:34 +02:00
Andreas Dangel
dba46f2ebd
pmd: fix #1063 False+: ArrayIsStoredDirectly
2013-04-28 10:15:26 +02:00
Andreas Dangel
5fb6daea58
pmd: fix #1085 NullPointerException by at net.sourceforge.pmd.lang.java.rule.design.GodClassRule.visit(GodClassRule.java:313)
2013-04-25 19:27:24 +02:00
Andreas Dangel
2d655f4684
pmd: fix #1087 PreserveStackTrace (still) ignores initCause()
...
one more test, extended documentation example
2013-04-25 18:39:03 +02:00
Andreas Dangel
b77de63950
pmd: fix #1087 PreserveStackTrace (still) ignores initCause()
2013-04-24 21:40:22 +02:00
Andreas Dangel
d347e38622
pmd: fix #1086 Unsupported Element and Attribute in Ant Task Example
2013-04-22 20:31:10 +02:00
Andreas Dangel
7494011999
pmd: fix #254 False+ : UnusedImport with Javadoc @throws
2013-04-15 21:35:51 +02:00
Andreas Dangel
3901ad7ddb
pmd: correct documentation for pmd's ant task to select the language
...
and adding more unit tests.
2013-04-15 21:34:22 +02:00
Andreas Dangel
2e85f1f935
pmd: fix #1080 net.sourceforge.pmd.cpd.CPDTest test failing
...
The symlinks are simply removed now from the source code and
created by the test, when needed.
The test runs only under unix systems, not under windows.
2013-04-14 17:51:29 +02:00
Andreas Dangel
a5efd66b73
pmd: adding more entries to gitignore and to exclude while creating the source zip file.
2013-04-14 17:49:49 +02:00
Andreas Dangel
a96ccf9741
pmd: fix #1082 CPD performance issue on larger projects
2013-04-14 13:41:31 +02:00
Andreas Dangel
f60128b142
pmd: fix #1081 Regression: CPD skipping all files when using relative paths
2013-04-14 13:41:14 +02:00
Andreas Dangel
89ebc32141
[maven-release-plugin] prepare for next development iteration
2013-04-05 19:31:38 +02:00
Andreas Dangel
b501de3fba
[maven-release-plugin] prepare release pmd_releases/5.0.3
pmd_releases/5.0.3
2013-04-05 19:31:38 +02:00
Andreas Dangel
79fb7e359d
pmd: correct the command line examples
2013-04-05 19:19:14 +02:00
Andreas Dangel
6aa4897e21
pmd: prepare pmd release 5.0.3
2013-04-05 18:52:59 +02:00
Andreas Dangel
ee05fa73cd
pmd: use the released pmd-build plugin 0.8
2013-04-05 18:49:11 +02:00
Andreas Dangel
0170a40dec
pmd: fix NPE in LooseCouplingRule
2013-04-05 17:29:53 +02:00
Andreas Dangel
4d7b4bb1bc
pmd: fix #1078 Package statement introduces false positive UnnecessaryFullyQualifiedName violation
2013-04-05 17:16:52 +02:00
Andreas Dangel
a6c1c1f57c
pmd: fix #1077 Missing JavaDocs for Xref-Test Files
2013-03-30 15:46:15 +01:00
Andreas Dangel
9f8246caac
pmd: fix #938 False positive on LooseCoupling for overriding methods
2013-03-30 15:46:04 +01:00
Andreas Dangel
f51e41b05c
pmd: fix #940 False positive on UnsynchronizedStaticDateFormatter
2013-03-30 15:45:52 +01:00
Andreas Dangel
ad66153a2d
pmd: fix #942 CheckResultSet False Positive
...
* replacing the xpath rule with a java based rule implementation
2013-03-30 13:58:42 +01:00
Andreas Dangel
c8c6aa16dd
pmd: fix #943 PreserveStackTrace false positive if a StringBuffer exists
2013-03-30 12:01:42 +01:00
Andreas Dangel
b998e64819
pmd: fix #945 PMD generates RuleSets it cannot read.
2013-03-30 12:01:33 +01:00
Andreas Dangel
62fc70e816
pmd: fix #958 Intermittent NullPointerException while loading XPath node attributes
...
* synchronizing the method cache
* adding additional null check
2013-03-30 12:01:14 +01:00
Andreas Dangel
34b868ad14
formatting, white spaces
2013-03-30 12:01:06 +01:00
Andreas Dangel
26a862a51b
pmd: update changelog, verify #1076
2013-03-24 20:40:55 +01:00
Philip Graf
4569842965
pmd: fix #1076 Report.treeIterator() does not return all violations
...
The cause of the bug was the implementation of
ViolationNode.equalsNode(otherNode) which returned true when two
different violations start on the same line.
Note: this change also adds a maven dependency on Mockito 1.9.5 (scope:
test). Mockito helps creating mock objects and makes the test more
readable.
2013-03-24 20:40:20 +01:00
Andreas Dangel
fddccb5030
pmd: update changelog
2013-03-24 20:40:01 +01:00
Peter Kofler
00e27b4a37
fix Nullpointer Exception when using -l jsp
2013-03-24 20:39:52 +01:00
Andreas Dangel
b6c6899741
pmd: fix #1027 PMD Ant: java.lang.ClassCastException
2013-03-17 12:47:45 +01:00
Andreas Dangel
43ecf1e110
pmd: fix #999 Law of Demeter: False positives and negatives
2013-03-17 11:08:16 +01:00
Andreas Dangel
5f45a28621
pmd: fix #975 false positive in ClassCastExceptionWithToArray
2013-03-17 10:20:58 +01:00
Andreas Dangel
41c44e5d8d
pmd: fix #968 Issues with JUnit4 @Test annotation with expected exception
...
Thanks to Yiannis Paschalidis
2013-03-17 10:20:49 +01:00
Andreas Dangel
040d465137
pmd: fix #976 UselessStringValueOf wrong when appending character arrays
2013-03-16 19:55:45 +01:00
Andreas Dangel
4e5ca16990
pmd: fix #977 MisplacedNullCheck makes false positives
2013-03-16 19:21:15 +01:00
Andreas Dangel
30af4f6381
pmd: fix #985 Suppressed methods shouldn't affect avg CyclomaticComplexity
2013-03-16 18:16:29 +01:00
Andreas Dangel
cece698b04
pmd: fix #984 Cyclomatic complexity should treat constructors like methods
2013-03-16 18:16:20 +01:00
Andreas Dangel
13ef401a63
pmd: fix #997 Rule NonThreadSafeSingleton gives analysis problem
2013-03-16 12:26:11 +01:00
Andreas Dangel
589ec3c6da
pmd: fix #992 Class java.beans.Statement triggered in CloseResource rule
2013-03-16 12:25:53 +01:00
Andreas Dangel
c00ca9e44c
pmd: fix NPE in ConstructorCallsOverridableMethodRule
2013-03-15 21:57:39 +01:00
Andreas Dangel
31f6b9af1a
pmd: fix #1032 ImmutableField Rule: Private field in inner class gives false positive
...
Improved symbol table resolution to check inner classes, too.
2013-03-15 21:37:29 +01:00
Andreas Dangel
8eac048c03
pmd: fix #1005 False + for ConstructorCallsOverridableMethod - overloaded methods
...
It won't be perfect, but for constructor calls and method calls a
simple check of the argument types is done. Primitive types are
distinguished, reference types not.
In order to support all cases, full symbol resolution is needed.
2013-03-14 20:49:08 +01:00