pmd-devel Mailing List for PMD (Page 9)
A source code analyzer
Brought to you by:
adangel,
juansotuyo
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(768) |
Aug
(543) |
Sep
(364) |
Oct
(326) |
Nov
(182) |
Dec
(148) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(144) |
Feb
(223) |
Mar
(339) |
Apr
(406) |
May
(128) |
Jun
(225) |
Jul
(171) |
Aug
(171) |
Sep
(153) |
Oct
(150) |
Nov
(176) |
Dec
(88) |
| 2004 |
Jan
(71) |
Feb
(28) |
Mar
(91) |
Apr
(184) |
May
(127) |
Jun
(144) |
Jul
(186) |
Aug
(78) |
Sep
(193) |
Oct
(153) |
Nov
(92) |
Dec
(177) |
| 2005 |
Jan
(223) |
Feb
(319) |
Mar
(253) |
Apr
(106) |
May
(215) |
Jun
(299) |
Jul
(341) |
Aug
(286) |
Sep
(270) |
Oct
(212) |
Nov
(283) |
Dec
(345) |
| 2006 |
Jan
(243) |
Feb
(426) |
Mar
(278) |
Apr
(254) |
May
(259) |
Jun
(197) |
Jul
(156) |
Aug
(84) |
Sep
(150) |
Oct
(719) |
Nov
(319) |
Dec
(169) |
| 2007 |
Jan
(484) |
Feb
(222) |
Mar
(61) |
Apr
(51) |
May
(63) |
Jun
(182) |
Jul
(177) |
Aug
(89) |
Sep
(46) |
Oct
(178) |
Nov
(116) |
Dec
(89) |
| 2008 |
Jan
(23) |
Feb
(198) |
Mar
(227) |
Apr
(203) |
May
(174) |
Jun
(215) |
Jul
(55) |
Aug
(152) |
Sep
(129) |
Oct
(177) |
Nov
(79) |
Dec
(84) |
| 2009 |
Jan
(91) |
Feb
(179) |
Mar
(102) |
Apr
(67) |
May
(40) |
Jun
(41) |
Jul
(43) |
Aug
(53) |
Sep
(4) |
Oct
(17) |
Nov
(48) |
Dec
(76) |
| 2010 |
Jan
(28) |
Feb
(17) |
Mar
(27) |
Apr
(9) |
May
(19) |
Jun
(50) |
Jul
(21) |
Aug
(9) |
Sep
(42) |
Oct
(30) |
Nov
(33) |
Dec
(10) |
| 2011 |
Jan
(14) |
Feb
(6) |
Mar
(18) |
Apr
(8) |
May
(4) |
Jun
(18) |
Jul
(21) |
Aug
(19) |
Sep
(298) |
Oct
(82) |
Nov
(102) |
Dec
(241) |
| 2012 |
Jan
(41) |
Feb
(29) |
Mar
(43) |
Apr
(18) |
May
(42) |
Jun
(53) |
Jul
(53) |
Aug
(43) |
Sep
(16) |
Oct
(20) |
Nov
(36) |
Dec
(26) |
| 2013 |
Jan
(15) |
Feb
(14) |
Mar
(36) |
Apr
(38) |
May
(20) |
Jun
(5) |
Jul
(6) |
Aug
(18) |
Sep
(3) |
Oct
(24) |
Nov
(14) |
Dec
(1) |
| 2014 |
Jan
(13) |
Feb
(12) |
Mar
(8) |
Apr
(19) |
May
(4) |
Jun
(4) |
Jul
(27) |
Aug
(18) |
Sep
(11) |
Oct
(15) |
Nov
(32) |
Dec
(13) |
| 2015 |
Jan
(11) |
Feb
(13) |
Mar
(21) |
Apr
(22) |
May
(32) |
Jun
(14) |
Jul
(11) |
Aug
(7) |
Sep
(33) |
Oct
(40) |
Nov
(20) |
Dec
(13) |
| 2016 |
Jan
(24) |
Feb
(16) |
Mar
(11) |
Apr
(25) |
May
(46) |
Jun
(13) |
Jul
(3) |
Aug
(3) |
Sep
(8) |
Oct
(3) |
Nov
(17) |
Dec
(9) |
| 2017 |
Jan
(6) |
Feb
(3) |
Mar
(13) |
Apr
(16) |
May
(7) |
Jun
(5) |
Jul
(30) |
Aug
(3) |
Sep
(3) |
Oct
(10) |
Nov
(2) |
Dec
(3) |
| 2018 |
Jan
(8) |
Feb
(4) |
Mar
(6) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(6) |
Aug
(4) |
Sep
(4) |
Oct
(4) |
Nov
(4) |
Dec
(5) |
| 2019 |
Jan
(3) |
Feb
(2) |
Mar
(3) |
Apr
(2) |
May
(3) |
Jun
(2) |
Jul
(5) |
Aug
(2) |
Sep
(5) |
Oct
(3) |
Nov
(7) |
Dec
(1) |
| 2020 |
Jan
(3) |
Feb
(2) |
Mar
(2) |
Apr
(2) |
May
(3) |
Jun
(2) |
Jul
(2) |
Aug
(2) |
Sep
(2) |
Oct
(3) |
Nov
(3) |
Dec
(2) |
| 2021 |
Jan
(2) |
Feb
(2) |
Mar
(2) |
Apr
(4) |
May
(4) |
Jun
(3) |
Jul
(4) |
Aug
(2) |
Sep
(3) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
| 2022 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(2) |
May
(2) |
Jun
(3) |
Jul
(2) |
Aug
(2) |
Sep
(3) |
Oct
(1) |
Nov
(2) |
Dec
(2) |
| 2023 |
Jan
(2) |
Feb
(2) |
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2024 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
(2) |
Sep
(1) |
Oct
(1) |
Nov
(8) |
Dec
(2) |
| 2025 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
|
From: Rory O'D. <ror...@or...> - 2018-08-07 08:20:08
|
Hi Andreas, *JDK 11 Early Access build 25 is available at : - **jdk.java.net/11/* * *JDK 11 entered Rampdown Phase 2 on 26-July [1]* o The overall feature set is frozen. No further JEPs will be targeted to this release. o We now turn our focus to P1 and P2 bugs. * Release notes are available here [2] *JDK 12 Early Access build 05 is available at : - **jdk.java.net/12/* * Changes in this build here <http://hg.openjdk.java.net/jdk/jdk/log?revcount=10000&rev=reverse%28%22jdk-12%2B4%22%3A%3A%22jdk-12%2B5%22%29>. *JDK 8u192 Early Access build 04 is available at : - http://jdk.java.net/8/* * JDK 8u192 timeline is available [3] o GA is scheduled for October 2018 **Conference videos online* * * *OpenJDK Committers’ Workshop [4]* * JVM Language Summit 2018 [5]: Regards, Rory [1] http://mail.openjdk.java.net/pipermail/jdk-dev/2018-July/001669.html [2] http://jdk.java.net/11/release-notes [3] http://openjdk.java.net/projects/jdk8u/releases/8u192.html [4] https://www.youtube.com/playlist?list=PLX8CzqL3ArzXY_9Ornabhxs-j2h4hnvJ3 [5] https://www.youtube.com/playlist?list=PLX8CzqL3ArzVnxC6PYxMlngEMv3W1pIkn -- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA , Dublin, Ireland |
|
From: Andreas D. <and...@ad...> - 2018-08-02 17:16:28
|
Thanks, I've just fixed the link. It was meant to point to https://pmd.github.io/latest/pmd_userdocs_installation.html . Am 01.08.2018 um 14:15 schrieb Richards Jr, Don (Don): > > https://github.com/pmd/pmd/wiki/Newcomers%27-Guide > > > > > 1. Check out PMD > > As you want to engage with PMD, your first task is, to find out what > PMD is - if you didn't do this already. Read the webpage > <https://pmd.github.io/>, install PMD with the Getting Started Guide > <https://pmd.github.io/latest/pmd_userdocs_getting_started.html> and > try it out. > > The “Getting Started Guide > <https://pmd.github.io/latest/pmd_userdocs_getting_started.html>” is > pointing to a 404 page. > > > > Don Richards > > IT Analyst III > > John C. Hodges Library > > 1015 Volunteer Blvd. > > University of Tennessee > > Knoxville, TN 37996 > > 865-974-2873 > > dri...@ut... <mailto:dri...@ut...> > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Pmd-devel mailing list > Pmd...@li... > https://lists.sourceforge.net/lists/listinfo/pmd-devel |
|
From: Richards J. D. (Don) <Don...@ut...> - 2018-08-01 12:15:37
|
https://github.com/pmd/pmd/wiki/Newcomers%27-Guide 1. Check out PMD As you want to engage with PMD, your first task is, to find out what PMD is - if you didn't do this already. Read the webpage<https://pmd.github.io/>, install PMD with the Getting Started Guide<https://pmd.github.io/latest/pmd_userdocs_getting_started.html> and try it out. The “Getting Started Guide<https://pmd.github.io/latest/pmd_userdocs_getting_started.html>” is pointing to a 404 page. Don Richards IT Analyst III John C. Hodges Library 1015 Volunteer Blvd. University of Tennessee Knoxville, TN 37996 865-974-2873 dri...@ut...<mailto:dri...@ut...> |
|
From: Andreas D. <and...@ad...> - 2018-07-29 11:21:32
|
* Downloads: https://github.com/pmd/pmd/releases/tag/pmd_releases%2F6.6.0 * Documentation: https://pmd.github.io/pmd-6.6.0/ 29-July-2018 - 6.6.0 The PMD team is pleased to announce PMD 6.6.0. This is a minor release. Table Of Contents * New and noteworthy <https://sourceforge.net/p/pmd/news/2018/07/pmd-660-released/#new-and-noteworthy> o Java 11 Support <https://sourceforge.net/p/pmd/news/2018/07/pmd-660-released/#java-11-support> o New Rules <https://sourceforge.net/p/pmd/news/2018/07/pmd-660-released/#new-rules> o Modified Rules <https://sourceforge.net/p/pmd/news/2018/07/pmd-660-released/#modified-rules> * Fixed Issues <https://sourceforge.net/p/pmd/news/2018/07/pmd-660-released/#fixed-issues> * API Changes <https://sourceforge.net/p/pmd/news/2018/07/pmd-660-released/#api-changes> * External Contributions <https://sourceforge.net/p/pmd/news/2018/07/pmd-660-released/#external-contributions> New and noteworthy Java 11 Support PMD is now able to parse the local-variable declaration syntax |var xxx|, that has been extended for lambda parameters with Java 11 via JEP 323: Local-Variable Syntax for Lambda Parameters <http://openjdk.java.net/jeps/323>. New Rules * The new Java rule |LocalVariableNamingConventions| <https://sourceforge.net/p/pmd/news/2018/07/pmd_rules_java_codestyle.html#localvariablenamingconventions> (|java-codestyle|) detects local variable names that don't comply to a given convention. It defaults to standard Java convention of using camelCase, but can be configured. Special cases can be configured for final variables and caught exceptions' names. * The new Java rule |FormalParameterNamingConventions| <https://sourceforge.net/p/pmd/news/2018/07/pmd_rules_java_codestyle.html#formalparameternamingconventions> (|java-codestyle|) detects formal parameter names that don't comply to a given convention. It defaults to standard Java convention of using camelCase, but can be configured. Special cases can be configured for final parameters and lambda parameters (considering whether they are explicitly typed or not). Modified Rules * The Java rules |AccessorClassGeneration| <https://sourceforge.net/p/pmd/news/2018/07/pmd_rules_java_bestpracices.html#accessorclassgeneration> and |AccessorMethodGeneration| <https://sourceforge.net/p/pmd/news/2018/07/pmd_rules_java_bestpracices.html#accessormethodgeneration> (both in category |java-bestpractices|) have been modified to be only valid up until Java 10. Java 11 adds support for JEP 181: Nest-Based Access Control <http://openjdk.java.net/jeps/181> which avoids the generation of accessor classes / methods altogether. Fixed Issues * core o #1178 <https://github.com/pmd/pmd/issues/1178>: [core] "Unsupported build listener" in gradle build o #1225 <https://github.com/pmd/pmd/issues/1225>: [core] Error in sed expression on line 82 of run.sh while detecting installed version of Java * doc o #1215 <https://github.com/pmd/pmd/issues/1215>: [doc] TOC links don't work? * java-codestyle o #1211 <https://github.com/pmd/pmd/issues/1211>: [java] CommentDefaultAccessModifier false positive with nested interfaces (regression from 6.4.0) o #1216 <https://github.com/pmd/pmd/issues/1216>: [java] UnnecessaryFullyQualifiedName false positive for the same name method * java-design o #1217 <https://github.com/pmd/pmd/issues/1217>: [java] CyclomaticComplexityRule counts ?-operator twice o #1226 <https://github.com/pmd/pmd/issues/1226>: [java] NPath complexity false negative due to overflow * plsql o #980 <https://github.com/pmd/pmd/issues/980>: [plsql] ParseException for CREATE TABLE o #981 <https://github.com/pmd/pmd/issues/981>: [plsql] ParseException when parsing VIEW o #1047 <https://github.com/pmd/pmd/issues/1047>: [plsql] ParseException when parsing EXECUTE IMMEDIATE * ui o #1233 <https://github.com/pmd/pmd/issues/1233>: [ui] XPath autocomplete arrows on first and last items API Changes * The |findDescendantsOfType| methods in |net.sourceforge.pmd.lang.ast.AbstractNode| no longer search for exact type matches, but will match subclasses, too. That means, it's now possible to look for abstract node types such as |AbstractJavaTypeNode| and not only for it's concrete subtypes. External Contributions * #1182 <https://github.com/pmd/pmd/pull/1182>: [ui] XPath AutoComplete - Akshat Bahety <https://github.com/akshatbahety> * #1231 <https://github.com/pmd/pmd/pull/1231>: [doc] Minor typo fix in installation.md - Ashish Rana <https://github.com/ashishrana160796> * #1250 <https://github.com/pmd/pmd/pull/1250>: [ci] [GSoC] Upload baseline of pmdtester automatically - BBG <https://github.com/djydewang> |
|
From: Rory O'D. <ror...@or...> - 2018-07-17 11:06:20
|
Hi Andreas,
*JDK 11 is in Rampdown Phase one*
* *The overall feature set is frozen. No further JEPs will be targeted
to this release.*
* *Rampdown Phase two is scheduled to start * *26th of July*
**JDK 11 EA build 22 , *****under both the GPL and Oracle EA licenses,
is now available at **http://jdk.java.net/11**. ***
* Schedule, status & features
o http://openjdk.java.net/projects/jdk/11/
* Release Notes:
o http://jdk.java.net/11/release-notes
*FOSS fixes in recent builds.*
* JBoss Netty (b17) - JDK-8203937 (b17)
* JUnit5 & other Foss Projects (b22) -JDK-8206355
**Notable changes in JDK 11 EA *build 22*
* New Collection.toArray(IntFunction) Default Method (JDK-8060192
<http://bugs.openjdk.java.net/browse/JDK-8060192>)
* Make some system properties effectively readonly (JDK-8066709
<http://bugs.openjdk.java.net/browse/JDK-8066709>)
* Obsolete Support for Commercial Features (JDK-8202331
<http://bugs.openjdk.java.net/browse/JDK-8202331>)
* JFR start failure after AppCDS archive created with JFR
StartFlightRecording (JDK-8203664
<http://bugs.openjdk.java.net/browse/JDK-8203664>)
* Change to policy for the default set of modules resolved when
compiling or running code on the class path (JDK-8197532
<http://bugs.openjdk.java.net/browse/JDK-8197532>)
*JDK 12 Early Access Build 02 is available at **http://jdk.java.net/12/*
* OpenJDK builds
o These early-access, open-source builds are provided under the
GNU General Public License, version 2, with the Classpath
Exception <http://openjdk.java.net/legal/gplv2+ce.html>.
* Changes in this build are listed here
<http://hg.openjdk.java.net/jdk/jdk/log?revcount=10000&rev=reverse%28%22jdk-12%2B1%22%3A%3A%22jdk-12%2B2%22%29>
*The Quality Report for July 2018 is published **here
<https://wiki.openjdk.java.net/display/quality/Quality+Outreach+report+for+July+2018>*
* With the new six months release , we now publish the Quality report
every three months.
* Thanks to all the FOSS Projects for logging bugs against the JDK 11
EA Builds!
Rgds,Rory
[1] http://openjdk.java.net/projects/jdk/11/
|
|
From: Andreas D. <and...@ad...> - 2018-07-12 20:51:20
|
See https://sourceforge.net/p/pmd/discussion/188192/thread/66dc118c/?limit=25#3591 Note: For using the mailing list, you'll either need to register with sourceforge and use a sourceforge email address, subscribe to the mailinglist or wait until a moderator has approved the mail. Am 12.07.2018 um 19:32 schrieb sp kumar: > Hi PMD Team, > > Good morning, > > We are working on the Apex PMD configuration to generate the PMD > report for our Salesforce Apex code, Below is the information > required, Request to kindly help on providing the same, > > *_Kindly consider as High Priority,_* > > 1.) As per one of the performance ruleset, we observe the below snippet > *<rule name="AvoidDmlStatementsInLoops"* > * since="5.5.0"* > * message="Avoid DML statements inside loops"* > * > class="net.sourceforge.pmd.lang.apex.rule.performance.AvoidDmlStatementsInLoopsRule"* > * > externalInfoUrl="${pmd.website.baseurl}/pmd_rules_apex_performance.html#avoidsoqlinloops">* > * * > *_Can we download the Java Files (located at > *net.sourceforge.pmd.lang.apex.rule.performance.AvoidDmlStatementsInLoopsRule) > to our local system and execute the PMD report.*_* > *_* > *_* > 2.) If Yes. request to kindly help us the way forward. > > 3.) Please let us where is this URL defined in PMD ( > *externalInfoUrl="${pmd.website.baseurl}* ) > > 4.) Please let us know your tele contact details to have a call. > > Thanks, > > ** > ** > ** > ** > ** > ** > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Pmd-devel mailing list > Pmd...@li... > https://lists.sourceforge.net/lists/listinfo/pmd-devel |
|
From: sp k. <sp...@gm...> - 2018-07-12 17:33:12
|
Hi PMD Team,
Good morning,
We are working on the Apex PMD configuration to generate the PMD report for
our Salesforce Apex code, Below is the information required, Request to
kindly help on providing the same,
*Kindly consider as High Priority,*
1.) As per one of the performance ruleset, we observe the below snippet
*<rule name="AvoidDmlStatementsInLoops"*
* since="5.5.0"*
* message="Avoid DML statements inside loops"*
*
class="net.sourceforge.pmd.lang.apex.rule.performance.AvoidDmlStatementsInLoopsRule"*
*
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_apex_performance.html#avoidsoqlinloops">*
*Can we download the Java Files (located at
net.sourceforge.pmd.lang.apex.rule.performance.AvoidDmlStatementsInLoopsRule)
to our local system and execute the PMD report.*
2.) If Yes. request to kindly help us the way forward.
3.) Please let us where is this URL defined in PMD (
*externalInfoUrl="${pmd.website.baseurl}* )
4.) Please let us know your tele contact details to have a call.
Thanks,
|
|
From: Sai P. <sai...@gm...> - 2018-07-11 09:33:06
|
Hi PMD Team,
Good morning,
We are working on the Apex PMD configuration to generate the PMD report for
our Salesforce Apex code, Below is the information required, Request to
kindly help on providing the same,
*Kindly consider as High Priority,*
1.) As per one of the performance ruleset, we observe the below snippet
*<rule name="AvoidDmlStatementsInLoops"*
* since="5.5.0"*
* message="Avoid DML statements inside loops"*
*
class="net.sourceforge.pmd.lang.apex.rule.performance.AvoidDmlStatementsInLoopsRule"*
*
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_apex_performance.html#avoidsoqlinloops">*
*Can we download the Java Files (located at
net.sourceforge.pmd.lang.apex.rule.performance.AvoidDmlStatementsInLoopsRule)
to our local system and execute the PMD report.*
2.) If Yes. request to kindly help us the way forward.
3.) Please let us where is this URL defined in PMD (
*externalInfoUrl="${pmd.website.baseurl}* )
4.) Please let us know your tele contact details to have a call.
Thanks,
|
|
From: Rory O'D. <ror...@or...> - 2018-07-02 09:12:06
|
Hi Andreas,
*JDK 11 is now in Rampdown Phase one***
The overall feature set is frozen. No further JEPs will be targeted to
this release.We’ve forked the main-line source repository, jdk/jdk, to
the jdk/jdk11 stabilization repository. Any changes pushed to jdk/jdk or
jdk/client are now bound for JDK 12.
* For more details , see Mark Reinhold's email to jdk-dev mailing list
[1]
* The Rampdown Phase one process [2].
*Note: -* Early-Access build archive format on Windows has changed to zip.
Since our last email the following JEPs have been targeted to JDK 11 :
* 181: Nest-Based Access Control
* 315: Improve Aarch64 Intrinsics
* 330: Launch Single-File Source-Code Programs
* 331: Low-Overhead Heap Profiling
* 332: Transport Layer Security (TLS) 1.3
* 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
* 335: *Deprecate the Nashorn JavaScript Engine*
* 336: *Deprecate the Pack200 Tools and API*
Other important changes since last email:
Build 19:
JDK-8205043 <https://bugs.openjdk.java.net/browse/JDK-8205043> : G1
enables adaptive parallel reference processing by default
Build 18:
JDK-8196141 <https://bugs.openjdk.java.net/browse/JDK-8196141> : Add
GoDaddy root certificates
JDK-8204243 <https://bugs.openjdk.java.net/browse/JDK-8204243> :
*remove Thread.destroy() and Thread.stop(Throwable)*
JDK-8202088 <https://bugs.openjdk.java.net/browse/JDK-8202088> :
Japanese New Era Implementation
Build 17:
JDK-8189949 <https://bugs.openjdk.java.net/browse/JDK-8189949> :
Remove Baltimore Cybertrust Code Signing CA
JDK-8191031 <https://bugs.openjdk.java.net/browse/JDK-8191031> :
Remove several Symantec Root CAs
JDK-8072996 <https://bugs.openjdk.java.net/browse/JDK-8072996> :
Deprecate stream-based GSSContext methods
Build 16:
JDK-8191844 <https://bugs.openjdk.java.net/browse/JDK-8191844> :
Remove SECOM root
Rgds, Rory
[1] http://mail.openjdk.java.net/pipermail/jdk-dev/2018-June/001509.html
[2] http://openjdk.java.net/projects/jdk/11/#Schedule
|
|
From: Andreas D. <and...@ad...> - 2018-06-30 08:33:08
|
Hi Oscar, the location is still correct: http://pmd.sourceforge.net/ruleset_2_0_0.xsd Although you now get a redirect to the https version of the homepage: https://pmd.sourceforge.io/ruleset_2_0_0.xsd The 404 was probably only temporary. On pmd.github.io the schema can be found also at the root directory: https://pmd.github.io/ruleset_2_0_0.xsd Cheers, Andreas Am 29.06.2018 um 20:09 schrieb Nazario, Oscar via Pmd-devel: > > HI, > > In my Java ruleset.xml file, the following reference is no longer valid; > > > > <rulesetname=/"Custom ruleset"/ > > xmlns=/"http://pmd.sourceforge.net/ruleset/2.0.0"/ > > xmlns:xsi=/"http://www.w3.org/2001/XMLSchema-instance"/ > > xsi:schemaLocation=/"http://pmd.sourceforge.net/ruleset/2.0.0 > http://pmd.sourceforge.net/ruleset_2_0_0.xsd"/ > > > xsi:noNamespaceSchemaLocation=/"http://pmd.sourceforge.net/ruleset_2_0_0.xsd"/> > > > > > > The schema location returns 404- not found error. Can you tell me the > new location now that you move to https://pmd.github.io? > > Thanks, > > Oscar > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Pmd-devel mailing list > Pmd...@li... > https://lists.sourceforge.net/lists/listinfo/pmd-devel |
|
From: Nazario, O. <naz...@ll...> - 2018-06-29 18:09:32
|
HI,
In my Java ruleset.xml file, the following reference is no longer valid;
<ruleset name="Custom ruleset"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
The schema location returns 404- not found error. Can you tell me the new location now that you move to https://pmd.github.io?
Thanks,
Oscar
|
|
From: Andreas D. <and...@ad...> - 2018-06-26 11:24:48
|
* Downloads: https://github.com/pmd/pmd/releases/tag/pmd_releases%2F6.5.0 * Documentation: https://pmd.github.io/pmd-6.5.0/ 26-JUNE-2018 - 6.5.0 The PMD team is pleased to announce PMD 6.5.0. This is a minor release. TABLE OF CONTENTS * New and noteworthy * New Rules * Modified Rules * Fixed Issues * API Changes * External Contributions NEW AND NOTEWORTHY NEW RULES * The new Apex rule `AvoidNonExistentAnnotations` [1] (apex-errorprone) detects usages non-officially supported annotations. Apex supported non existent annotations for legacy reasons. In the future, use of such non-existent annotations could result in broken Apex code that will not compile. A full list of supported annotations can be found here [2] MODIFIED RULES * The Java rule UnnecessaryModifier [3] (java-codestyle) now detects enum constrcutors with explicit private modifier. The rule now produces better error messages letting you know exactly which modifiers are redundant at each declaration. FIXED ISSUES * all * #1119 [4]: [doc] Make the landing page of the documentation website more useful * #1168 [5]: [core] xml renderer schema definitions (#538) break included xslt files * #1173 [6]: [core] Some characters in CPD are not shown correctly. * #1193 [7]: [core] Designer doesn't start with run.sh * ecmascript * #861 [8]: [ecmascript] InnaccurateNumericLiteral false positive with hex literals * java * #1074 [9]: [java] MissingOverrideRule exception when analyzing PMD under Java 9 * #1174 [10]: [java] CommentUtil.multiLinesIn() could lead to StringIndexOutOfBoundsException * java-bestpractices * #651 [11]: [java] SwitchStmtsShouldHaveDefault should be aware of enum types * #869 [12]: [java] GuardLogStatement false positive on return statements and Math.log * java-codestyle * #667 [13]: [java] Make AtLeastOneConstructor Lombok-aware * #1154 [14]: [java] CommentDefaultAccessModifierRule FP with nested enums * #1158 [15]: [java] Fix IdenticalCatchBranches false positive * #1186 [16]: [java] UnnecessaryFullyQualifiedName doesn't detect java.lang FQ names as violations * java-design * #1200 [17]: [java] New default NcssCount method report level is drastically reduced from values of deprecated NcssMethodCount and NcssTypeCount * xml * #715 [18]: [xml] ProjectVersionAsDependencyVersion false positive API CHANGES * The utility class net.sourceforge.pmd.lang.java.ast.CommentUtil has been deprecated and will be removed with PMD 7.0.0. Its methods have been intended to parse javadoc tags. A more useful solution will be added around the AST nodeFormalComment, which contains as children JavadocElement nodes, which in turn provide access to the JavadocTag. All comment AST nodes (FormalComment, MultiLineComment, SingleLineComment) have a new method getFilteredComment() which provide access to the comment text without the leading /* markers. * The method AbstractCommentRule.tagsIndicesIn() has been deprecated and will be removed with PMD 7.0.0. It is not very useful, since it doesn't extract the information in a useful way. You would still need check, which tags have been found, and with which data they might be accompanied. EXTERNAL CONTRIBUTIONS * #836 [19]: [apex] Add a rule to prevent use of non-existent annotations - anand13s [20] * #1159 [21]: [ui] Allow to setup the auxclasspath in the designer - Akshat Bahety [22] * #1169 [23]: [core] Update stylesheets with a default namespace - Matthew Duggan [24] * #1183 [25]: [java] fixed typos in rule remediation - Jake Hemmerle [26] * #1206 [27]: [java] Recommend StringBuilder next to StringBuffer - krichter722 [28] Links: ------ [1] http://webmail.adangel.org/pmd_rules_apex_errorprone.html#avoidnonexistentannotations [2] https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation.htm [3] http://webmail.adangel.org/pmd_rules_java_codestyle.html#unnecessarymodifier [4] https://github.com/pmd/pmd/issues/1119 [5] https://github.com/pmd/pmd/issues/1168 [6] https://github.com/pmd/pmd/issues/1173 [7] https://github.com/pmd/pmd/issues/1193 [8] https://github.com/pmd/pmd/issues/861 [9] https://github.com/pmd/pmd/issues/1074 [10] https://github.com/pmd/pmd/issues/1174 [11] https://github.com/pmd/pmd/issues/651 [12] https://github.com/pmd/pmd/issues/869 [13] https://github.com/pmd/pmd/issues/667 [14] https://github.com/pmd/pmd/pull/1154 [15] https://github.com/pmd/pmd/issues/1158 [16] https://github.com/pmd/pmd/issues/1186 [17] https://github.com/pmd/pmd/issues/1200 [18] https://github.com/pmd/pmd/issues/715 [19] https://github.com/pmd/pmd/pull/836 [20] https://github.com/anand13s [21] https://github.com/pmd/pmd/pull/1159 [22] https://github.com/akshatbahety [23] https://github.com/pmd/pmd/pull/1169 [24] https://github.com/mduggan [25] https://github.com/pmd/pmd/pull/1183 [26] https://github.com/jakehemmerle [27] https://github.com/pmd/pmd/pull/1206 [28] https://github.com/krichter722 |
|
From: Juan M. S. D. <jua...@gm...> - 2018-05-29 18:00:29
|
- Downloads: https://github.com/pmd/pmd/releases/tag/pmd_releases%2F6.4.0 - Documentation: https://pmd.github.io/pmd-6.4.0/ 29-May-2018 - 6.4.0 The PMD team is pleased to announce PMD 6.4.0. This is a minor release. Table Of Contents - New and noteworthy <#new-and-noteworthy> - Java 10 Support <#java-10-support> - XPath Type Resolution Functions <#xpath-type-resolution-functions> - New Rules <#new-rules> - Modified Rules <#modified-rules> - Fixed Issues <#fixed-issues> - API Changes <#api-changes> - External Contributions <#external-contributions> New and noteworthy Java 10 Support PMD is now able to understand local-variable type inference as introduced by Java 10. Simple type resolution features are available, e.g. the type of the variable s is inferred correctly as String: var s = "Java 10"; XPath Type Resolution Functions For some time now PMD has supported Type Resolution, and exposed this functionality to XPath rules for the Java language with the typeof function. This function however had a number of shortcomings: - It would take a first arg with the name to match if types couldn’t be resolved. In all cases this was @Image but was still required. - It required 2 separate arguments for the Fully Qualified Class Name and the simple name of the class against which to test. - If only the Fully Qualified Class Name was provided, no simple name check was performed (not documented, but abused on some rules to “fix” some false positives). In this release we are deprecating typeof in favor of a simpler typeIs function, which behaves exactly as the old typeof when given all 3 arguments. typeIs receives a single parameter, which is the fully qualified name of the class to test against. So, calls such as: //ClassOrInterfaceType[typeof(@Image, 'junit.framework.TestCase', 'TestCase')] can now we expressed much more concisely as: //ClassOrInterfaceType[typeIs('junit.framework.TestCase')] With this change, we also allow to check against array types by just appending [] to the fully qualified class name. These can be repeated for arrays of arrays (e.g. byte[][] or java.lang.String[]). Additionally, we introduce the companion function typeIsExactly, that receives the same parameters as typeIs, but checks for exact type matches, without considering the type hierarchy. That is, the test typeIsExactly('junit.framework.TestCase') will match only if the context node is an instance of TestCase, but not if it’s an instance of a subclass of TestCase. Be aware then, that using that method with abstract types will never match. New Rules - The new Java rule HardCodedCryptoKey <http://pmd_rules_java_security.html#hardcodedcryptokey> (java-security) detects hard coded keys used for encryption. It is recommended to store keys outside of the source code. - The new Java rule IdenticalCatchBranches <http://pmd_rules_java_codestyle.html#identicalcatchbranches> ( java-codestyle) finds catch blocks, that catch different exception but perform the same exception handling and thus can be collapsed into a multi-catch try statement. Modified Rules - The Java rule JUnit4TestShouldUseTestAnnotation <http://pmd_rules_java_bestpractices.html#junit4testshouldusetestannotation> (java-bestpractices) has a new parameter “testClassPattern”. It is used to distinguish test classes from other classes and avoid false positives. By default, any class, that has “Test” in its name, is considered a test class. - The Java rule CommentDefaultAccessModifier <http://pmd_rules_java_codestyle.html#commentdefaultaccessmodifier> ( java-codestyle) allows now by default the comment “/* package */ in addition to “/* default */. This behavior can still be adjusted by setting the property regex. Fixed Issues - all - #1018 <https://github.com/pmd/pmd/issues/1018>: [java] Performance degradation of 250% between 6.1.0 and 6.2.0 - #1145 <https://github.com/pmd/pmd/issues/1145>: [core] JCommander’s help text for option -min is wrong - java - #672 <https://github.com/pmd/pmd/issues/672>: [java] Support exact type matches for type resolution from XPath - #743 <https://github.com/pmd/pmd/issues/743>: [java] Prepare for Java 10 - #1077 <https://github.com/pmd/pmd/issues/1077>: [java] Analyzing enum with lambda passed in constructor fails with “The enclosing scope must exist.” - #1115 <https://github.com/pmd/pmd/issues/1115>: [java] Simplify xpath typeof syntax - #1131 <https://github.com/pmd/pmd/issues/1131>: [java] java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/application/FacesMessage$Severity - java-bestpractices - #527 <https://github.com/pmd/pmd/issues/572>: [java] False Alarm of JUnit4TestShouldUseTestAnnotation on Predicates - #1063 <https://github.com/pmd/pmd/issues/1063>: [java] MissingOverride is triggered in illegal places - java-codestyle - #720 <https://github.com/pmd/pmd/issues/720>: [java] ShortVariable should whitelist lambdas - #955 <https://github.com/pmd/pmd/issues/955>: [java] Detect identical catch statements - #1114 <https://github.com/pmd/pmd/issues/1114>: [java] Star import overwritten by explicit import is not correctly handled - #1064 <https://github.com/pmd/pmd/issues/1064>: [java] ClassNamingConventions suggests to add Util suffix for simple exception wrappers - #1065 <https://github.com/pmd/pmd/issues/1065>: [java] ClassNamingConventions shouldn’t prohibit numbers in class names - #1067 <https://github.com/pmd/pmd/issues/1067>: [java] [6.3.0] PrematureDeclaration false-positive - #1096 <https://github.com/pmd/pmd/issues/1096>: [java] ClassNamingConventions is too ambitious on finding utility classes - java-design - #824 <https://github.com/pmd/pmd/issues/824>: [java] UseUtilityClass false positive when extending - #1021 <https://github.com/pmd/pmd/issues/1021>: [java] False positive for DoNotExtendJavaLangError - #1097 <https://github.com/pmd/pmd/pull/1097>: [java] False negative in AvoidThrowingRawExceptionTypes - java-performance - #1051 <https://github.com/pmd/pmd/issues/1051>: [java] ConsecutiveAppendsShouldReuse false-negative - #1098 <https://github.com/pmd/pmd/pull/1098>: [java] Simplify LongInstantiation, IntegerInstantiation, ByteInstantiation, and ShortInstantiation using type resolution - #1125 <https://github.com/pmd/pmd/issues/1125>: [java] Improve message of InefficientEmptyStringCheck for String.trim().isEmpty() - doc - #999 <https://github.com/pmd/pmd/issues/999>: [doc] Add a header before the XPath expression in rules - #1082 <https://github.com/pmd/pmd/issues/1082>: [doc] Multifile analysis doc is invalid - vf-security - #1100 <https://github.com/pmd/pmd/issues/1100>: [vf] URLENCODE is ignored as valid escape method API Changes - The following classes in package net.sourceforge.pmd.benchmark have been deprecated: Benchmark, Benchmarker, BenchmarkReport, BenchmarkResult, RuleDuration, StringBuilderCR and TextReport. Their API is not supported anymore and is disconnected from the internals of PMD. Use the newer API based around TimeTracker instead, which can be found in the same package. - The class net.sourceforge.pmd.lang.java.xpath.TypeOfFunction has been deprecated. Use the newer TypeIsFunction in the same package. - The typeof methdos in net.sourceforge.pmd.lang.java.xpath.JavaFunctions have been deprecated. Use the newer typeIs method in the same class instead.. - The methods isA, isEither and isNeither of net.sourceforge.pmd.lang.java.typeresolution.TypeHelper. Use the new isExactlyAny and isExactlyNone methods in the same class instead. External Contributions - #966 <https://github.com/pmd/pmd/pull/966>: [java] Issue #955: add new rule to detect identical catch statement - Clément Fournier <https://github.com/oowekyala> and BBG <https://github.com/djydewang> - #1046 <https://github.com/pmd/pmd/pull/1046>: [java] New security rule for finding hard-coded keys used for cryptographic operations - Sergey Gorbaty <https://github.com/sgorbaty> - #1101 <https://github.com/pmd/pmd/pull/1101>: [java] Fixes false positive for DoNotExtendJavaLangError - Akshat Bahety <https://github.com/akshatbahety> - #1106 <https://github.com/pmd/pmd/pull/1106>: [vf] URLENCODE is ignored as valid escape method - Robert Sösemann <https://github.com/rsoesemann> - #1126 <https://github.com/pmd/pmd/pull/1126>: [java] Improve implementation hint in InefficientEmptyStringCheck - krichter722 <https://github.com/krichter722> - #1129 <https://github.com/pmd/pmd/pull/1129>: [java] Adjust InefficientEmptyStringCheck documentation - krichter722 <https://github.com/krichter722> - #1137 <https://github.com/pmd/pmd/pull/1137>: [ui] Removes the need for RefreshAST - Akshat Bahety <https://github.com/akshatbahety> |
|
From: Rory O'D. <ror...@or...> - 2018-05-29 09:39:25
|
Hi Andreas, **JDK 11 EA build 15 , *****under both the GPL and Oracle EA licenses, is now available at **http://jdk.java.net/11**. ** * * Newly approved Schedule, status & features o http://openjdk.java.net/projects/jdk/11/ * Release Notes: o http://jdk.java.net/11/release-notes * Summary of changes o http://jdk.java.net/11/changes *Notable changes in JDK 11 EA builds since last email:* * b15 - JDK-8201627 <http://bugs.openjdk.java.net/browse/JDK-8201627> - Kerberos sequence number issues * b13 - JDK-8200146 <http://bugs.openjdk.java.net/browse/JDK-8200146> - Removal of appletviewer launcher o deprecated in JDK 9 and has been removed in this release * b13 - JDK-8201793 <http://bugs.openjdk.java.net/browse/JDK-8201793> - java.lang.ref.Reference does not support cloning ** ** JEPs proposed to target JDK 11 (review ends 2018/05/31 23:00 UTC) 330: Launch Single-File Source-Code Programs <http://openjdk.java.net/jeps/330> JEPs targeted to JDK 11, so far 309: Dynamic Class-File Constants <http://openjdk.java.net/jeps/309> 318: Epsilon: A No-Op Garbage Collector <http://openjdk.java.net/jeps/318> 320: Remove the Java EE and CORBA Modules <http://openjdk.java.net/jeps/320> 321: HTTP Client (Standard) <http://openjdk.java.net/jeps/321> 323: Local-Variable Syntax for Lambda Parameters <http://openjdk.java.net/jeps/323> 324: Key Agreement with Curve25519 and Curve448 <http://openjdk.java.net/jeps/324> 327: Unicode 10 <http://openjdk.java.net/jeps/327> 328: Flight Recorder <http://openjdk.java.net/jeps/328> 329: ChaCha20 and Poly1305 Cryptographic Algorithms <http://openjdk.java.net/jeps/329> Finally, Initial TLSv1.3 implementation Released to the Open Sandbox. Please note well: this branch is under very active development and is not final by any means. Also note: by releasing this code, we are not committing a specific release or timeframe. We will continue development and fixing bugs until the code is ready for inclusion in the JDK. We welcome your feedback, more info [1] Regards, Rory [1] http://mail.openjdk.java.net/pipermail/security-dev/2018-May/017139.html -- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA, Dublin,Ireland |
|
From: Rory O'D. <ror...@or...> - 2018-05-08 07:53:27
|
Hi Andreas, **JDK 11 EA build 12 , *****under both the GPL and Oracle EA licenses, is now available at **http://jdk.java.net/11**. ** * * Newly approved Schedule, status & features o http://openjdk.java.net/projects/jdk/11/ * Release Notes: o http://jdk.java.net/11/release-notes * Summary of changes o https://download.java.net/java/early_access/jdk11/12/jdk-11+12.html *Notable changes in JDK 11 EA builds since last email:* * Build 11 - see Release Notes for details. o JDK-8201315 : SelectableChannel.register may be invoked while a selection operation is in progress * Build 10 - see Release Notes for details. o JDK-8200149 : Removal of "com.sun.awt.AWTUtilities" class o JDK-8189997 (not public) : Enhanced KeyStore Mechanisms o JDK-8175075 (not public) : 3DES Cipher Suites Disabled * Build 9: - see Release Notes for details. o JDK-8200152 : KerberosString uses UTF-8 encoding by default o JDK-8200458 : Readiness information previously recorded in SelectionKey ready set not preserved ** *Draft JEP: Deprecate pack200, unpack200 tools and related APIs. [1] * This draft JEP [2] proposes to deprecate the pack200 APIs and tools in the JDK. As outlined in the JEP, the usefulness of this technology have diminishing returns, the components using them are being removed and connectivity speeds have improved by leaps and bounds, since its inception. Feedback appreciated via http://mail.openjdk.java.net/pipermail/jdk-dev Regards, Rory [1] http://mail.openjdk.java.net/pipermail/jdk-dev/2018-April/001074.html [2] https://bugs.openjdk.java.net/browse/JDK-8200752 Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA, Dublin,Ireland |
|
From: Andreas D. <and...@ad...> - 2018-04-29 08:16:53
|
* Downloads: https://github.com/pmd/pmd/releases/tag/pmd_releases%2F6.3.0 * Documentation: https://pmd.github.io/pmd-6.3.0/ 29-April-2018 - 6.3.0 The PMD team is pleased to announce PMD 6.3.0. This is a minor release. Table Of Contents * New and noteworthy <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#new-and-noteworthy> o Tree Traversal Revision <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#tree-traversal-revision> o Naming Rules Enhancements <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#naming-rules-enhancements> o CPD Suppression <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#cpd-suppression> o Swift 4.1 Support <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#swift-41-support> o New Rules <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#new-rules> o Modified Rules <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#modified-rules> o Deprecated Rules <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#deprecated-rules> * Fixed Issues <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#fixed-issues> * External Contributions <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#external-contributions> New and noteworthy Tree Traversal Revision As described in #904 <https://github.com/pmd/pmd/issues/904>, when searching for child nodes of the AST methods such as |hasDescendantOfType|, |getFirstDescendantOfType| and |findDescendantsOfType| were found to behave inconsistently, not all of them honoring find boundaries; that is, nodes that define a self-contained entity which should be considered separately (think of lambdas, nested classes, anonymous classes, etc.). We have modified these methods to ensure all of them honor find boundaries. This change implies several false positives / unexpected results (ie: |ASTBlockStatement| falsely returning |true| to |isAllocation()|) have been fixed; and lots of searches are now restricted to smaller search areas, which improves performance (depending on the project, we have measured up to 10% improvements during Type Resolution, Symbol Table analysis, and some rules' application). Naming Rules Enhancements * ClassNamingConventions <https://sourceforge.net/p/pmd/news/2018/04/pmd_rules_java_codestyle.html#classnamingconventions> (|java-codestyle|) has been enhanced to allow granular configuration of naming conventions for different kinds of type declarations (eg enum or abstract class). Each kind of declaration can use its own naming convention using a regex property. See the rule's documentation for more info about configuration and default conventions. * MethodNamingConventions <https://sourceforge.net/p/pmd/news/2018/04/pmd_rules_java_codestyle.html#methodnamingconventions> (|java-codestyle|) has been enhanced in the same way. CPD Suppression Back in PMD 5.6.0 we introduced the ability to suppress CPD warnings in Java using comments, by including |CPD-OFF| (to start ignoring code), or |CPD-ON| (to resume analysis) during CPD execution. This has proved to be much more flexible and versatile than the old annotation-based approach, and has since been the preferred way to suppress CPD warnings. On this occasion, we are extending support for comment-based suppressions to many other languages: * C/C++ * Ecmascript / Javascript * Matlab * Objective-C * PL/SQL * Python So for instance, in Python we could now do: class BaseHandler(object): def __init__(self): # some unignored code # tell cpd to start ignoring code - CPD-OFF # mission critical code, manually loop unroll GoDoSomethingAwesome(x + x / 2); GoDoSomethingAwesome(x + x / 2); GoDoSomethingAwesome(x + x / 2); GoDoSomethingAwesome(x + x / 2); GoDoSomethingAwesome(x + x / 2); GoDoSomethingAwesome(x + x / 2); # resume CPD analysis - CPD-ON # further code will *not* be ignored Other languages are equivalent. Swift 4.1 Support Thanks to major contributions from kenji21 <https://github.com/kenji21> the Swift grammar has been updated to support Swift 4.1. This is a major update, since the old grammar was quite dated, and we are sure all iOS developers will enjoy it. Unfortunately, this change is not compatible. The grammar elements that have been removed (ie: the keywords |__FILE__|, |__LINE__|, |__COLUMN__| and |__FUNCTION__|) are no longer supported. We don't usually introduce such drastic / breaking changes in minor releases, however, given that the whole Swift ecosystem pushes hard towards always using the latest versions, and that Swift needs all code and libraries to be currently compiling against the same Swift version, we felt strongly this change was both safe and necessary to be shipped as soon as possible. We had great feedback from the community during the process but if you have a legitimate use case for older Swift versions, please let us know on our Issue Tracker <https://github.com/pmd/pmd/issues>. New Rules * The new Java rule InsecureCryptoIv <https://sourceforge.net/p/pmd/news/2018/04/pmd_rules_java_security.html#insecurecryptoiv> (|java-security|) detects hard coded initialization vectors used in cryptographic operations. It is recommended to use a randomly generated IV. Modified Rules * The Java rule UnnecessaryConstructor <https://sourceforge.net/p/pmd/news/2018/04/pmd_rules_java_codestyle.html#unnecessaryconstructor> (|java-codestyle|) has been rewritten as a Java rule (previously it was a XPath-based rule). It supports a new property |ignoredAnnotations| and ignores by default empty constructors, that are annotated with |javax.inject.Inject|. Additionally, it detects now also unnecessary private constructors in enums. * The property |checkNativeMethods| of the Java rule MethodNamingConventions <https://sourceforge.net/p/pmd/news/2018/04/pmd_rules_java_codestyle.html#methodnamingconventions> (|java-codestyle|) is now deprecated, as it is now superseded by |nativePattern|. Support for that property will be maintained until 7.0.0. * The Java rule ControlStatementBraces <https://sourceforge.net/p/pmd/news/2018/04/pmd_rules_java_codestyle.html#controlstatementbraces> (|java-codestyle|) supports a new boolean property |checkSingleIfStmt|. When unset, the rule won't report |if| statements which lack braces, if the statement is not part of an |if ... else if| chain. This property defaults to true. Deprecated Rules * The Java rule AbstractNaming <https://sourceforge.net/p/pmd/news/2018/04/pmd_rules_java_codestyle.html#abstractnaming> (|java-codestyle|) is deprecated in favour of ClassNamingConventions <https://sourceforge.net/p/pmd/news/2018/04/pmd_rules_java_codestyle.html#classnamingconventions>. See Naming rules enhancements <https://sourceforge.net/p/pmd/news/2018/04/pmd-630-released/#naming-rules-enhancements>. Fixed Issues * all o #695 <https://github.com/pmd/pmd/issues/695>: [core] Extend comment-based suppression to all JavaCC languages o #988 <https://github.com/pmd/pmd/issues/988>: [core] FileNotFoundException for missing classes directory with analysis cache enabled o #1036 <https://github.com/pmd/pmd/issues/1036>: [core] Non-XML output breaks XML-based CLI integrations * apex-errorprone o #776 <https://github.com/pmd/pmd/issues/776>: [apex] AvoidHardcodingId false positives * documentation o #994 <https://github.com/pmd/pmd/issues/994>: [doc] Delete duplicate page contributing.md on the website o #1057 <https://github.com/pmd/pmd/issues/1057>: [doc] Documentation of ignoredAnnotations property is misleading * java o #894 <https://github.com/pmd/pmd/issues/894>: [java] Maven PMD plugin fails to process some files without any explanation o #899 <https://github.com/pmd/pmd/issues/899>: [java] JavaTypeDefinitionSimple.toString can cause NPEs o #1020 <https://github.com/pmd/pmd/issues/1020>: [java] The CyclomaticComplexity rule runs forever in 6.2.0 o #1030 <https://github.com/pmd/pmd/pull/1030>: [java] NoClassDefFoundError when analyzing PMD with PMD o #1061 <https://github.com/pmd/pmd/issues/1061>: [java] Update ASM to handle Java 10 bytecode * java-bestpractices o #370 <https://github.com/pmd/pmd/issues/370>: [java] GuardLogStatementJavaUtil not considering lambdas o #558 <https://github.com/pmd/pmd/issues/558>: [java] ProperLogger Warnings for enums o #719 <https://github.com/pmd/pmd/issues/719>: [java] Unused Code: Java 8 receiver parameter with an internal class o #1009 <https://github.com/pmd/pmd/issues/1009>: [java] JUnitAssertionsShouldIncludeMessage - False positive with assertEquals and JUnit5 * java-codestyle o #1003 <https://github.com/pmd/pmd/issues/1003>: [java] UnnecessaryConstructor triggered on required empty constructor (Dagger @Inject) o #1023 <https://github.com/pmd/pmd/issues/1023>: [java] False positive for useless parenthesis o #1004 <https://github.com/pmd/pmd/issues/1004>: [java] ControlStatementBraces is missing checkIfStmt property * java-design o #1056 <https://github.com/pmd/pmd/issues/1056>: [java] Property ignoredAnnotations does not work for SingularField and ImmutableField * java-errorprone o #629 <https://github.com/pmd/pmd/issues/629>: [java] NullAssignment false positive o #816 <https://github.com/pmd/pmd/issues/816>: [java] SingleMethodSingleton false positives with inner classes * java-performance o #586 <https://github.com/pmd/pmd/issues/586>: [java] AvoidUsingShortType erroneously triggered on overrides of 3rd party methods * swift o #678 <https://github.com/pmd/pmd/issues/678>: [swift][cpd] Exception when running for Swift 4 code (KeyPath) External Contributions * #778 <https://github.com/pmd/pmd/pull/778>: [swift] Support Swift 4 grammar - kenji21 <https://github.com/kenji21> * #1002 <https://github.com/pmd/pmd/pull/1002>: [doc] Delete duplicate page contributing.md on the website - Ishan Srivastava <https://github.com/ishanSrt> * #1008 <https://github.com/pmd/pmd/pull/1008>: [core] DOC: fix closing tag for <pmdVersion> - stonio <https://github.com/stonio> * #1010 <https://github.com/pmd/pmd/pull/1010>: [java] UnnecessaryConstructor triggered on required empty constructor (Dagger @Inject) - BBG <https://github.com/djydewang> * #1012 <https://github.com/pmd/pmd/pull/1012>: [java] JUnitAssertionsShouldIncludeMessage - False positive with assertEquals and JUnit5 - BBG <https://github.com/djydewang> * #1024 <https://github.com/pmd/pmd/pull/1024>: [java] Issue 558: Properlogger for enums - Utku Cuhadaroglu <https://github.com/utkuc> * #1041 <https://github.com/pmd/pmd/pull/1041>: [java] Make BasicProjectMemoizer thread safe. - bergander <https://github.com/bergander> * #1042 <https://github.com/pmd/pmd/pull/1042>: [java] New security rule: report usage of hard coded IV in crypto operations - Sergey Gorbaty <https://github.com/sgorbaty> * #1044 <https://github.com/pmd/pmd/pull/1044>: [java] Fix for issue #816 - Akshat Bahety <https://github.com/akshatbahety> * #1048 <https://github.com/pmd/pmd/pull/1048>: [core] Make MultiThreadProcessor more space efficient - Gonzalo Exequiel Ibars Ingman <https://github.com/gibarsin> * #1062 <https://github.com/pmd/pmd/pull/1062>: [core] Update ASM to version 6.1.1 - Austin Shalit <https://github.com/AustinShalit> |
|
From: Rory O'D. <ror...@or...> - 2018-04-12 09:53:03
|
Hi Andreas, **JDK 11 EA build 8, *****under both the GPL and Oracle EA licenses, is now available at **http://jdk.java.net/11**. ** * * Newly approved Schedule, status & features o http://openjdk.java.net/projects/jdk/11/ * Release Notes: o http://jdk.java.net/11/release-notes * Summary of changes o https://download.java.net/java/early_access/jdk11/8/jdk-11+8.html *Notable changes in JDK 11 EA builds since last email:* * Build 8: o If you have a library that uses the Selector API heavily then now would be a good time to test it out. [1] * Build 7 o The VM option "-XX:+AggressiveOpts" is deprecated in JDK 11 and will be removed in a future release. * Build 6: o JDK-8193033 : remove terminally deprecated sun.misc.Unsafe.defineClass. Users should use the public replacement `java.lang.invoke.MethodHandles.Lookup.defineClass` which was added in Java SE 9. [2] ** *SURVEY: The HotSpot Serviceability Agent (SA) *[3] * If you have used, or have (support) processes that utilize the Serviceability Agent or related APIs, then we would definitely appreciate if you would complete this survey: https://www.surveymonkey.com/r/CF3MYDL Regards, Rory [1] http://mail.openjdk.java.net/pipermail/nio-dev/2018-April/004964.html [2] https://docs.oracle.com/javase/9/docs/api/java/lang/invoke/MethodHandles.Lookup.html#defineClass-byte:A- [3] http://mail.openjdk.java.net/pipermail/jdk-dev/2018-April/001052.html -- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA , Dublin, Ireland |
|
From: Andreas D. <and...@ad...> - 2018-03-26 07:49:32
|
* Downloads: https://github.com/pmd/pmd/releases/tag/pmd_releases%2F6.2.0 * Documentation: https://pmd.github.io/pmd-6.2.0/ 26-March-2018 - 6.2.0 The PMD team is pleased to announce PMD 6.2.0. This is a minor release. Table Of Contents * New and noteworthy <#> o Ecmascript (JavaScript) <#> o Disable Incremental Analysis <#> o New Rules <#> o Modified Rules <#> * Fixed Issues <#> * API Changes <#> * External Contributions <#> New and noteworthy Ecmascript (JavaScript) The Rhino Library <https://github.com/mozilla/rhino> has been upgraded from version 1.7.7 to version 1.7.7.2. Detailed changes for changed in Rhino can be found: * For 1.7.7.2 <https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md#rhino-1772> * For 1.7.7.1 <https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md#rhino-1771> Both are bugfixing releases. Disable Incremental Analysis Some time ago, we added support for Incremental Analysis. On PMD 6.0.0, we started to add warns when not using it, as we strongly believe it's a great improvement to our user's experience as analysis time is greatly reduced; and in the future we plan to have it enabled by default. However, we realize some scenarios don't benefit from it (ie: CI jobs), and having the warning logged can be noisy and cause confusion. To this end, we have added a new flag to allow you to explicitly disable incremental analysis. On CLI, this is the new |-no-cache| flag. On Ant, there is a |noCache| attribute for the |<pmd>| task. On both scenarios, disabling the cache takes precedence over setting a cache location. New Rules * The new Java rule `MissingOverride` (category |bestpractices|) detects overridden and implemented methods, which are not marked with the |@Override| annotation. Annotating overridden methods with |@Override| ensures at compile time that the method really overrides one, which helps refactoring and clarifies intent. * The new Java rule `UnnecessaryAnnotationValueElement` (category |codestyle|) detects annotations with a single element (|value|) that explicitely names it. That is, doing |@SuppressWarnings(value = "unchecked")| would be flagged in favor of |@SuppressWarnings("unchecked")|. * The new Java rule `ControlStatementBraces` (category |codestyle|) enforces the presence of braces on control statements where they are optional. Properties allow to customize which statements are required to have braces. This rule replaces the now deprecated rules |WhileLoopMustUseBraces|, |ForLoopMustUseBraces|,|IfStmtMustUseBraces|, and |IfElseStmtMustUseBraces|. More than covering the use cases of those rules, this rule also supports |do ... while| statements and |case| labels of |switch| statements (disabled by default). Modified Rules * The Java rule |CommentContentRule| (|java-documentation|) previously had the property |wordsAreRegex|. But this property never had been implemented and is removed now. * The Java rule |UnusedPrivateField| (|java-bestpractices|) now has a new |ignoredAnnotations| property that allows to configure annotations that imply the field should be ignored. By default |@java.lang.Deprecated| and|@javafx.fxml.FXML| are ignored. * The Java rule |UnusedPrivateMethod| (|java-bestpractices|) now has a new |ignoredAnnotations| property that allows to configure annotations that imply the method should be ignored. By default |@java.lang.Deprecated| is ignored. * The Java rule |ImmutableField| (|java-design|) now has a new |ignoredAnnotations| property that allows to configure annotations that imply the method should be ignored. By default several |lombok| annotations are ignored * The Java rule |SingularField| (|java-design|) now has a new |ignoredAnnotations| property that allows to configure annotations that imply the method should be ignored. By default several |lombok| annotations are ignored Deprecated Rules * The Java rules |WhileLoopMustUseBraces|, |ForLoopMustUseBraces|, |IfStmtMustUseBraces|, and |IfElseStmtMustUseBraces|are deprecated. They will be replaced by the new rule |ControlStatementBraces|, in the category |codestyle|. Fixed Issues * all o #928 <https://github.com/pmd/pmd/issues/928>: [core] PMD build failure on Windows * java-bestpracrtices o #907 <https://github.com/pmd/pmd/issues/907>: [java] UnusedPrivateField false-positive with @FXML o #963 <https://github.com/pmd/pmd/issues/965>: [java] ArrayIsStoredDirectly not triggered from variadic functions * java-codestyle o #974 <https://github.com/pmd/pmd/issues/974>: [java] Merge *StmtMustUseBraces rules o #983 <https://github.com/pmd/pmd/issues/983>: [java] Detect annotations with single value element * java-design o #832 <https://github.com/pmd/pmd/issues/832>: [java] AvoidThrowingNullPointerException documentation suggestion o #837 <https://github.com/pmd/pmd/issues/837>: [java] CFGs of declared but not called lambdas are treated as parts of an enclosing method's CFG o #839 <https://github.com/pmd/pmd/issues/839>: [java] SignatureDeclareThrowsException's IgnoreJUnitCompletely property not honored for constructors o #968 <https://github.com/pmd/pmd/issues/968>: [java] UseUtilityClassRule reports false positive with lombok NoArgsConstructor * documentation o #978 <https://github.com/pmd/pmd/issues/978>: [core] Broken link in CONTRIBUTING.md o #992 <https://github.com/pmd/pmd/issues/992>: [core] Include info about rule doc generation in "Writing Documentation" md page API Changes * A new CLI switch, |-no-cache|, disables incremental analysis and the related suggestion. This overrides the |-cache| option. The corresponding Ant task parameter is |noCache|. * The static method |PMDParameters.transformParametersIntoConfiguration(PMDParameters)| is now deprecated, for removal in 7.0.0. The new instance method |PMDParameters.toConfiguration()| replaces it. * The method |ASTConstructorDeclaration.getParameters()| has been deprecated in favor of the new method|getFormalParameters()|. This method is available for both |ASTConstructorDeclaration| and |ASTMethodDeclaration|. External Contributions * #941 <https://github.com/pmd/pmd/pull/941>: [java] Use char notation to represent a character to improve performance - reudismam <https://github.com/reudismam> * #943 <https://github.com/pmd/pmd/pull/943>: [java] UnusedPrivateField false-positive with @FXML - BBG <https://github.com/djydewang> * #951 <https://github.com/pmd/pmd/pull/951>: [java] Add ignoredAnnotations property to unusedPrivateMethod rule - BBG <https://github.com/djydewang> * #952 <https://github.com/pmd/pmd/pull/952>: [java] SignatureDeclareThrowsException's IgnoreJUnitCompletely property not honored for constructors - BBG <https://github.com/djydewang> * #958 <https://github.com/pmd/pmd/pull/958>: [java] Refactor how we ignore annotated elements in rules - BBG <https://github.com/djydewang> * #965 <https://github.com/pmd/pmd/pull/965>: [java] Make Varargs trigger ArrayIsStoredDirectly - Stephen <https://github.com/pmd/pmd/issues/907> * #967 <https://github.com/pmd/pmd/pull/967>: [doc] Issue 959: fixed broken link to XPath Rule Tutorial - Andrey Mochalov <https://github.com/epidemia> * #969 <https://github.com/pmd/pmd/pull/969>: [java] Issue 968 Add logic to handle lombok private constructors with utility classes - Kirk Clemens <https://github.com/clem0110> * #970 <https://github.com/pmd/pmd/pull/970>: [java] Fixed inefficient use of keySet iterator instead of entrySet iterator - Andrey Mochalov <https://github.com/epidemia> * #984 <https://github.com/pmd/pmd/pull/984>: [java] issue983 Add new UnnecessaryAnnotationValueElement rule - Kirk Clemens <https://github.com/clem0110> * #989 <https://github.com/pmd/pmd/pull/989>: [core] Update Contribute.md to close Issue #978 - Bolarinwa Saheed Olayemi <https://github.com/refactormyself> * #990 <https://github.com/pmd/pmd/pull/990>: [java] Updated Doc on AvoidThrowingNullPointerException to close Issue #832 - Bolarinwa Saheed Olayemi <https://github.com/refactormyself> * #993 <https://github.com/pmd/pmd/pull/993>: [core] Update writing_documentation.md to fix Issue #992 - Bolarinwa Saheed Olayemi <https://github.com/refactormyself> |
|
From: Rory O'D. <ror...@or...> - 2018-03-21 10:51:25
|
Hi Andreas, A number of items to share with you today : *1) JDK 10 General Availability * JDK 10, the first release produced under the six-month rapid-cadence release model [1][2], is now Generally Available. We've identified no P1 bugs since we promoted build 46 almost two weeks ago, so that is the official GA release, ready for production use. GPL'd binaries from Oracle are available here: http://jdk.java.net/10 This release includes twelve features: * 286: Local-Variable Type Inference <http://openjdk.java.net/jeps/286> * 296: Consolidate the JDK Forest into a Single Repository <http://openjdk.java.net/jeps/296> * 304: Garbage-Collector Interface <http://openjdk.java.net/jeps/304> * 307: Parallel Full GC for G1 <http://openjdk.java.net/jeps/307> * 310: Application Class-Data Sharing <http://openjdk.java.net/jeps/310> * 312: Thread-Local Handshakes <http://openjdk.java.net/jeps/312> * 313: Remove the Native-Header Generation Tool (javah) <http://openjdk.java.net/jeps/313> * 314: Additional Unicode Language-Tag Extensions <http://openjdk.java.net/jeps/314> * 316: Heap Allocation on Alternative Memory Devices <http://openjdk.java.net/jeps/316> * 317: Experimental Java-Based JIT Compiler <http://openjdk.java.net/jeps/317> * 319: Root Certificates <http://openjdk.java.net/jeps/319> * 322: Time-Based Release Versioning <http://openjdk.java.net/jeps/322> *2) JDK 11 EA build 5, under both the GPL and Oracle EA licenses, are now available at **http://jdk.java.net/11**.* * Schedule, status & features o http://openjdk.java.net/projects/jdk/11/ * Release Notes: o http://jdk.java.net/11/release-notes * Summary of changes o https://download.java.net/java/early_access/jdk11/5/jdk-11+5.html *3) The Z Garbage Collector Project, early access builds available : * The first EA binary from from The Z Garbage Collector Project, also known as ZGC, is now available. ZGC is a scalable low latency garbage collector. For information on how to enable and use ZGC, please see the project wiki. * Project page: http://openjdk.java.net/projects/zgc/ * Wiki: https://wiki.openjdk.java.net/display/zgc/Main *4) Quality Outreach Report for **March 2018 **is available * * https://wiki.openjdk.java.net/display/quality/Quality+Outreach+report+March+2018 *5) **Java Client Roadmap Update * * We posted a blog [3] and related white paper [4] detailing our plans for the Java Client. Rgds,Rory [1] https://mreinhold.org/blog/forward-faster [2] http://mail.openjdk.java.net/pipermail/discuss/2017-September/004281.html [3] Blog: https://blogs.oracle.com/java-platform-group/the-future-of-javafx-and-other-java-client-roadmap-updates [4] Whitepaper: http://www.oracle.com/technetwork/java/javase/javaclientroadmapupdate2018mar-4414431.pdf -- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA , Dublin, Ireland |
|
From: Juan M. S. D. <jua...@gm...> - 2018-03-18 17:08:13
|
Hello, and be welcomed. If you want to have high chances of being selected, you should. 1. Have at least one or two PRs submitted and merged into the application. This will make sure you can setup your dev environment, and give you a minimum knowledge of how pmd's source code is organized. Easy issues for starters can be found on the repository flagged as "good first issue" 2. Submit a high quality proposal. A high quality proposal would: 1. Be split into stages, each of them building the project in an incremental way. Being able to release a feature and get feedback before gsoc has ended is highly valuable. Ideally this would match with sprints, meaning ideally 3 to 6 stages are identified. 2. The stages would show a level of research into what is needed for the project to be concluded, identifying what is the minimum necessary and what the full fledged product looks like. Please, let me know if you have any further questions. We are keen to help. On Sun, Mar 18, 2018, 1:51 PM Projat Banerjee <ban...@gm...> wrote: > What is the type of proposal should I submit here ? What kind or on what > basis should I build my proposal so that I may get easily selected or > chances for my selection is high ? > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Pmd-devel mailing list > Pmd...@li... > https://lists.sourceforge.net/lists/listinfo/pmd-devel > |
|
From: Projat B. <ban...@gm...> - 2018-03-17 18:53:18
|
What is the type of proposal should I submit here ? What kind or on what basis should I build my proposal so that I may get easily selected or chances for my selection is high ? Sent from Mail for Windows 10 |
|
From: Juan M. S. D. <jua...@gm...> - 2018-03-06 15:52:24
|
Hi Nikhil, be welcomed. We greatly appreciate your interest in PMD. I've briefly reviewed your options and have a couple questions. 1. pkgcreator seems abandoned. It was a user project of Google Code (not from Google), which seems to have never been migrated elsewhere. Getting fixes, updates or support seems out of the question. Have you considered this during your analysis? 2. have you considered any Maven plugins to generate deb packages? If so, why were they discarded? There are a bunch of alternatives, and being on Maven, which is our build system, would streamline the process; but maybe I'm missing a downside due to lack of experience with them. As for other platforms have you been able to research any alternatives? Regards, On Mon, Mar 5, 2018 at 10:20 PM, Nikhil Shinde <cre...@gm...> wrote: > Hello, > > > > I am Nikhil Shinde, final year UG student persuing Computer Science in > Nirma University, India. Working\development on plugins and tooling sounds > quite interesting and I would be quite delighted to contribute to your > organization. I have successfully completed GSoC 2017 > <https://summerofcode.withgoogle.com/archive/2017/projects/5686344500117504/> project > for Checker Framework Organisation under Prof. Michael Ernst. I have quite > experience in working with Java technologies\frameworks and large code > bases and hope to get enough matured to deal with its issues. > > For quite time I was exploring the repositories and ideas of your > organization. All project ideas are interesting but I was able to catch up > with the *Easy installation packages* project. > > > > I am aware of the following tools that can be used for packaging in this > project: > > 1) google pkgcreator link > <https://code.google.com/archive/p/pkgcreator/> > > 2) GNU stow link <http://www.gnu.org/software/stow/stow.html> > > > > After trying various tools I limited my choice to above options as they > provide very systematic way of packaging and does not screw up the package > in the manner that violates Debian packaging. > > From above options, what can be good choice for package toolbox project ? > > > > [image: https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif]It > would be helpful to know expectations for these project so I can initiate > on drafting proposal and discuss more about project. Looking forward to > contribute. > > Thanks , > Nikhil Shinde. > > > > > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Pmd-devel mailing list > Pmd...@li... > https://lists.sourceforge.net/lists/listinfo/pmd-devel > > |
|
From: Nikhil S. <cre...@gm...> - 2018-03-06 06:50:33
|
Hello, I am Nikhil Shinde, final year UG student persuing Computer Science in Nirma University, India. Working\development on plugins and tooling sounds quite interesting and I would be quite delighted to contribute to your organization. I have successfully completed GSoC 2017 project for Checker Framework Organisation under Prof. Michael Ernst. I have quite experience in working with Java technologies\frameworks and large code bases and hope to get enough matured to deal with its issues. For quite time I was exploring the repositories and ideas of your organization. All project ideas are interesting but I was able to catch up with the Easy installation packages project. I am aware of the following tools that can be used for packaging in this project: 1) google pkgcreator link 2) GNU stow link After trying various tools I limited my choice to above options as they provide very systematic way of packaging and does not screw up the package in the manner that violates Debian packaging. >From above options, what can be good choice for package toolbox project ? It would be helpful to know expectations for these project so I can initiate on drafting proposal and discuss more about project. Looking forward to contribute. Thanks , Nikhil Shinde. Sent from Mail for Windows 10 |
|
From: Andreas D. <and...@ad...> - 2018-02-28 19:05:22
|
Hi Nikhil, welcome and thanks for your interest in PMD and GSoC 2018! Did you see the wiki page https://github.com/pmd/pmd/wiki/Newcomers%27-Guide ? With that, you can prepare your local dev environment and can get a feeling, how PMD code looks like. Regarding the project ideas: Have you seen this wiki page? https://github.com/pmd/pmd/wiki/Project-Ideas-%5BMature%5D There is for each project are more detailed description. Of course, you'll probably want to focus on one project. For the proposal, we would like to see a (first) suggestion for milestones and a very high-level time plan for the 12 weeks. If there is anything unclear, don't hesitate to ask! Regards, Andreas Am 28.02.2018 um 07:35 schrieb Nikhil Shinde: > Hello, > I am Nikhil Shinde, final year UG student persuing > Computer Science in Nirma University, India. Working\development on > plugins and tooling sounds quite interesting and I would be quite > delighted to contribute to your organization. I have successfully > completed GSoC 2017 > <https://summerofcode.withgoogle.com/archive/2017/projects/5686344500117504/> project > for Checker Framework Organisation under Prof. Michael Ernst. I have > quite experience in working with Java technologies\frameworks and > large code bases and hope to get enough matured to deal with its issues. > For quite time I was exploring the repositories and ideas > of your organization. All project ideas are interesting but I was able > to catch up with the following proposed ideas :- > 1) Easy installation packages. > 2) Support Java 10 > 3) Complete type resolution for Java > > It would be helpful to know expectations for these > project so I can initiate on drafting proposal and discuss more about > project. Looking forward to contribute. > > Thanks , > Nikhil Shinde. > > > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Pmd-devel mailing list > Pmd...@li... > https://lists.sourceforge.net/lists/listinfo/pmd-devel |
|
From: Andreas D. <and...@ad...> - 2018-02-28 07:51:24
|
The PMD team is pleased to announce PMD 6.1.0. This is a minor release. Documentation: https://pmd.github.io/pmd-6.1.0/ Download: https://github.com/pmd/pmd/releases/tag/pmd_releases%2F6.1.0 <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#table-of-contents>Table Of Contents * New and noteworthy <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#new-and-noteworthy> o Designer UI <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#designer-ui> * Fixed Issues <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#fixed-issues> * API Changes <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#api-changes> o Changes to the Node interface <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#changes-to-the-node-interface> o Changes to CPD renderers <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#changes-to-cpd-renderers> * External Contributions <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#external-contributions> <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#new-and-noteworthy>New and noteworthy <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#designer-ui>Designer UI The Designer now supports configuring properties for XPath based rule development. The Designer is still under development and any feedback is welcome. You can start the designer via |run.sh designer| or |designer.bat|. <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#fixed-issues>Fixed Issues * all o #569 <https://github.com/pmd/pmd/issues/569>: [core] XPath support requires specific toString implementations o #795 <https://github.com/pmd/pmd/issues/795>: [cpd] java.lang.OutOfMemoryError o #848 <https://github.com/pmd/pmd/issues/848>: [doc] Test failures when building pmd-doc under Windows o #872 <https://github.com/pmd/pmd/issues/872>: [core] NullPointerException at FileDataSource.glomName() o #854 <https://github.com/pmd/pmd/issues/854>: [ci] Use Java9 for building PMD * doc o #791 <https://github.com/pmd/pmd/issues/791>: [doc] Documentation site reorganisation o #891 <https://github.com/pmd/pmd/issues/891>: [doc] Apex @SuppressWarnings should use single quotes instead of double quotes o #909 <https://github.com/pmd/pmd/issues/909>: [doc] Please add new PMD Eclipse Plugin to tool integration section * java o #825 <https://github.com/pmd/pmd/issues/825>: [java] Excessive*Length ignores too much o #888 <https://github.com/pmd/pmd/issues/888>: [java] ParseException occurs with valid '<>' in Java 1.8 mode o #920 <https://github.com/pmd/pmd/pull/920>: [java] Update valid identifiers in grammar * java-bestpractices o #784 <https://github.com/pmd/pmd/issues/784>: [java] ForLoopCanBeForeach false-positive o #925 <https://github.com/pmd/pmd/issues/925>: [java] UnusedImports false positive for static import * java-design o #855 <https://github.com/pmd/pmd/issues/855>: [java] ImmutableField false-positive with lambdas * java-documentation o #877 <https://github.com/pmd/pmd/issues/877>: [java] CommentRequired valid rule configuration causes PMD error * java-errorprone o #885 <https://github.com/pmd/pmd/issues/885>: [java] CompareObjectsWithEqualsRule trigger by enum1 != enum2 * java-performance o #541 <https://github.com/pmd/pmd/issues/541>: [java] ConsecutiveLiteralAppends with types other than string * scala o #853 <https://github.com/pmd/pmd/issues/853>: [scala] Upgrade scala version to support Java 9 * xml o #739 <https://github.com/pmd/pmd/issues/739>: [xml] IllegalAccessException when accessing attribute using Saxon on JRE 9 <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#api-changes>API Changes <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#changes-to-the-node-interface>Changes to the Node interface The method |getXPathNodeName| is added to the |Node| interface, which removes the use of the |toString| of a node to get its XPath element name (see #569 <https://github.com/pmd/pmd/issues/569>). A default implementation is provided in |AbstractNode|, to stay compatible with existing implementors. The |toString| method of a Node is not changed for the time being, and still produces the name of the XPath node. That behaviour may however change in future major releases, e.g. to produce a more useful message for debugging. <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#changes-to-cpd-renderers>Changes to CPD renderers The interface |net.sourceforge.pmd.cpd.Renderer| has been deprecated. A new interface |net.sourceforge.pmd.cpd.renderer.CPDRenderer| has been introduced to replace it. The main difference is that the new interface is meant to render directly to a |java.io.Writer| rather than to a String. This allows to greatly reduce the memory footprint of CPD, as on large projects, with many duplications, it was causing |OutOfMemoryError|s (see #795 <https://github.com/pmd/pmd/issues/795>). |net.sourceforge.pmd.cpd.FileReporter| has also been deprecated as part of this change, as it's no longer needed. <https://github.com/pmd/pmd/blob/pmd_releases/6.1.0/docs/pages/release_notes.md#external-contributions>External Contributions * #790 <https://github.com/pmd/pmd/pull/790>: [java] Added some comments for JDK 9 - Tobias Weimer <https://github.com/tweimer> * #803 <https://github.com/pmd/pmd/pull/803>: [doc] Added SpotBugs as successor of FindBugs - Tobias Weimer <https://github.com/tweimer> * #828 <https://github.com/pmd/pmd/pull/828>: [core] Add operations to manipulate a document - Gonzalo Ibars Ingman <https://github.com/gibarsin> * #830 <https://github.com/pmd/pmd/pull/830>: [java] UseArraysAsList: Description added - Tobias Weimer <https://github.com/tweimer> * #845 <https://github.com/pmd/pmd/pull/845>: [java] Fix false negative PreserveStackTrace on string concatenation - Alberto Fernández <https://github.com/albfernandez> * #868 <https://github.com/pmd/pmd/pull/868>: [core] Improve XPath documentation && make small refactors - Gonzalo Ibars Ingman <https://github.com/gibarsin> * #875 <https://github.com/pmd/pmd/pull/875>: [core] Support shortnames when using filelist - John Zhang <https://github.com/johnjiabinzhang> * #886 <https://github.com/pmd/pmd/pull/886>: [java] Fix #885 - Matias Comercio <https://github.com/MatiasComercio> * #900 <https://github.com/pmd/pmd/pull/900>: [core] Use the isEmpty method instead of comparing the value of size() to 0 - reudismam <https://github.com/reudismam> * #914 <https://github.com/pmd/pmd/pull/914>: [doc] Apex @SuppressWarnings documentation updated - Akshat Bahety <https://github.com/akshatbahety> * #918 <https://github.com/pmd/pmd/pull/918>: [doc] Add qa-eclipse as new tool - Akshat Bahety <https://github.com/akshatbahety> * #927 <https://github.com/pmd/pmd/pull/927>: [java][doc] Fix example of AbstractClassWithoutAnyMethod - Kazuma Watanabe <https://github.com/wata727> |