Andreas Dangel
ff21265893
Merge branch 'master' of https://github.com/jbaris/pmd into jbaris-master
...
Merges pull request #2 .
2013-07-30 20:52:13 +02:00
Andreas Dangel
83bb14e28e
pmd-eclipse: update documentation about the "official" update site
2013-07-23 21:37:04 +02:00
Andreas Dangel
1df96cb2e7
pmd-eclipse: fix #1116 PMD Eclipse plugin doesn't analyze project if it has non-existing source folders
2013-07-23 21:36:58 +02:00
Andreas Dangel
989672f8fb
pmd: update changelog for new rule AvoidProtectedMethodInFinalClassNotExtending
2013-06-22 17:25:14 +02:00
Andreas Dangel
090f2af516
Merge pull request #19
...
Merge branch 'master' of https://github.com/frizbog/pmd into frizbog-master
2013-06-22 17:12:32 +02:00
Andreas Dangel
559d72a9fe
cpd: update changelog and site for new command line option
2013-06-22 17:11:41 +02:00
Andreas Dangel
95e0c7bca2
pmd-eclipse: update release howto, remove jgit timestamp provider
...
* the jgit timestamp provider wasn't of much help: For releases
we set the version manually anyway. While developing it's confusing
if you forget to commit locally first and build right away.
2013-05-10 10:59:06 +02:00
Andreas Dangel
914a1a771e
pmd-eclipse: Prepare next pmd-eclipse-plugin development version 4.0.1-SNAPSHOT
2013-05-10 10:02:03 +02:00
Andreas Dangel
73aa908c69
pmd-eclipse: add release notes
2013-05-10 09:56:41 +02:00
Andreas Dangel
a3550d17ec
pmd-eclipse: update copyright years
2013-05-09 20:13:17 +02:00
Andreas Dangel
7f08a8f7c4
pmd-eclipse: add about section in preferences to display the plugin's version and the used PMD version.
2013-05-09 20:03:06 +02:00
Andreas Dangel
dcd2ac2166
pmd-eclipse: upgrade to pmd 5.0.4
2013-05-09 18:17:39 +02:00
Andreas Dangel
3cc3c6993b
Update readme
2013-05-01 14:56:22 +02:00
Andreas Dangel
3b49640920
pmd: added missing 5.0.3 release links to the website
2013-05-01 14:11:40 +02:00
Andreas Dangel
ae5ae2646e
pmd: Prepare pmd release 5.0.4
2013-05-01 11:58:01 +02:00
Andreas Dangel
850d7bfd00
pmd: fix #1089 When changing priority in a custom ruleset, violations reported twice
2013-05-01 11:32:39 +02:00
Andreas Dangel
25777937c2
pmd: fix #794 False positive on PreserveStackTrace with anonymous inner
2013-04-28 10:13:21 +02:00
Andreas Dangel
2a161c533c
pmd: fix #1063 False+: ArrayIsStoredDirectly
2013-04-28 10:13:16 +02:00
Andreas Dangel
2aad65138a
pmd: let failing rules fail the unit tests again
...
so that we can early detect any introduced exceptions (like NPE).
2013-04-27 10:03:10 +02:00
Andreas Dangel
66fed8d9cc
pmd: fix #1085 NullPointerException by at net.sourceforge.pmd.lang.java.rule.design.GodClassRule.visit(GodClassRule.java:313)
2013-04-25 19:11:01 +02:00
Andreas Dangel
e1b8334e5e
pmd: fix #1087 PreserveStackTrace (still) ignores initCause()
...
one more test, extended documentation example
2013-04-25 18:35:06 +02:00
Andreas Dangel
8cf1cc4113
pmd: fix #1087 PreserveStackTrace (still) ignores initCause()
2013-04-24 21:29:18 +02:00
Andreas Dangel
29b294e2b1
pmd: fix #1086 Unsupported Element and Attribute in Ant Task Example
2013-04-22 20:23:13 +02:00
Andreas Dangel
c66c01e0ce
pmd-eclipse: add missing export for net.sourceforge.pmd.lang.rule, needed by m2e-code-quality
2013-04-21 19:45:10 +02:00
Andreas Dangel
8d3ed164fb
pmd-eclipse: Use last stable PMD version 5.0.3.
2013-04-21 16:31:09 +02:00
Andreas Dangel
7e8f558263
pmd-eclipse: Document build and release process for the pmd-eclipse-plugin
2013-04-21 16:31:08 +02:00
Andreas Dangel
4c9e714380
pmd-eclipse: Prepare release and publish of the eclipse update site.
2013-04-21 16:31:08 +02:00
Andreas Dangel
75503ffa40
pmd-eclipse: Renaming the source folders to use default locations for src and target.
2013-04-21 16:31:08 +02:00
Andreas Dangel
02a723391d
pmd-eclipse: Renaming the folders and submodules according to their artifact id.
2013-04-21 16:31:07 +02:00
Andreas Dangel
25c47c651c
pmd-eclipse: Delete obsolete build files.
2013-04-21 16:31:06 +02:00
Andreas Dangel
36b0d87186
pmd-eclipse: Update tests and disable the tests that need an OSGI context.
...
tycho-surefire is completely disabled now and only the simple junit tests
are enabled.
2013-04-21 16:31:06 +02:00
Andreas Dangel
396509e75a
pmd-eclipse: Added dependency plugin to fetch required dependencies for pmd.
...
Removed the jar files from the repo.
2013-04-21 16:31:06 +02:00
Andreas Dangel
3443fe549b
pmd-eclipse: Added tycho configuration and delete eclipse project files
2013-04-21 16:30:59 +02:00
Andreas Dangel
144a4e152d
pmd: fix #254 False+ : UnusedImport with Javadoc @throws
2013-04-15 21:33:49 +02:00
Andreas Dangel
60aa0b1778
pmd: correct documentation for pmd's ant task to select the language
...
and adding more unit tests.
2013-04-15 21:00:14 +02:00
Andreas Dangel
37a4144bc6
Updated website with new project description. Added "Fork me on github" ribbon.
2013-04-14 18:31:41 +02:00
Andreas Dangel
030eb40e01
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:26:50 +02:00
Andreas Dangel
4be223bde4
pmd: adding more entries to gitignore and to exclude while creating the source zip file.
2013-04-14 17:01:56 +02:00
Andreas Dangel
bd5ec60a9f
pmd: fix #1082 CPD performance issue on larger projects
2013-04-14 13:33:00 +02:00
Andreas Dangel
cfa21c106c
pmd: fix #1081 Regression: CPD skipping all files when using relative paths
2013-04-12 23:02:40 +02:00
Andreas Dangel
0d9d09b9dd
pmd: improve release documentation
2013-04-05 20:45:41 +02:00
Andreas Dangel
159d9523db
pmd: correct the command line examples
2013-04-05 19:19:30 +02:00
Andreas Dangel
503b41e40f
pmd: prepare pmd release 5.0.3
2013-04-05 18:48:02 +02:00
Andreas Dangel
0dc8d20800
pmd: use the released pmd-build plugin 0.8
2013-04-05 18:26:17 +02:00
Andreas Dangel
f9484aa2d2
[maven-release-plugin] prepare for next development iteration
2013-04-05 18:17:20 +02:00
Andreas Dangel
0631ef98fd
[maven-release-plugin] prepare release pmd-build/0.8
2013-04-05 18:17:20 +02:00
Andreas Dangel
524fd6fe43
pmd: fix NPE in LooseCouplingRule
2013-04-05 17:36:12 +02:00
Andreas Dangel
075f0181d6
pmd: fix #1078 Package statement introduces false positive UnnecessaryFullyQualifiedName violation
2013-04-05 17:11:30 +02:00
Andreas Dangel
51aca91330
pmd-eclipse: Fix compile errors after updating to latest PMD 5.1.0-SNAPSHOT.
2013-04-01 10:51:56 +02:00
Andreas Dangel
02dbbe2673
pmd-eclipse: new PMD snapshot jar
2013-03-31 18:51:18 +02:00
Andreas Dangel
c91981ec65
pmd-eclipse - eclipse project configuration
2013-03-31 15:08:47 +02:00
Andreas Dangel
039d65fcc2
Merge branch 'master' of https://github.com/twh270/pmd
2013-03-31 14:24:58 +02:00
Andreas Dangel
2ab7b9e698
pmd-eclipse: update version numbers
2013-03-31 14:21:28 +02:00
Andreas Dangel
6fb192e584
Merge branch 'master' of https://github.com/hooperbloob/pmd into hooperbloob-master
2013-03-31 09:48:34 +02:00
Andreas Dangel
56339a6c58
Merge pull request #16 from acanda/ASTFormalParameterVariableName
2013-03-30 19:09:13 +01:00
Andreas Dangel
5f70b65afa
Merge pull request #17 from acanda/IterableReportTree
2013-03-30 18:46:18 +01:00
Andreas Dangel
e1c327d76f
pmd: fix version numbers for new logging rules.
2013-03-30 18:33:31 +01:00
Andreas Dangel
57e331f90e
pmd: add tests for CommentRequiredRule.
2013-03-30 18:33:12 +01:00
Andreas Dangel
29c178037a
Merge pull request #14 from snajberk/master
2013-03-30 17:16:10 +01:00
Andreas Dangel
1907c6d9e8
pmd: fix #1077 Missing JavaDocs for Xref-Test Files
2013-03-30 15:44:44 +01:00
Andreas Dangel
7c440fd42e
pmd: verify #937 OptimizableToArrayCall does not catch multilevel method chains
2013-03-30 15:25:03 +01:00
Andreas Dangel
f0d8759b79
pmd: fix #938 False positive on LooseCoupling for overriding methods
2013-03-30 15:04:47 +01:00
Andreas Dangel
5d1d82919c
pmd: verify #939 Jsp parser fails on $
2013-03-30 14:27:32 +01:00
Andreas Dangel
ca10969400
pmd: fix #940 False positive on UnsynchronizedStaticDateFormatter
2013-03-30 14:10:11 +01:00
Andreas Dangel
9b7562cd23
pmd: fix #942 CheckResultSet False Positive
...
* replacing the xpath rule with a java based rule implementation
2013-03-30 13:58:12 +01:00
Andreas Dangel
be4c1adce6
pmd: fix #943 PreserveStackTrace false positive if a StringBuffer exists
2013-03-30 11:50:57 +01:00
Andreas Dangel
89e005fe49
pmd: fix #945 PMD generates RuleSets it cannot read.
2013-03-30 11:50:45 +01:00
Andreas Dangel
b034dfb2d8
pmd: fix #958 Intermittent NullPointerException while loading XPath node attributes
...
* synchronizing the method cache
* adding additional null check
2013-03-30 09:25:04 +01:00
Andreas Dangel
0e44680981
formatting, white spaces
2013-03-30 09:06:18 +01:00
Andreas Dangel
c345f82968
pmd: verify #959 StringToString False Positive
2013-03-30 08:59:12 +01:00
Andreas Dangel
90d901c4bf
pmd: verify #998 False positive ClassCastExceptionWithToArray with generics
2013-03-29 16:02:05 +01:00
Andreas Dangel
abf8f3297b
pmd: update changelog, verify #1076
2013-03-24 20:33:54 +01:00
Andreas Dangel
470c6b9c38
Merge branch 'ViolationNodeEqualsNode' of https://github.com/acanda/pmd into acanda-ViolationNodeEqualsNode
2013-03-24 20:09:46 +01:00
Andreas Dangel
d9aefc7949
pmd: update changelog
2013-03-24 20:05:56 +01:00
Andreas Dangel
d24a2651cb
pmd: fix #1027 PMD Ant: java.lang.ClassCastException
2013-03-17 11:59:00 +01:00
Andreas Dangel
2f53a3e795
pmd: fix #999 Law of Demeter: False positives and negatives
2013-03-17 11:03:02 +01:00
Andreas Dangel
c8bf5d46a8
pmd: fix #975 false positive in ClassCastExceptionWithToArray
2013-03-17 10:11:02 +01:00
Andreas Dangel
d7bdb79cdd
pmd: fix #968 Issues with JUnit4 @Test annotation with expected exception
...
Thanks to Yiannis Paschalidis
2013-03-17 09:56:02 +01:00
Andreas Dangel
7947282704
pmd: verify #962 MethodReturnsInternalArray: False positive using a ternary operator
2013-03-16 22:09:36 +01:00
Andreas Dangel
4388806404
pmd: fix #976 UselessStringValueOf wrong when appending character arrays
2013-03-16 19:51:06 +01:00
Andreas Dangel
8ea9d29f31
pmd: fix #977 MisplacedNullCheck makes false positives
2013-03-16 19:17:48 +01:00
Andreas Dangel
72d07a8e7e
pmd: fix #985 Suppressed methods shouldn't affect avg CyclomaticComplexity
2013-03-16 18:09:25 +01:00
Andreas Dangel
c3e148174c
pmd: fix #984 Cyclomatic complexity should treat constructors like methods
2013-03-16 17:15:40 +01:00
Andreas Dangel
22a2db080f
pmd (site): add links to the rules from the rule index page
2013-03-16 15:22:31 +01:00
Andreas Dangel
0125e7a03b
pmd (site): add missing default values of properties for documentation
2013-03-16 13:58:32 +01:00
Andreas Dangel
370ed23e01
pmd: fix #991 AvoidSynchronizedAtMethodLevel for static methods
2013-03-16 12:22:10 +01:00
Andreas Dangel
dcaf06303c
pmd: fix #997 Rule NonThreadSafeSingleton gives analysis problem
2013-03-16 12:05:05 +01:00
Andreas Dangel
54cab5de42
pmd: fix #992 Class java.beans.Statement triggered in CloseResource rule
2013-03-16 11:40:15 +01:00
Andreas Dangel
bb083a7685
pmd: fix NPE in ConstructorCallsOverridableMethodRule
2013-03-15 21:54:02 +01:00
Andreas Dangel
ea06bd063f
pmd: switch to java 1.6
...
we already depend on it, e.g. jcommander requires a java 1.6 JRE
2013-03-15 21:49:28 +01:00
Andreas Dangel
7ae1e9c6dc
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:02 +01:00
Andreas Dangel
2c5b6e1fdb
pmd: verify #254 False+ : UnusedImport with Javadoc @link
2013-03-14 21:47:06 +01:00
Andreas Dangel
0739c2f601
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:48:05 +01:00
Andreas Dangel
3ce242c179
pmd: cleanup design test cases
2013-03-13 20:31:33 +01:00
Andreas Dangel
3bf8eb9d1f
pmd: #1002 False +: FinalFieldCouldBeStatic on inner class
2013-03-13 20:02:22 +01:00
Andreas Dangel
511fd6fb58
pmd: fix #1073 Hard coded violation messages CommentSize
2013-03-10 09:48:11 +01:00
Andreas Dangel
4f1cfd6125
pmd: fix #1074 rule priority doesn't work on group definitions
...
and verify #1067 Custom Ruleset doesn't import the complete ruleset anymore by reference
2013-03-09 17:51:06 +01:00
Andreas Dangel
6426deca6b
pmd: add versions maven plugin
2013-03-05 22:32:53 +01:00
Andreas Dangel
5b3405d93b
pmd: fix changelog version info
2013-03-05 22:32:44 +01:00
Andreas Dangel
9623d61310
pmd: fixed #1064 Exception running PrematureDeclaration
2013-03-05 22:30:03 +01:00