From 61dff0aaa67376f05e6d44559a9669bbb87bfe08 Mon Sep 17 00:00:00 2001 From: "PMD CI (pmd-bot)" Date: Thu, 14 Oct 2021 08:22:01 +0000 Subject: [PATCH] Update documentation https://github.com/pmd/pmd/actions/runs/1340882547 https://github.com/pmd/pmd/compare/c9077e19ea31...eb1f30cd660e --- 404.html | 2 +- feed.xml | 4 +- index.html | 2 +- js/mydoc_scroll.html | 2 +- license.html | 2 +- news.html | 2 +- news_archive.html | 2 +- pmd_about_help.html | 2 +- pmd_apex_metrics_index.html | 2 +- pmd_devdocs_building.html | 2 +- pmd_devdocs_development.html | 2 +- pmd_devdocs_experimental_ast_dump.html | 2 +- pmd_devdocs_how_pmd_works.html | 2 +- ...devdocs_major_adding_new_cpd_language.html | 2 +- pmd_devdocs_major_adding_new_language.html | 2 +- ...cs_major_adding_new_metrics_framework.html | 2 +- pmd_devdocs_major_rule_guidelines.html | 2 +- pmd_devdocs_pmdtester.html | 2 +- pmd_devdocs_roadmap.html | 2 +- pmd_devdocs_rule_deprecation_policy.html | 2 +- pmd_devdocs_writing_documentation.html | 2 +- pmd_java_metrics_index.html | 2 +- pmd_languages_jsp.html | 2 +- pmd_languages_plsql.html | 2 +- pmd_next_major_development.html | 2 +- ...projectdocs_committers_infrastructure.html | 2 +- ...jectdocs_committers_main_landing_page.html | 2 +- ...docs_committers_merging_pull_requests.html | 2 +- pmd_projectdocs_committers_releasing.html | 2 +- pmd_projectdocs_credits.html | 71 +- pmd_projectdocs_faq.html | 2 +- pmd_projectdocs_trivia_meaning.html | 2 +- pmd_projectdocs_trivia_news.html | 2 +- pmd_projectdocs_trivia_products.html | 2 +- pmd_projectdocs_trivia_similarprojects.html | 2 +- pmd_release_notes.html | 30 +- pmd_release_notes_old.html | 2 +- pmd_rules_apex.html | 3 +- pmd_rules_apex_bestpractices.html | 2 +- pmd_rules_apex_codestyle.html | 2 +- pmd_rules_apex_design.html | 2 +- pmd_rules_apex_documentation.html | 2 +- pmd_rules_apex_errorprone.html | 2 +- pmd_rules_apex_performance.html | 101 +- pmd_rules_apex_security.html | 2 +- pmd_rules_ecmascript.html | 2 +- pmd_rules_ecmascript_bestpractices.html | 2 +- pmd_rules_ecmascript_codestyle.html | 2 +- pmd_rules_ecmascript_errorprone.html | 2 +- pmd_rules_java.html | 2 +- pmd_rules_java_bestpractices.html | 2 +- pmd_rules_java_codestyle.html | 2 +- pmd_rules_java_design.html | 2 +- pmd_rules_java_documentation.html | 2 +- pmd_rules_java_errorprone.html | 2 +- pmd_rules_java_multithreading.html | 2 +- pmd_rules_java_performance.html | 4 +- pmd_rules_java_security.html | 2 +- pmd_rules_jsp.html | 2 +- pmd_rules_jsp_bestpractices.html | 2 +- pmd_rules_jsp_codestyle.html | 2 +- pmd_rules_jsp_design.html | 2 +- pmd_rules_jsp_errorprone.html | 2 +- pmd_rules_jsp_security.html | 2 +- pmd_rules_modelica.html | 2 +- pmd_rules_modelica_bestpractices.html | 2 +- pmd_rules_plsql.html | 2 +- pmd_rules_plsql_bestpractices.html | 2 +- pmd_rules_plsql_codestyle.html | 2 +- pmd_rules_plsql_design.html | 2 +- pmd_rules_plsql_errorprone.html | 2 +- pmd_rules_pom.html | 2 +- pmd_rules_pom_errorprone.html | 2 +- pmd_rules_scala.html | 2 +- pmd_rules_vf.html | 2 +- pmd_rules_vf_security.html | 2 +- pmd_rules_vm.html | 2 +- pmd_rules_vm_bestpractices.html | 2 +- pmd_rules_vm_design.html | 2 +- pmd_rules_vm_errorprone.html | 2 +- pmd_rules_xml.html | 2 +- pmd_rules_xml_errorprone.html | 2 +- pmd_rules_xsl.html | 2 +- pmd_rules_xsl_codestyle.html | 2 +- pmd_rules_xsl_performance.html | 2 +- pmd_userdocs_best_practices.html | 2 +- pmd_userdocs_cli_reference.html | 2 +- pmd_userdocs_configuring_rules.html | 2 +- pmd_userdocs_cpd.html | 2 +- pmd_userdocs_cpd_report_formats.html | 2 +- ...serdocs_extending_defining_properties.html | 2 +- ...userdocs_extending_designer_reference.html | 2 +- pmd_userdocs_extending_metrics_howto.html | 2 +- pmd_userdocs_extending_rule_guidelines.html | 2 +- pmd_userdocs_extending_testing.html | 2 +- ...userdocs_extending_writing_java_rules.html | 2 +- pmd_userdocs_extending_writing_pmd_rules.html | 2 +- ...serdocs_extending_writing_rules_intro.html | 2 +- ...serdocs_extending_writing_xpath_rules.html | 2 +- pmd_userdocs_extending_your_first_rule.html | 2 +- pmd_userdocs_incremental_analysis.html | 2 +- pmd_userdocs_installation.html | 2 +- pmd_userdocs_making_rulesets.html | 2 +- pmd_userdocs_report_formats.html | 2 +- pmd_userdocs_suppressing_warnings.html | 2 +- pmd_userdocs_tools.html | 2 +- pmd_userdocs_tools_ant.html | 2 +- pmd_userdocs_tools_ci.html | 2 +- pmd_userdocs_tools_gradle.html | 2 +- pmd_userdocs_tools_java_api.html | 2 +- pmd_userdocs_tools_maven.html | 2 +- search.json | 1653 +++++++++-------- sitemap.xml | 164 +- tag_devdocs.html | 30 +- tag_extending.html | 42 +- tag_getting_started.html | 18 +- tag_languages.html | 18 +- tag_metrics.html | 18 +- tag_release_notes.html | 18 +- tag_rule_references.html | 10 +- tag_tools.html | 18 +- tag_troubleshooting.html | 18 +- tag_userdocs.html | 30 +- 123 files changed, 1298 insertions(+), 1162 deletions(-) diff --git a/404.html b/404.html index f01415132c..b0891f2f42 100644 --- a/404.html +++ b/404.html @@ -1447,7 +1447,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/feed.xml b/feed.xml index f5f411dee5..6946c25330 100644 --- a/feed.xml +++ b/feed.xml @@ -5,8 +5,8 @@ Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features. https://pmd.github.io/pmd/ - Fri, 01 Oct 2021 04:19:39 +0000 - Fri, 01 Oct 2021 04:19:39 +0000 + Thu, 14 Oct 2021 08:19:37 +0000 + Thu, 14 Oct 2021 08:19:37 +0000 Jekyll v3.9.0 diff --git a/index.html b/index.html index 35254effaa..f8a9b94240 100644 --- a/index.html +++ b/index.html @@ -6483,7 +6483,7 @@ $('#filter a').click(function (e) {
diff --git a/js/mydoc_scroll.html b/js/mydoc_scroll.html index 5d0e0805f6..e1dcb819a8 100644 --- a/js/mydoc_scroll.html +++ b/js/mydoc_scroll.html @@ -1681,7 +1681,7 @@ $('#small-box-links').localScroll({
diff --git a/license.html b/license.html index 95eab7914a..bdb5f93b7d 100644 --- a/license.html +++ b/license.html @@ -1691,7 +1691,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/news.html b/news.html index a16f524069..1d9bd90805 100644 --- a/news.html +++ b/news.html @@ -1442,7 +1442,7 @@
diff --git a/news_archive.html b/news_archive.html index 6fbc5ed60b..029cdf842b 100644 --- a/news_archive.html +++ b/news_archive.html @@ -1443,7 +1443,7 @@
diff --git a/pmd_about_help.html b/pmd_about_help.html index 37983d161e..a232dc8c4a 100644 --- a/pmd_about_help.html +++ b/pmd_about_help.html @@ -1467,7 +1467,7 @@ through the archives (archive1 diff --git a/pmd_apex_metrics_index.html b/pmd_apex_metrics_index.html index 5b7aaa28a5..742b1d0971 100644 --- a/pmd_apex_metrics_index.html +++ b/pmd_apex_metrics_index.html @@ -1535,7 +1535,7 @@ flow statement.
diff --git a/pmd_devdocs_building.html b/pmd_devdocs_building.html index 6309d94779..23daff5bc5 100644 --- a/pmd_devdocs_building.html +++ b/pmd_devdocs_building.html @@ -1538,7 +1538,7 @@ please post here an
diff --git a/pmd_devdocs_development.html b/pmd_devdocs_development.html index f5f7e973d4..e9f92c1b97 100644 --- a/pmd_devdocs_development.html +++ b/pmd_devdocs_development.html @@ -1485,7 +1485,7 @@ every push. Each pull request is built as well.

diff --git a/pmd_devdocs_experimental_ast_dump.html b/pmd_devdocs_experimental_ast_dump.html index d6cabb6791..74ebe81648 100644 --- a/pmd_devdocs_experimental_ast_dump.html +++ b/pmd_devdocs_experimental_ast_dump.html @@ -1555,7 +1555,7 @@ with the name “a”.

diff --git a/pmd_devdocs_how_pmd_works.html b/pmd_devdocs_how_pmd_works.html index 4c59d5a4ab..cde905d944 100644 --- a/pmd_devdocs_how_pmd_works.html +++ b/pmd_devdocs_how_pmd_works.html @@ -1501,7 +1501,7 @@ type resolution information and DFA nodes.
diff --git a/pmd_devdocs_major_adding_new_cpd_language.html b/pmd_devdocs_major_adding_new_cpd_language.html index 17b369801a..b3dcbdc486 100644 --- a/pmd_devdocs_major_adding_new_cpd_language.html +++ b/pmd_devdocs_major_adding_new_cpd_language.html @@ -1600,7 +1600,7 @@ call the method doTest
diff --git a/pmd_devdocs_major_adding_new_language.html b/pmd_devdocs_major_adding_new_language.html index 53447b9b76..72ad4eba1e 100644 --- a/pmd_devdocs_major_adding_new_language.html +++ b/pmd_devdocs_major_adding_new_language.html @@ -1647,7 +1647,7 @@ This can be achieved with Rule Designer:

diff --git a/pmd_devdocs_major_adding_new_metrics_framework.html b/pmd_devdocs_major_adding_new_metrics_framework.html index 03a10c6b0c..c8e740e592 100644 --- a/pmd_devdocs_major_adding_new_metrics_framework.html +++ b/pmd_devdocs_major_adding_new_metrics_framework.html @@ -1500,7 +1500,7 @@ build a Signature<N> diff --git a/pmd_devdocs_major_rule_guidelines.html b/pmd_devdocs_major_rule_guidelines.html index 23460c0a55..2381272e3a 100644 --- a/pmd_devdocs_major_rule_guidelines.html +++ b/pmd_devdocs_major_rule_guidelines.html @@ -1551,7 +1551,7 @@ non-private”).
diff --git a/pmd_devdocs_pmdtester.html b/pmd_devdocs_pmdtester.html index 82dfcbefef..c2f137896c 100644 --- a/pmd_devdocs_pmdtester.html +++ b/pmd_devdocs_pmdtester.html @@ -1469,7 +1469,7 @@ Regression difference reports are commented back to the PR for the reviewer’s
diff --git a/pmd_devdocs_roadmap.html b/pmd_devdocs_roadmap.html index 400ad72d7b..d623f68d99 100644 --- a/pmd_devdocs_roadmap.html +++ b/pmd_devdocs_roadmap.html @@ -1590,7 +1590,7 @@ This should be configurable on per Rule basis similar to TR and SymbolTable.

diff --git a/pmd_devdocs_rule_deprecation_policy.html b/pmd_devdocs_rule_deprecation_policy.html index 08af2d7882..09edf25247 100644 --- a/pmd_devdocs_rule_deprecation_policy.html +++ b/pmd_devdocs_rule_deprecation_policy.html @@ -1559,7 +1559,7 @@ major release of PMD.

diff --git a/pmd_devdocs_writing_documentation.html b/pmd_devdocs_writing_documentation.html index 48e7428a7b..f3755cd66f 100644 --- a/pmd_devdocs_writing_documentation.html +++ b/pmd_devdocs_writing_documentation.html @@ -1706,7 +1706,7 @@ by specifying -Dpmd.doc.check
diff --git a/pmd_java_metrics_index.html b/pmd_java_metrics_index.html index c0d96280f8..89e9d32b86 100644 --- a/pmd_java_metrics_index.html +++ b/pmd_java_metrics_index.html @@ -1878,7 +1878,7 @@ In Proceedings ACM Symposium on Software Reusability, 1995.

diff --git a/pmd_languages_jsp.html b/pmd_languages_jsp.html index 6f0a50f753..e3c7312efe 100644 --- a/pmd_languages_jsp.html +++ b/pmd_languages_jsp.html @@ -1500,7 +1500,7 @@ contains only “.java” files, JSP files obviously will not be checked.

diff --git a/pmd_languages_plsql.html b/pmd_languages_plsql.html index 93dd941159..f0639992d5 100644 --- a/pmd_languages_plsql.html +++ b/pmd_languages_plsql.html @@ -1487,7 +1487,7 @@ a custom XPath rule with the following expression:

diff --git a/pmd_next_major_development.html b/pmd_next_major_development.html index 94accea8db..67d00a487a 100644 --- a/pmd_next_major_development.html +++ b/pmd_next_major_development.html @@ -2986,7 +2986,7 @@ new rule UnnecessaryBoxing diff --git a/pmd_projectdocs_committers_infrastructure.html b/pmd_projectdocs_committers_infrastructure.html index 670e5674e0..0190cf7090 100644 --- a/pmd_projectdocs_committers_infrastructure.html +++ b/pmd_projectdocs_committers_infrastructure.html @@ -1531,7 +1531,7 @@ Login is via github.
diff --git a/pmd_projectdocs_committers_main_landing_page.html b/pmd_projectdocs_committers_main_landing_page.html index ec63816690..d2cbadfd97 100644 --- a/pmd_projectdocs_committers_main_landing_page.html +++ b/pmd_projectdocs_committers_main_landing_page.html @@ -1539,7 +1539,7 @@ the new post is recognized and added to the news section and also on the news su
diff --git a/pmd_projectdocs_committers_merging_pull_requests.html b/pmd_projectdocs_committers_merging_pull_requests.html index 9ec94d5b35..30091a483f 100644 --- a/pmd_projectdocs_committers_merging_pull_requests.html +++ b/pmd_projectdocs_committers_merging_pull_requests.html @@ -1618,7 +1618,7 @@ integrated (e.g. gitk and github show the branches, from which the specific comm
diff --git a/pmd_projectdocs_committers_releasing.html b/pmd_projectdocs_committers_releasing.html index c10988060b..6659f9d2ad 100644 --- a/pmd_projectdocs_committers_releasing.html +++ b/pmd_projectdocs_committers_releasing.html @@ -1847,7 +1847,7 @@ the maintenance branch needs to be set.

diff --git a/pmd_projectdocs_credits.html b/pmd_projectdocs_credits.html index 86b2343c6c..ffdd765391 100644 --- a/pmd_projectdocs_credits.html +++ b/pmd_projectdocs_credits.html @@ -2034,311 +2034,312 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
Stanislav Gromov

🐛 +
Stanislav Myachenkov

💻
Stefan Birkner

🐛
Stefan Bohn

🐛
Stefan Endrullis

🐛
Stefan Klöss-Schuster

🐛
Stefan Wolf

🐛 -
Stephan H. Wissel

🐛 +
Stephan H. Wissel

🐛
Stephen

🐛
Stephen Friedrich

🐛
Stexxe

🐛
Stian Lågstad

🐛
StuartClayton5

🐛
Supun Arunoda

🐛 -
Suren Abrahamyan

🐛 +
Suren Abrahamyan

🐛
SwatiBGupta1110

🐛
SyedThoufich

🐛
Szymon Sasin

🐛
T-chuangxin

🐛
TERAI Atsuhiro

🐛
TIOBE Software

💻 🐛 -
Taylor Smock

🐛 +
Taylor Smock

🐛
Techeira Damián

💻 🐛
Ted Husted

🐛
TehBakker

🐛
The Gitter Badger

🐛
Theodoor

🐛
Thiago Henrique Hüpner

🐛 -
Thibault Meyer

🐛 +
Thibault Meyer

🐛
Thomas Güttler

🐛
Thomas Jones-Low

🐛
Thomas Smith

💻 🐛
ThrawnCA

🐛
Thunderforge

💻 🐛
Tim van der Lippe

🐛 -
Tobias Weimer

💻 🐛 +
Tobias Weimer

💻 🐛
Tom Daly

🐛
Tomer Figenblat

🐛
Tomi De Lucca

💻 🐛
Torsten Kleiber

🐛
TrackerSB

🐛
Ullrich Hafner

🐛 -
Utku Cuhadaroglu

💻 🐛 +
Utku Cuhadaroglu

💻 🐛
Valentin Brandl

🐛
Valeria

🐛
Vasily Anisimov

🐛
Vickenty Fesunov

🐛
Victor Noël

🐛
Vincent HUYNH

🐛 -
Vincent Maurin

🐛 +
Vincent Maurin

🐛
Vincent Privat

🐛
Vishhwas

🐛
Vitaly

🐛
Vitaly Polonetsky

🐛
Vojtech Polivka

🐛
Vsevolod Zholobov

🐛 -
Wang Shidong

🐛 +
Wang Shidong

🐛
Waqas Ahmed

🐛
Wayne J. Earl

🐛
Wchenghui

🐛
Will Winder

🐛
William Brockhus

💻 🐛
Wilson Kurniawan

🐛 -
Wim Deblauwe

🐛 +
Wim Deblauwe

🐛
Woongsik Choi

🐛
XenoAmess

💻 🐛
YaroslavTER

🐛
Young Chan

💻 🐛
YuJin Kim

🐛
Yuri Dolzhenko

🐛 -
Yurii Dubinka

🐛 +
Yurii Dubinka

🐛
Zoltan Farkas

🐛
Zustin

🐛
aaronhurst-google

🐛
alexmodis

🐛
andreoss

🐛
andrey81inmd

💻 🐛 -
anicoara

🐛 +
anicoara

🐛
arunprasathav

🐛
asiercamara

🐛
astillich-igniti

💻
avesolovksyy

🐛
avishvat

🐛
avivmu

🐛 -
axelbarfod1

🐛 +
axelbarfod1

🐛
b-3-n

🐛
balbhadra9

🐛
base23de

🐛
bergander

🐛
berkam

💻 🐛
breizh31

🐛 -
caesarkim

🐛 +
caesarkim

🐛
carolyujing

🐛
cesares-basilico

🐛
chrite

🐛
cobratbq

🐛
coladict

🐛
cosmoJFH

🐛 -
cristalp

🐛 +
cristalp

🐛
crunsk

🐛
cwholmes

🐛
cyberjj999

🐛
cyw3

🐛
d1ss0nanz

🐛
danbrycefairsailcom

🐛 -
dariansanity

🐛 +
dariansanity

🐛
darrenmiliband

🐛
davidburstrom

🐛
dbirkman-paloalto

🐛
deepak-patra

🐛
dependabot[bot]

💻 🐛
dinesh150

🐛 -
diziaq

🐛 +
diziaq

🐛
dreaminpast123

🐛
duanyanan

🐛
dutt-sanjay

🐛
dylanleung

🐛
dzeigler

🐛
ekkirala

🐛 -
emersonmoura

🐛 +
emersonmoura

🐛
fairy

🐛
foxmason

🐛
frankegabor

🐛
frankl

🐛
freafrea

🐛
fsapatin

🐛 -
gracia19

🐛 +
gracia19

🐛
guo fei

🐛
gurmsc5

🐛
gwilymatgearset

💻 🐛
haigsn

🐛
hemanshu070

🐛
henrik242

🐛 -
hongpuwu

🐛 +
hongpuwu

🐛
hvbtup

💻 🐛
igniti GmbH

🐛
ilovezfs

🐛
itaigilo

🐛
jakivey32

🐛
jbennett2091

🐛 -
jcamerin

🐛 +
jcamerin

🐛
jkeener1

🐛
jmetertea

🐛
josemanuelrolon

💻 🐛
kabroxiko

💻 🐛
karwer

🐛
kaulonline

🐛 -
kdaemonv

🐛 +
kdaemonv

🐛
kenji21

💻 🐛
kfranic

🐛
khalidkh

🐛
krzyk

🐛
lasselindqvist

🐛
lihuaib

🐛 -
lonelyma1021

🐛 +
lonelyma1021

🐛
lpeddy

🐛
lyriccoder

🐛
marcelmore

🐛
matchbox

🐛
matthiaskraaz

🐛
meandonlyme

🐛 -
mikesive

🐛 +
mikesive

🐛
milossesic

🐛
mriddell95

🐛
mrlzh

🐛
msloan

🐛
mucharlaravalika

🐛
mvenneman

🐛 -
nareshl119

🐛 +
nareshl119

🐛
nicolas-harraudeau-sonarsource

🐛
noerremark

🐛
novsirion

🐛
oggboy

🐛
oinume

🐛
orimarko

💻 🐛 -
pallavi agarwal

🐛 +
pallavi agarwal

🐛
parksungrin

🐛
patpatpat123

🐛
patriksevallius

🐛
pbrajesh1

🐛
phoenix384

🐛
piotrszymanski-sc

💻 -
plan3d

🐛 +
plan3d

🐛
poojasix

🐛
prabhushrikant

🐛
pujitha8783

🐛
r-r-a-j

🐛
raghujayjunk

🐛
rajeshveera

🐛 -
rajeswarreddy88

🐛 +
rajeswarreddy88

🐛
recdevs

🐛
reudismam

💻 🐛
rijkt

🐛
rillig-tk

🐛
rmohan20

💻 🐛
rxmicro

🐛 -
ryan-gustafson

💻 🐛 +
ryan-gustafson

💻 🐛
sabi0

🐛
scais

🐛
sebbASF

🐛
sergeygorbaty

💻
shilko2013

🐛
simeonKondr

🐛 -
snajberk

🐛 +
snajberk

🐛
sniperrifle2004

🐛
snuyanzin

🐛
sratz

🐛
stonio

🐛
sturton

💻 🐛
sudharmohan

🐛 -
suruchidawar

🐛 +
suruchidawar

🐛
svenfinitiv

🐛
tashiscool

🐛
test-git-hook

🐛
testation21

💻 🐛
thanosa

🐛
tiandiyixian

🐛 -
tobwoerk

🐛 +
tobwoerk

🐛
tprouvot

🐛
trentchilders

🐛
triandicAnt

🐛
trishul14

🐛
tsui

🐛
winhkey

🐛 -
witherspore

🐛 +
witherspore

🐛
wjljack

🐛
wuchiuwong

🐛
xingsong

🐛
xioayuge

🐛
xnYi9wRezm

💻 🐛
xuanuy

🐛 -
xyf0921

🐛 +
xyf0921

🐛
yalechen-cyw3

🐛
yasuharu-sato

🐛
zenglian

🐛
zgrzyt93

💻 🐛
zh3ng

🐛
zt_soft

🐛 -
ztt79

🐛 +
ztt79

🐛
zzzzfeng

🐛
Árpád Magosányi

🐛
任贵杰

🐛 @@ -2889,7 +2890,7 @@ PMD scoreboard formulas, pmd-dcpd optimizations
diff --git a/pmd_projectdocs_faq.html b/pmd_projectdocs_faq.html index 7c778da6af..9ffe476bb7 100644 --- a/pmd_projectdocs_faq.html +++ b/pmd_projectdocs_faq.html @@ -1494,7 +1494,7 @@ You must take this into account for certain rules.

diff --git a/pmd_projectdocs_trivia_meaning.html b/pmd_projectdocs_trivia_meaning.html index 37978b7114..f5da355e56 100644 --- a/pmd_projectdocs_trivia_meaning.html +++ b/pmd_projectdocs_trivia_meaning.html @@ -1463,7 +1463,7 @@ really know. We just think the letters sound good together.

diff --git a/pmd_projectdocs_trivia_news.html b/pmd_projectdocs_trivia_news.html index 0a7d4c8291..513d560911 100644 --- a/pmd_projectdocs_trivia_news.html +++ b/pmd_projectdocs_trivia_news.html @@ -1583,7 +1583,7 @@ interview with Ole-Martin and Tom

diff --git a/pmd_projectdocs_trivia_products.html b/pmd_projectdocs_trivia_products.html index 6778ee5a3e..e22559a726 100644 --- a/pmd_projectdocs_trivia_products.html +++ b/pmd_projectdocs_trivia_products.html @@ -1511,7 +1511,7 @@ to catch web app security problems. Thanks to Joseph Hemler for the props!

diff --git a/pmd_projectdocs_trivia_similarprojects.html b/pmd_projectdocs_trivia_similarprojects.html index 872f2bd29c..727ed404ba 100644 --- a/pmd_projectdocs_trivia_similarprojects.html +++ b/pmd_projectdocs_trivia_similarprojects.html @@ -1518,7 +1518,7 @@ only for maven project.
diff --git a/pmd_release_notes.html b/pmd_release_notes.html index 0fba9caae4..1381821f6a 100644 --- a/pmd_release_notes.html +++ b/pmd_release_notes.html @@ -1436,12 +1436,40 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3

New and noteworthy

+

New rules

+ + + +
    <rule ref="category/apex/performance.xml/EagerlyLoadedDescribeSObjectResult" />
+
+

Fixed Issues

+
    +
  • apex +
      +
    • #3532: [apex] Promote usage of consistent getDescribe() info
    • +
    +
  • +
  • java-performance +
      +
    • #2364: [java] AddEmptyString false positive in annotation value
    • +
    +
  • +
+

API Changes

External Contributions

+ +
@@ -1458,7 +1486,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/pmd_release_notes_old.html b/pmd_release_notes_old.html index 973ae3d9c2..3254393b27 100644 --- a/pmd_release_notes_old.html +++ b/pmd_release_notes_old.html @@ -14417,7 +14417,7 @@ Added new HTML report format
diff --git a/pmd_rules_apex.html b/pmd_rules_apex.html index 9bb5fb4067..842206cdf4 100644 --- a/pmd_rules_apex.html +++ b/pmd_rules_apex.html @@ -1519,6 +1519,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
  • AvoidDmlStatementsInLoops: Deprecated Avoid DML statements inside loops to avoid hitting the DML governor limit. Instead, try to batch …
  • AvoidSoqlInLoops: Deprecated New objects created within loops should be checked to see if they can created outside them and re…
  • AvoidSoslInLoops: Deprecated Sosl calls within loops can cause governor limit exceptions. This rule is deprecated and will be …
  • +
  • EagerlyLoadedDescribeSObjectResult: This rule finds ‘DescribeSObjectResult’s which could have been loaded eagerly via ‘SObjectType.ge…
  • OperationWithLimitsInLoop: Database class methods, DML operations, SOQL queries, SOSL queries, Approval class methods, Email…
  • @@ -1661,7 +1662,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_apex_bestpractices.html b/pmd_rules_apex_bestpractices.html index 4e4cf53788..b871279783 100644 --- a/pmd_rules_apex_bestpractices.html +++ b/pmd_rules_apex_bestpractices.html @@ -1963,7 +1963,7 @@ Therefore delegate the triggers work to a regular class (often called Trigger ha
    diff --git a/pmd_rules_apex_codestyle.html b/pmd_rules_apex_codestyle.html index 6accad7067..2f174d3c38 100644 --- a/pmd_rules_apex_codestyle.html +++ b/pmd_rules_apex_codestyle.html @@ -2532,7 +2532,7 @@ controlled from the rest.

    diff --git a/pmd_rules_apex_design.html b/pmd_rules_apex_design.html index 4534fbee02..39eca5a0fc 100644 --- a/pmd_rules_apex_design.html +++ b/pmd_rules_apex_design.html @@ -2489,7 +2489,7 @@ city/state/zip fields could park them within a single Address field.

    diff --git a/pmd_rules_apex_documentation.html b/pmd_rules_apex_documentation.html index 6159e711b6..679b8e5586 100644 --- a/pmd_rules_apex_documentation.html +++ b/pmd_rules_apex_documentation.html @@ -1543,7 +1543,7 @@ order as the method signature.
    diff --git a/pmd_rules_apex_errorprone.html b/pmd_rules_apex_errorprone.html index 825629b8bc..0b5341b9eb 100644 --- a/pmd_rules_apex_errorprone.html +++ b/pmd_rules_apex_errorprone.html @@ -2339,7 +2339,7 @@ dealing with legacy code.

    diff --git a/pmd_rules_apex_performance.html b/pmd_rules_apex_performance.html index 6b9225f7e1..46877f26e9 100644 --- a/pmd_rules_apex_performance.html +++ b/pmd_rules_apex_performance.html @@ -5,7 +5,7 @@ - + Performance | PMD Source Code Analyzer @@ -1694,6 +1694,103 @@ by the more general rule
    <rule ref="category/apex/performance.xml/AvoidSoslInLoops" />
     
    +

    EagerlyLoadedDescribeSObjectResult

    + +

    Since: PMD 6.40.0

    + +

    Priority: Medium (3)

    + +

    This rule finds DescribeSObjectResults which could have been loaded eagerly via SObjectType.getDescribe().

    + +

    When using SObjectType.getDescribe() or Schema.describeSObjects() without supplying a SObjectDescribeOptions, implicitely it will be using SObjectDescribeOptions.DEFAULT then all +child relationships will be loaded eagerly regardless whether this information is needed or not. +This has a potential negative performance impact. Instead SObjectType.getDescribe(options) +or Schema.describeSObjects(SObjectTypes, options) should be used and a SObjectDescribeOptions should be supplied. By using +SObjectDescribeOptions.DEFERRED the describe attributes will be lazily initialized at first use.

    + +

    Lazy loading DescribeSObjectResult on picklist fields is not recommended. The lazy loaded +describe objects might not be 100% accurate. It might be safer to explicitly use +SObjectDescribeOptions.FULL in such a case. The same applies when you need the same DescribeSObjectResult to be consistent +accross different contexts and API versions.

    + +

    Properties:

    + +
      +
    • noDefault: The behavior of SObjectDescribeOptions.DEFAULT changes from API Version 43 to 44: + With API Version 43, the attributes are loaded eagerly. With API Version 44, they are loaded lazily. + Simply using SObjectDescribeOptions.DEFAULT doesn’t automatically make use of lazy loading. + (unless “Use Improved Schema Caching” critical update is applied, SObjectDescribeOptions.DEFAULT do fallback to lazy loading) + With this property enabled, such usages are found. + You might ignore this, if you can make sure, that you don’t run a mix of API Versions.
    • +
    + +

    This rule is defined by the following XPath expression:

    +
    //MethodCallExpression[(lower-case(@MethodName) = "getdescribe" or lower-case(@MethodName) = "describesobjects") and not(VariableExpression/ReferenceExpression[lower-case(@Image) = "sobjectdescribeoptions" ])] |
    +//ReferenceExpression[$noDefault = true() and lower-case(@Image) = "sobjectdescribeoptions" and parent::VariableExpression[lower-case(@Image) = "default"]]
    +
    + +

    Example(s):

    + +
    public class Foo {
    +    public static void bar(List<Account> accounts) {
    +        if (Account.SObjectType.getDescribe(SObjectDescribeOptions.DEFERRED).isCreateable()) {
    +            insert accounts;
    +        }
    +    }
    +}
    +
    + +

    This rule has the following properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameDefault ValueDescriptionMultivalued
    cc_categoriesStyleDeprecated Code Climate Categoriesyes. Delimiter is ‘|’.
    cc_remediation_points_multiplier1Deprecated Code Climate Remediation Points multiplierno
    cc_block_highlightingfalseDeprecated Code Climate Block Highlightingno
    noDefaultfalseDo not allow SObjectDescribeOptions.DEFAULT option to ensure consistent results no matter where getDescribe is calledno
    + +

    Use this rule with the default properties by just referencing it:

    +
    <rule ref="category/apex/performance.xml/EagerlyLoadedDescribeSObjectResult" />
    +
    + +

    Use this rule and customize it:

    +
    <rule ref="category/apex/performance.xml/EagerlyLoadedDescribeSObjectResult">
    +    <properties>
    +        <property name="noDefault" value="false" />
    +    </properties>
    +</rule>
    +
    +

    OperationWithLimitsInLoop

    Since: PMD 6.29.0

    @@ -1814,7 +1911,7 @@ by the more general rule diff --git a/pmd_rules_apex_security.html b/pmd_rules_apex_security.html index cadb5f206f..38c8e3534d 100644 --- a/pmd_rules_apex_security.html +++ b/pmd_rules_apex_security.html @@ -2137,7 +2137,7 @@ to avoid XSS attacks.

    diff --git a/pmd_rules_ecmascript.html b/pmd_rules_ecmascript.html index 02071a867e..ec7c343808 100644 --- a/pmd_rules_ecmascript.html +++ b/pmd_rules_ecmascript.html @@ -1534,7 +1534,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_ecmascript_bestpractices.html b/pmd_rules_ecmascript_bestpractices.html index ecd7c003fa..4db44412fb 100644 --- a/pmd_rules_ecmascript_bestpractices.html +++ b/pmd_rules_ecmascript_bestpractices.html @@ -1658,7 +1658,7 @@ It also improves readability, if the base is given.

    diff --git a/pmd_rules_ecmascript_codestyle.html b/pmd_rules_ecmascript_codestyle.html index a43cc48d37..331439ea10 100644 --- a/pmd_rules_ecmascript_codestyle.html +++ b/pmd_rules_ecmascript_codestyle.html @@ -1800,7 +1800,7 @@ will never execute. This is a bug, or extremely poor style.

    diff --git a/pmd_rules_ecmascript_errorprone.html b/pmd_rules_ecmascript_errorprone.html index 4231208fce..6e1ada914a 100644 --- a/pmd_rules_ecmascript_errorprone.html +++ b/pmd_rules_ecmascript_errorprone.html @@ -1581,7 +1581,7 @@ precision in a floating point number. This may result in numeric calculations b
    diff --git a/pmd_rules_java.html b/pmd_rules_java.html index 7330418e10..76622f8e96 100644 --- a/pmd_rules_java.html +++ b/pmd_rules_java.html @@ -2108,7 +2108,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_java_bestpractices.html b/pmd_rules_java_bestpractices.html index 6ea572377f..2e03def6ff 100644 --- a/pmd_rules_java_bestpractices.html +++ b/pmd_rules_java_bestpractices.html @@ -3962,7 +3962,7 @@ a block {} is sufficie
    diff --git a/pmd_rules_java_codestyle.html b/pmd_rules_java_codestyle.html index 0374890f97..67d8a1b978 100644 --- a/pmd_rules_java_codestyle.html +++ b/pmd_rules_java_codestyle.html @@ -4715,7 +4715,7 @@ by the rule
    diff --git a/pmd_rules_java_design.html b/pmd_rules_java_design.html index 7053f255db..a0e2a53484 100644 --- a/pmd_rules_java_design.html +++ b/pmd_rules_java_design.html @@ -4126,7 +4126,7 @@ remember to add a private constructor to prevent instantiation.
    diff --git a/pmd_rules_java_documentation.html b/pmd_rules_java_documentation.html index 374008e920..55b8e1fd9c 100644 --- a/pmd_rules_java_documentation.html +++ b/pmd_rules_java_documentation.html @@ -1770,7 +1770,7 @@ empty methods.

    diff --git a/pmd_rules_java_errorprone.html b/pmd_rules_java_errorprone.html index 6b4fddbdbe..e5a54d63cb 100644 --- a/pmd_rules_java_errorprone.html +++ b/pmd_rules_java_errorprone.html @@ -5512,7 +5512,7 @@ Thread.currentThread().getContextClassLoader() instead.

    diff --git a/pmd_rules_java_multithreading.html b/pmd_rules_java_multithreading.html index 5ede503af6..b4d1c32c8a 100644 --- a/pmd_rules_java_multithreading.html +++ b/pmd_rules_java_multithreading.html @@ -1956,7 +1956,7 @@ one is chosen. The thread chosen is arbitrary; thus its usually safer to call n
    diff --git a/pmd_rules_java_performance.html b/pmd_rules_java_performance.html index 4f71c08017..ef550f1622 100644 --- a/pmd_rules_java_performance.html +++ b/pmd_rules_java_performance.html @@ -1441,7 +1441,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 It is much better to use one of the type-specific toString() methods instead.

    This rule is defined by the following XPath expression:

    -
    //AdditiveExpression/PrimaryExpression/PrimaryPrefix/Literal[@Image='""']
    +
    //AdditiveExpression/PrimaryExpression/PrimaryPrefix/Literal[@Image='""' and not(ancestor::Annotation)]
     

    Example(s):

    @@ -2614,7 +2614,7 @@ or StringBuffer.toString().length() == …

    diff --git a/pmd_rules_java_security.html b/pmd_rules_java_security.html index e2c7516381..36b9f50a67 100644 --- a/pmd_rules_java_security.html +++ b/pmd_rules_java_security.html @@ -1507,7 +1507,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_jsp.html b/pmd_rules_jsp.html index dcd7fc202b..b27d9c7024 100644 --- a/pmd_rules_jsp.html +++ b/pmd_rules_jsp.html @@ -1516,7 +1516,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_jsp_bestpractices.html b/pmd_rules_jsp_bestpractices.html index 0a616564c8..7d584f3aaa 100644 --- a/pmd_rules_jsp_bestpractices.html +++ b/pmd_rules_jsp_bestpractices.html @@ -1549,7 +1549,7 @@ little other purpose. Consider switching to JSP comments.

    diff --git a/pmd_rules_jsp_codestyle.html b/pmd_rules_jsp_codestyle.html index 93925101b2..2e8195fd82 100644 --- a/pmd_rules_jsp_codestyle.html +++ b/pmd_rules_jsp_codestyle.html @@ -1466,7 +1466,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_jsp_design.html b/pmd_rules_jsp_design.html index 05c8cb6c18..373305ee07 100644 --- a/pmd_rules_jsp_design.html +++ b/pmd_rules_jsp_design.html @@ -1557,7 +1557,7 @@ onload=calcDays;
    diff --git a/pmd_rules_jsp_errorprone.html b/pmd_rules_jsp_errorprone.html index b8faa8b8f0..185e0929b8 100644 --- a/pmd_rules_jsp_errorprone.html +++ b/pmd_rules_jsp_errorprone.html @@ -1478,7 +1478,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_jsp_security.html b/pmd_rules_jsp_security.html index f151acb9b9..6bcad9850f 100644 --- a/pmd_rules_jsp_security.html +++ b/pmd_rules_jsp_security.html @@ -1499,7 +1499,7 @@ ${fn:escapeXml(expression)} <!-- instead, escape it --&g
    diff --git a/pmd_rules_modelica.html b/pmd_rules_modelica.html index cfcb864729..28fdfae69d 100644 --- a/pmd_rules_modelica.html +++ b/pmd_rules_modelica.html @@ -1465,7 +1465,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_modelica_bestpractices.html b/pmd_rules_modelica_bestpractices.html index c3df8ef467..20840ac268 100644 --- a/pmd_rules_modelica_bestpractices.html +++ b/pmd_rules_modelica_bestpractices.html @@ -1541,7 +1541,7 @@ end Example;
    diff --git a/pmd_rules_plsql.html b/pmd_rules_plsql.html index f039d2f6b6..ff0701f854 100644 --- a/pmd_rules_plsql.html +++ b/pmd_rules_plsql.html @@ -1545,7 +1545,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_plsql_bestpractices.html b/pmd_rules_plsql_bestpractices.html index 2faebba897..1b801a2d45 100644 --- a/pmd_rules_plsql_bestpractices.html +++ b/pmd_rules_plsql_bestpractices.html @@ -1507,7 +1507,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_plsql_codestyle.html b/pmd_rules_plsql_codestyle.html index 78554d630b..a7a3e4f4e1 100644 --- a/pmd_rules_plsql_codestyle.html +++ b/pmd_rules_plsql_codestyle.html @@ -1791,7 +1791,7 @@ https://docs.oracle.com/cd/B28359_01/appdev.111/b28370/static.htm#BABIIHBJ

    diff --git a/pmd_rules_plsql_design.html b/pmd_rules_plsql_design.html index 316eda1882..95105c0932 100644 --- a/pmd_rules_plsql_design.html +++ b/pmd_rules_plsql_design.html @@ -2431,7 +2431,7 @@ have more fine grained objects.

    diff --git a/pmd_rules_plsql_errorprone.html b/pmd_rules_plsql_errorprone.html index eef15ea231..38531ac6fd 100644 --- a/pmd_rules_plsql_errorprone.html +++ b/pmd_rules_plsql_errorprone.html @@ -1576,7 +1576,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_pom.html b/pmd_rules_pom.html index 175af35d9b..2f0672a2a9 100644 --- a/pmd_rules_pom.html +++ b/pmd_rules_pom.html @@ -1478,7 +1478,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_pom_errorprone.html b/pmd_rules_pom_errorprone.html index fe7b1823b0..d42bfe53a7 100644 --- a/pmd_rules_pom_errorprone.html +++ b/pmd_rules_pom_errorprone.html @@ -1547,7 +1547,7 @@ By far the most common problem is the use of ${project.version} in a BOM or pare
    diff --git a/pmd_rules_scala.html b/pmd_rules_scala.html index 6968155bef..0827472ace 100644 --- a/pmd_rules_scala.html +++ b/pmd_rules_scala.html @@ -1460,7 +1460,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vf.html b/pmd_rules_vf.html index bec3571bb5..7e833f3b47 100644 --- a/pmd_rules_vf.html +++ b/pmd_rules_vf.html @@ -1479,7 +1479,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vf_security.html b/pmd_rules_vf_security.html index 01828792d2..e490315f2d 100644 --- a/pmd_rules_vf_security.html +++ b/pmd_rules_vf_security.html @@ -1522,7 +1522,7 @@ on
    diff --git a/pmd_rules_vm.html b/pmd_rules_vm.html index 9ba1bbdbed..8be24bd181 100644 --- a/pmd_rules_vm.html +++ b/pmd_rules_vm.html @@ -1499,7 +1499,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vm_bestpractices.html b/pmd_rules_vm_bestpractices.html index bcf2286057..dcc68882cf 100644 --- a/pmd_rules_vm_bestpractices.html +++ b/pmd_rules_vm_bestpractices.html @@ -1475,7 +1475,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vm_design.html b/pmd_rules_vm_design.html index 4996393791..b201db8f38 100644 --- a/pmd_rules_vm_design.html +++ b/pmd_rules_vm_design.html @@ -1589,7 +1589,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vm_errorprone.html b/pmd_rules_vm_errorprone.html index 772bd95275..b2de5d21b6 100644 --- a/pmd_rules_vm_errorprone.html +++ b/pmd_rules_vm_errorprone.html @@ -1475,7 +1475,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xml.html b/pmd_rules_xml.html index 95b6143e6b..4ba431cad1 100644 --- a/pmd_rules_xml.html +++ b/pmd_rules_xml.html @@ -1477,7 +1477,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xml_errorprone.html b/pmd_rules_xml_errorprone.html index ee6436ea84..3abbe507dd 100644 --- a/pmd_rules_xml_errorprone.html +++ b/pmd_rules_xml_errorprone.html @@ -1479,7 +1479,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xsl.html b/pmd_rules_xsl.html index 732de676aa..6d8339cfc1 100644 --- a/pmd_rules_xsl.html +++ b/pmd_rules_xsl.html @@ -1485,7 +1485,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xsl_codestyle.html b/pmd_rules_xsl_codestyle.html index 745e732add..3029754f7a 100644 --- a/pmd_rules_xsl_codestyle.html +++ b/pmd_rules_xsl_codestyle.html @@ -1470,7 +1470,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xsl_performance.html b/pmd_rules_xsl_performance.html index d07fd1072f..616ce7bf9e 100644 --- a/pmd_rules_xsl_performance.html +++ b/pmd_rules_xsl_performance.html @@ -1513,7 +1513,7 @@ cutting through 100% of the document.

    diff --git a/pmd_userdocs_best_practices.html b/pmd_userdocs_best_practices.html index b388da771d..190401f06e 100644 --- a/pmd_userdocs_best_practices.html +++ b/pmd_userdocs_best_practices.html @@ -1482,7 +1482,7 @@ and soon you’ll be fixing problems much faster.

    diff --git a/pmd_userdocs_cli_reference.html b/pmd_userdocs_cli_reference.html index 42fe08d7d9..b4efce6152 100644 --- a/pmd_userdocs_cli_reference.html +++ b/pmd_userdocs_cli_reference.html @@ -2150,7 +2150,7 @@ $ ./run.sh pmd -filelist /home/me/src/filelist.txt -f text -R ruleset.xml -force
    diff --git a/pmd_userdocs_configuring_rules.html b/pmd_userdocs_configuring_rules.html index 5d9331cdab..848c72f7da 100644 --- a/pmd_userdocs_configuring_rules.html +++ b/pmd_userdocs_configuring_rules.html @@ -1508,7 +1508,7 @@ will cause the rule to be ignored.

    diff --git a/pmd_userdocs_cpd.html b/pmd_userdocs_cpd.html index 7e43a992ce..3e9f3c6945 100644 --- a/pmd_userdocs_cpd.html +++ b/pmd_userdocs_cpd.html @@ -2487,7 +2487,7 @@ the comment based approach will be extended to those of them that can support it
    diff --git a/pmd_userdocs_cpd_report_formats.html b/pmd_userdocs_cpd_report_formats.html index bd39ea5094..a922edf7c0 100644 --- a/pmd_userdocs_cpd_report_formats.html +++ b/pmd_userdocs_cpd_report_formats.html @@ -1659,7 +1659,7 @@ is shown in the console. You can then click on the filenames to jump to the sour
    diff --git a/pmd_userdocs_extending_defining_properties.html b/pmd_userdocs_extending_defining_properties.html index 712183dda8..7337a370d1 100644 --- a/pmd_userdocs_extending_defining_properties.html +++ b/pmd_userdocs_extending_defining_properties.html @@ -1658,7 +1658,7 @@ are supported.

    diff --git a/pmd_userdocs_extending_designer_reference.html b/pmd_userdocs_extending_designer_reference.html index 010795b22a..599d1b58db 100644 --- a/pmd_userdocs_extending_designer_reference.html +++ b/pmd_userdocs_extending_designer_reference.html @@ -1697,7 +1697,7 @@ The available language modules are those on the classpath of the app’s JVM. Th
    diff --git a/pmd_userdocs_extending_metrics_howto.html b/pmd_userdocs_extending_metrics_howto.html index afc1b329de..b1f89cd6fa 100644 --- a/pmd_userdocs_extending_metrics_howto.html +++ b/pmd_userdocs_extending_metrics_howto.html @@ -1783,7 +1783,7 @@ classes. Here’s the default behaviour by language and type of metric:

    diff --git a/pmd_userdocs_extending_rule_guidelines.html b/pmd_userdocs_extending_rule_guidelines.html index 8ecb01c1ce..70966856fd 100644 --- a/pmd_userdocs_extending_rule_guidelines.html +++ b/pmd_userdocs_extending_rule_guidelines.html @@ -1487,7 +1487,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_userdocs_extending_testing.html b/pmd_userdocs_extending_testing.html index a35a828802..81515040c4 100644 --- a/pmd_userdocs_extending_testing.html +++ b/pmd_userdocs_extending_testing.html @@ -1763,7 +1763,7 @@ will be executed twice.

    diff --git a/pmd_userdocs_extending_writing_java_rules.html b/pmd_userdocs_extending_writing_java_rules.html index 20fe4f988b..3b7731e1a3 100644 --- a/pmd_userdocs_extending_writing_java_rules.html +++ b/pmd_userdocs_extending_writing_java_rules.html @@ -1615,7 +1615,7 @@ the file
    diff --git a/pmd_userdocs_extending_writing_pmd_rules.html b/pmd_userdocs_extending_writing_pmd_rules.html index cba99190e2..e6fd9dc88b 100644 --- a/pmd_userdocs_extending_writing_pmd_rules.html +++ b/pmd_userdocs_extending_writing_pmd_rules.html @@ -1479,7 +1479,7 @@ your rule
    diff --git a/pmd_userdocs_extending_writing_rules_intro.html b/pmd_userdocs_extending_writing_rules_intro.html index 4346afbb16..3a27aac990 100644 --- a/pmd_userdocs_extending_writing_rules_intro.html +++ b/pmd_userdocs_extending_writing_rules_intro.html @@ -1597,7 +1597,7 @@ your rule
    diff --git a/pmd_userdocs_extending_writing_xpath_rules.html b/pmd_userdocs_extending_writing_xpath_rules.html index c609d63df9..5edfc903cc 100644 --- a/pmd_userdocs_extending_writing_xpath_rules.html +++ b/pmd_userdocs_extending_writing_xpath_rules.html @@ -1957,7 +1957,7 @@ deprecated and whose usages should be replaced with uses of
    diff --git a/pmd_userdocs_extending_your_first_rule.html b/pmd_userdocs_extending_your_first_rule.html index 8bb100c5ea..48f1881f5e 100644 --- a/pmd_userdocs_extending_your_first_rule.html +++ b/pmd_userdocs_extending_your_first_rule.html @@ -1586,7 +1586,7 @@ of a rule of type XPathRule, which is how XPath rules are implemented.

    diff --git a/pmd_userdocs_incremental_analysis.html b/pmd_userdocs_incremental_analysis.html index 40a08da028..35dcab2025 100644 --- a/pmd_userdocs_incremental_analysis.html +++ b/pmd_userdocs_incremental_analysis.html @@ -1562,7 +1562,7 @@ same execution classpath).

    diff --git a/pmd_userdocs_installation.html b/pmd_userdocs_installation.html index a28401b316..465b8846d0 100644 --- a/pmd_userdocs_installation.html +++ b/pmd_userdocs_installation.html @@ -1622,7 +1622,7 @@ directory or a jar or zip file containing the sources.
    diff --git a/pmd_userdocs_making_rulesets.html b/pmd_userdocs_making_rulesets.html index b4f30b066e..50e0b13627 100644 --- a/pmd_userdocs_making_rulesets.html +++ b/pmd_userdocs_making_rulesets.html @@ -1565,7 +1565,7 @@ a single rule reference.
    diff --git a/pmd_userdocs_report_formats.html b/pmd_userdocs_report_formats.html index 6cd959b6a8..986db271b8 100644 --- a/pmd_userdocs_report_formats.html +++ b/pmd_userdocs_report_formats.html @@ -1828,7 +1828,7 @@ The output directory must exist. If not specified, the html files are created in
    diff --git a/pmd_userdocs_suppressing_warnings.html b/pmd_userdocs_suppressing_warnings.html index c63989ae3d..39418a3978 100644 --- a/pmd_userdocs_suppressing_warnings.html +++ b/pmd_userdocs_suppressing_warnings.html @@ -1666,7 +1666,7 @@ violations you wish to suppress. XPath queries are explained in
    diff --git a/pmd_userdocs_tools.html b/pmd_userdocs_tools.html index e3c2c19d22..5713e0f8d9 100644 --- a/pmd_userdocs_tools.html +++ b/pmd_userdocs_tools.html @@ -1919,7 +1919,7 @@ the (blank Command Results) document, and then confirming that, “yes, I do rea
    diff --git a/pmd_userdocs_tools_ant.html b/pmd_userdocs_tools_ant.html index 1abfd32f08..d3ac632c23 100644 --- a/pmd_userdocs_tools_ant.html +++ b/pmd_userdocs_tools_ant.html @@ -1888,7 +1888,7 @@ To prevent this from happening, increase the maximum memory usable by ant using
    diff --git a/pmd_userdocs_tools_ci.html b/pmd_userdocs_tools_ci.html index 8efc80c2e3..7ce4d30f13 100644 --- a/pmd_userdocs_tools_ci.html +++ b/pmd_userdocs_tools_ci.html @@ -1472,7 +1472,7 @@ result of the PMD maven plugin.

    diff --git a/pmd_userdocs_tools_gradle.html b/pmd_userdocs_tools_gradle.html index 52e81bd817..9c24d21f55 100644 --- a/pmd_userdocs_tools_gradle.html +++ b/pmd_userdocs_tools_gradle.html @@ -1515,7 +1515,7 @@ with the property toolVersion
    diff --git a/pmd_userdocs_tools_java_api.html b/pmd_userdocs_tools_java_api.html index 296b56534d..205cf31e6e 100644 --- a/pmd_userdocs_tools_java_api.html +++ b/pmd_userdocs_tools_java_api.html @@ -1690,7 +1690,7 @@ Then you can check the rendered output.

    diff --git a/pmd_userdocs_tools_maven.html b/pmd_userdocs_tools_maven.html index 4633f717f9..4e59ac439c 100644 --- a/pmd_userdocs_tools_maven.html +++ b/pmd_userdocs_tools_maven.html @@ -1730,7 +1730,7 @@ the previous paragraph. Add the following property to your project now:

    diff --git a/search.json b/search.json index fa3f10013f..c075be8ad3 100644 --- a/search.json +++ b/search.json @@ -135,147 +135,6 @@ -{ -"title": "Best Practices (Modelica, Best Practices)", -"tags": "", -"keywords": "Best Practices", -"url": "pmd_rules_modelica_bestpractices.html#best practices", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "ClassStartNameEqualsEndName (Modelica, Best Practices)", -"tags": "", -"keywords": "ClassStartNameEqualsEndName", -"url": "pmd_rules_modelica_bestpractices.html#classstartnameequalsendname", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "ConnectUsingNonConnector (Modelica, Best Practices)", -"tags": "", -"keywords": "ConnectUsingNonConnector", -"url": "pmd_rules_modelica_bestpractices.html#connectusingnonconnector", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "AmbiguousResolution (Modelica, Best Practices)", -"tags": "", -"keywords": "AmbiguousResolution", -"url": "pmd_rules_modelica_bestpractices.html#ambiguousresolution", -"summary": "Rules which enforce generally accepted best practices." -} - - - - - -, - - - - - - - -{ -"title": "Best Practices (VM, Best Practices)", -"tags": "", -"keywords": "Best Practices", -"url": "pmd_rules_vm_bestpractices.html#best practices", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "AvoidReassigningParameters (VM, Best Practices)", -"tags": "", -"keywords": "AvoidReassigningParameters", -"url": "pmd_rules_vm_bestpractices.html#avoidreassigningparameters", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "UnusedMacroParameter (VM, Best Practices)", -"tags": "", -"keywords": "UnusedMacroParameter", -"url": "pmd_rules_vm_bestpractices.html#unusedmacroparameter", -"summary": "Rules which enforce generally accepted best practices." -} - - - - - -, - - - - - - - -{ -"title": "Best Practices (Java Server Pages, Best Practices)", -"tags": "", -"keywords": "Best Practices", -"url": "pmd_rules_jsp_bestpractices.html#best practices", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "DontNestJsfInJstlIteration (Java Server Pages, Best Practices)", -"tags": "", -"keywords": "DontNestJsfInJstlIteration", -"url": "pmd_rules_jsp_bestpractices.html#dontnestjsfinjstliteration", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "NoClassAttribute (Java Server Pages, Best Practices)", -"tags": "", -"keywords": "NoClassAttribute", -"url": "pmd_rules_jsp_bestpractices.html#noclassattribute", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "NoHtmlComments (Java Server Pages, Best Practices)", -"tags": "", -"keywords": "NoHtmlComments", -"url": "pmd_rules_jsp_bestpractices.html#nohtmlcomments", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "NoJspForward (Java Server Pages, Best Practices)", -"tags": "", -"keywords": "NoJspForward", -"url": "pmd_rules_jsp_bestpractices.html#nojspforward", -"summary": "Rules which enforce generally accepted best practices." -} - - - - - -, - - - - - - - { "title": "Best Practices (Java, Best Practices)", "tags": "", @@ -809,6 +668,203 @@ +{ +"title": "Best Practices (Ecmascript, Best Practices)", +"tags": "", +"keywords": "Best Practices", +"url": "pmd_rules_ecmascript_bestpractices.html#best practices", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "AvoidWithStatement (Ecmascript, Best Practices)", +"tags": "", +"keywords": "AvoidWithStatement", +"url": "pmd_rules_ecmascript_bestpractices.html#avoidwithstatement", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "ConsistentReturn (Ecmascript, Best Practices)", +"tags": "", +"keywords": "ConsistentReturn", +"url": "pmd_rules_ecmascript_bestpractices.html#consistentreturn", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "GlobalVariable (Ecmascript, Best Practices)", +"tags": "", +"keywords": "GlobalVariable", +"url": "pmd_rules_ecmascript_bestpractices.html#globalvariable", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "ScopeForInVariable (Ecmascript, Best Practices)", +"tags": "", +"keywords": "ScopeForInVariable", +"url": "pmd_rules_ecmascript_bestpractices.html#scopeforinvariable", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "UseBaseWithParseInt (Ecmascript, Best Practices)", +"tags": "", +"keywords": "UseBaseWithParseInt", +"url": "pmd_rules_ecmascript_bestpractices.html#usebasewithparseint", +"summary": "Rules which enforce generally accepted best practices." +} + + + + + +, + + + + + + + +{ +"title": "Best Practices (Modelica, Best Practices)", +"tags": "", +"keywords": "Best Practices", +"url": "pmd_rules_modelica_bestpractices.html#best practices", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "ClassStartNameEqualsEndName (Modelica, Best Practices)", +"tags": "", +"keywords": "ClassStartNameEqualsEndName", +"url": "pmd_rules_modelica_bestpractices.html#classstartnameequalsendname", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "ConnectUsingNonConnector (Modelica, Best Practices)", +"tags": "", +"keywords": "ConnectUsingNonConnector", +"url": "pmd_rules_modelica_bestpractices.html#connectusingnonconnector", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "AmbiguousResolution (Modelica, Best Practices)", +"tags": "", +"keywords": "AmbiguousResolution", +"url": "pmd_rules_modelica_bestpractices.html#ambiguousresolution", +"summary": "Rules which enforce generally accepted best practices." +} + + + + + +, + + + + + + + +{ +"title": "Best Practices (Java Server Pages, Best Practices)", +"tags": "", +"keywords": "Best Practices", +"url": "pmd_rules_jsp_bestpractices.html#best practices", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "DontNestJsfInJstlIteration (Java Server Pages, Best Practices)", +"tags": "", +"keywords": "DontNestJsfInJstlIteration", +"url": "pmd_rules_jsp_bestpractices.html#dontnestjsfinjstliteration", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "NoClassAttribute (Java Server Pages, Best Practices)", +"tags": "", +"keywords": "NoClassAttribute", +"url": "pmd_rules_jsp_bestpractices.html#noclassattribute", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "NoHtmlComments (Java Server Pages, Best Practices)", +"tags": "", +"keywords": "NoHtmlComments", +"url": "pmd_rules_jsp_bestpractices.html#nohtmlcomments", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "NoJspForward (Java Server Pages, Best Practices)", +"tags": "", +"keywords": "NoJspForward", +"url": "pmd_rules_jsp_bestpractices.html#nojspforward", +"summary": "Rules which enforce generally accepted best practices." +} + + + + + +, + + + + + + + +{ +"title": "Best Practices (PLSQL, Best Practices)", +"tags": "", +"keywords": "Best Practices", +"url": "pmd_rules_plsql_bestpractices.html#best practices", +"summary": "Rules which enforce generally accepted best practices." +} +, + +{ +"title": "TomKytesDespair (PLSQL, Best Practices)", +"tags": "", +"keywords": "TomKytesDespair", +"url": "pmd_rules_plsql_bestpractices.html#tomkytesdespair", +"summary": "Rules which enforce generally accepted best practices." +} + + + + + +, + + + + + + + { "title": "Best Practices (Apex, Best Practices)", "tags": "", @@ -902,84 +958,28 @@ { -"title": "Best Practices (Ecmascript, Best Practices)", +"title": "Best Practices (VM, Best Practices)", "tags": "", "keywords": "Best Practices", -"url": "pmd_rules_ecmascript_bestpractices.html#best practices", +"url": "pmd_rules_vm_bestpractices.html#best practices", "summary": "Rules which enforce generally accepted best practices." } , { -"title": "AvoidWithStatement (Ecmascript, Best Practices)", +"title": "AvoidReassigningParameters (VM, Best Practices)", "tags": "", -"keywords": "AvoidWithStatement", -"url": "pmd_rules_ecmascript_bestpractices.html#avoidwithstatement", +"keywords": "AvoidReassigningParameters", +"url": "pmd_rules_vm_bestpractices.html#avoidreassigningparameters", "summary": "Rules which enforce generally accepted best practices." } , { -"title": "ConsistentReturn (Ecmascript, Best Practices)", +"title": "UnusedMacroParameter (VM, Best Practices)", "tags": "", -"keywords": "ConsistentReturn", -"url": "pmd_rules_ecmascript_bestpractices.html#consistentreturn", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "GlobalVariable (Ecmascript, Best Practices)", -"tags": "", -"keywords": "GlobalVariable", -"url": "pmd_rules_ecmascript_bestpractices.html#globalvariable", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "ScopeForInVariable (Ecmascript, Best Practices)", -"tags": "", -"keywords": "ScopeForInVariable", -"url": "pmd_rules_ecmascript_bestpractices.html#scopeforinvariable", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "UseBaseWithParseInt (Ecmascript, Best Practices)", -"tags": "", -"keywords": "UseBaseWithParseInt", -"url": "pmd_rules_ecmascript_bestpractices.html#usebasewithparseint", -"summary": "Rules which enforce generally accepted best practices." -} - - - - - -, - - - - - - - -{ -"title": "Best Practices (PLSQL, Best Practices)", -"tags": "", -"keywords": "Best Practices", -"url": "pmd_rules_plsql_bestpractices.html#best practices", -"summary": "Rules which enforce generally accepted best practices." -} -, - -{ -"title": "TomKytesDespair (PLSQL, Best Practices)", -"tags": "", -"keywords": "TomKytesDespair", -"url": "pmd_rules_plsql_bestpractices.html#tomkytesdespair", +"keywords": "UnusedMacroParameter", +"url": "pmd_rules_vm_bestpractices.html#unusedmacroparameter", "summary": "Rules which enforce generally accepted best practices." } @@ -1043,35 +1043,6 @@ -{ -"title": "Code Style (Java Server Pages, Code Style)", -"tags": "", -"keywords": "Code Style", -"url": "pmd_rules_jsp_codestyle.html#code style", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "DuplicateJspImports (Java Server Pages, Code Style)", -"tags": "", -"keywords": "DuplicateJspImports", -"url": "pmd_rules_jsp_codestyle.html#duplicatejspimports", -"summary": "Rules which enforce a specific coding style." -} - - - - - -, - - - - - - - { "title": "Code Style (Java, Code Style)", "tags": "", @@ -1668,6 +1639,201 @@ +{ +"title": "Code Style (Ecmascript, Code Style)", +"tags": "", +"keywords": "Code Style", +"url": "pmd_rules_ecmascript_codestyle.html#code style", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "AssignmentInOperand (Ecmascript, Code Style)", +"tags": "", +"keywords": "AssignmentInOperand", +"url": "pmd_rules_ecmascript_codestyle.html#assignmentinoperand", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "ForLoopsMustUseBraces (Ecmascript, Code Style)", +"tags": "", +"keywords": "ForLoopsMustUseBraces", +"url": "pmd_rules_ecmascript_codestyle.html#forloopsmustusebraces", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "IfElseStmtsMustUseBraces (Ecmascript, Code Style)", +"tags": "", +"keywords": "IfElseStmtsMustUseBraces", +"url": "pmd_rules_ecmascript_codestyle.html#ifelsestmtsmustusebraces", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "IfStmtsMustUseBraces (Ecmascript, Code Style)", +"tags": "", +"keywords": "IfStmtsMustUseBraces", +"url": "pmd_rules_ecmascript_codestyle.html#ifstmtsmustusebraces", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "NoElseReturn (Ecmascript, Code Style)", +"tags": "", +"keywords": "NoElseReturn", +"url": "pmd_rules_ecmascript_codestyle.html#noelsereturn", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "UnnecessaryBlock (Ecmascript, Code Style)", +"tags": "", +"keywords": "UnnecessaryBlock", +"url": "pmd_rules_ecmascript_codestyle.html#unnecessaryblock", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "UnnecessaryParentheses (Ecmascript, Code Style)", +"tags": "", +"keywords": "UnnecessaryParentheses", +"url": "pmd_rules_ecmascript_codestyle.html#unnecessaryparentheses", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "UnreachableCode (Ecmascript, Code Style)", +"tags": "", +"keywords": "UnreachableCode", +"url": "pmd_rules_ecmascript_codestyle.html#unreachablecode", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "WhileLoopsMustUseBraces (Ecmascript, Code Style)", +"tags": "", +"keywords": "WhileLoopsMustUseBraces", +"url": "pmd_rules_ecmascript_codestyle.html#whileloopsmustusebraces", +"summary": "Rules which enforce a specific coding style." +} + + + + + +, + + + + + + + +{ +"title": "Code Style (Java Server Pages, Code Style)", +"tags": "", +"keywords": "Code Style", +"url": "pmd_rules_jsp_codestyle.html#code style", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "DuplicateJspImports (Java Server Pages, Code Style)", +"tags": "", +"keywords": "DuplicateJspImports", +"url": "pmd_rules_jsp_codestyle.html#duplicatejspimports", +"summary": "Rules which enforce a specific coding style." +} + + + + + +, + + + + + + + +{ +"title": "Code Style (PLSQL, Code Style)", +"tags": "", +"keywords": "Code Style", +"url": "pmd_rules_plsql_codestyle.html#code style", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "AvoidTabCharacter (PLSQL, Code Style)", +"tags": "", +"keywords": "AvoidTabCharacter", +"url": "pmd_rules_plsql_codestyle.html#avoidtabcharacter", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "CodeFormat (PLSQL, Code Style)", +"tags": "", +"keywords": "CodeFormat", +"url": "pmd_rules_plsql_codestyle.html#codeformat", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "MisplacedPragma (PLSQL, Code Style)", +"tags": "", +"keywords": "MisplacedPragma", +"url": "pmd_rules_plsql_codestyle.html#misplacedpragma", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "ForLoopNaming (PLSQL, Code Style)", +"tags": "", +"keywords": "ForLoopNaming", +"url": "pmd_rules_plsql_codestyle.html#forloopnaming", +"summary": "Rules which enforce a specific coding style." +} +, + +{ +"title": "LineLength (PLSQL, Code Style)", +"tags": "", +"keywords": "LineLength", +"url": "pmd_rules_plsql_codestyle.html#linelength", +"summary": "Rules which enforce a specific coding style." +} + + + + + +, + + + + + + + { "title": "Code Style (Apex, Code Style)", "tags": "", @@ -1805,107 +1971,6 @@ -{ -"title": "Code Style (Ecmascript, Code Style)", -"tags": "", -"keywords": "Code Style", -"url": "pmd_rules_ecmascript_codestyle.html#code style", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "AssignmentInOperand (Ecmascript, Code Style)", -"tags": "", -"keywords": "AssignmentInOperand", -"url": "pmd_rules_ecmascript_codestyle.html#assignmentinoperand", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "ForLoopsMustUseBraces (Ecmascript, Code Style)", -"tags": "", -"keywords": "ForLoopsMustUseBraces", -"url": "pmd_rules_ecmascript_codestyle.html#forloopsmustusebraces", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "IfElseStmtsMustUseBraces (Ecmascript, Code Style)", -"tags": "", -"keywords": "IfElseStmtsMustUseBraces", -"url": "pmd_rules_ecmascript_codestyle.html#ifelsestmtsmustusebraces", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "IfStmtsMustUseBraces (Ecmascript, Code Style)", -"tags": "", -"keywords": "IfStmtsMustUseBraces", -"url": "pmd_rules_ecmascript_codestyle.html#ifstmtsmustusebraces", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "NoElseReturn (Ecmascript, Code Style)", -"tags": "", -"keywords": "NoElseReturn", -"url": "pmd_rules_ecmascript_codestyle.html#noelsereturn", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "UnnecessaryBlock (Ecmascript, Code Style)", -"tags": "", -"keywords": "UnnecessaryBlock", -"url": "pmd_rules_ecmascript_codestyle.html#unnecessaryblock", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "UnnecessaryParentheses (Ecmascript, Code Style)", -"tags": "", -"keywords": "UnnecessaryParentheses", -"url": "pmd_rules_ecmascript_codestyle.html#unnecessaryparentheses", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "UnreachableCode (Ecmascript, Code Style)", -"tags": "", -"keywords": "UnreachableCode", -"url": "pmd_rules_ecmascript_codestyle.html#unreachablecode", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "WhileLoopsMustUseBraces (Ecmascript, Code Style)", -"tags": "", -"keywords": "WhileLoopsMustUseBraces", -"url": "pmd_rules_ecmascript_codestyle.html#whileloopsmustusebraces", -"summary": "Rules which enforce a specific coding style." -} - - - - - -, - - - - - - - { "title": "Code Style (XSL, Code Style)", "tags": "", @@ -1933,71 +1998,6 @@ - - -{ -"title": "Code Style (PLSQL, Code Style)", -"tags": "", -"keywords": "Code Style", -"url": "pmd_rules_plsql_codestyle.html#code style", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "AvoidTabCharacter (PLSQL, Code Style)", -"tags": "", -"keywords": "AvoidTabCharacter", -"url": "pmd_rules_plsql_codestyle.html#avoidtabcharacter", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "CodeFormat (PLSQL, Code Style)", -"tags": "", -"keywords": "CodeFormat", -"url": "pmd_rules_plsql_codestyle.html#codeformat", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "MisplacedPragma (PLSQL, Code Style)", -"tags": "", -"keywords": "MisplacedPragma", -"url": "pmd_rules_plsql_codestyle.html#misplacedpragma", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "ForLoopNaming (PLSQL, Code Style)", -"tags": "", -"keywords": "ForLoopNaming", -"url": "pmd_rules_plsql_codestyle.html#forloopnaming", -"summary": "Rules which enforce a specific coding style." -} -, - -{ -"title": "LineLength (PLSQL, Code Style)", -"tags": "", -"keywords": "LineLength", -"url": "pmd_rules_plsql_codestyle.html#linelength", -"summary": "Rules which enforce a specific coding style." -} - - - - - -, - - - - - { "title": "Configuring rules", "tags": "userdocsgetting_started", @@ -2080,127 +2080,6 @@ -{ -"title": "Design (VM, Design)", -"tags": "", -"keywords": "Design", -"url": "pmd_rules_vm_design.html#design", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "AvoidDeeplyNestedIfStmts (VM, Design)", -"tags": "", -"keywords": "AvoidDeeplyNestedIfStmts", -"url": "pmd_rules_vm_design.html#avoiddeeplynestedifstmts", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "CollapsibleIfStatements (VM, Design)", -"tags": "", -"keywords": "CollapsibleIfStatements", -"url": "pmd_rules_vm_design.html#collapsibleifstatements", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "ExcessiveTemplateLength (VM, Design)", -"tags": "", -"keywords": "ExcessiveTemplateLength", -"url": "pmd_rules_vm_design.html#excessivetemplatelength", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "NoInlineJavaScript (VM, Design)", -"tags": "", -"keywords": "NoInlineJavaScript", -"url": "pmd_rules_vm_design.html#noinlinejavascript", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "NoInlineStyles (VM, Design)", -"tags": "", -"keywords": "NoInlineStyles", -"url": "pmd_rules_vm_design.html#noinlinestyles", -"summary": "Rules that help you discover design issues." -} - - - - - -, - - - - - - - -{ -"title": "Design (Java Server Pages, Design)", -"tags": "", -"keywords": "Design", -"url": "pmd_rules_jsp_design.html#design", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "NoInlineScript (Java Server Pages, Design)", -"tags": "", -"keywords": "NoInlineScript", -"url": "pmd_rules_jsp_design.html#noinlinescript", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "NoInlineStyleInformation (Java Server Pages, Design)", -"tags": "", -"keywords": "NoInlineStyleInformation", -"url": "pmd_rules_jsp_design.html#noinlinestyleinformation", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "NoLongScripts (Java Server Pages, Design)", -"tags": "", -"keywords": "NoLongScripts", -"url": "pmd_rules_jsp_design.html#nolongscripts", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "NoScriptlets (Java Server Pages, Design)", -"tags": "", -"keywords": "NoScriptlets", -"url": "pmd_rules_jsp_design.html#noscriptlets", -"summary": "Rules that help you discover design issues." -} - - - - - -, - - - - - - - { "title": "Design (Java, Design)", "tags": "", @@ -2654,109 +2533,46 @@ { -"title": "Design (Apex, Design)", +"title": "Design (Java Server Pages, Design)", "tags": "", "keywords": "Design", -"url": "pmd_rules_apex_design.html#design", +"url": "pmd_rules_jsp_design.html#design", "summary": "Rules that help you discover design issues." } , { -"title": "AvoidDeeplyNestedIfStmts (Apex, Design)", +"title": "NoInlineScript (Java Server Pages, Design)", "tags": "", -"keywords": "AvoidDeeplyNestedIfStmts", -"url": "pmd_rules_apex_design.html#avoiddeeplynestedifstmts", +"keywords": "NoInlineScript", +"url": "pmd_rules_jsp_design.html#noinlinescript", "summary": "Rules that help you discover design issues." } , { -"title": "CyclomaticComplexity (Apex, Design)", +"title": "NoInlineStyleInformation (Java Server Pages, Design)", "tags": "", -"keywords": "CyclomaticComplexity", -"url": "pmd_rules_apex_design.html#cyclomaticcomplexity", +"keywords": "NoInlineStyleInformation", +"url": "pmd_rules_jsp_design.html#noinlinestyleinformation", "summary": "Rules that help you discover design issues." } , { -"title": "CognitiveComplexity (Apex, Design)", +"title": "NoLongScripts (Java Server Pages, Design)", "tags": "", -"keywords": "CognitiveComplexity", -"url": "pmd_rules_apex_design.html#cognitivecomplexity", +"keywords": "NoLongScripts", +"url": "pmd_rules_jsp_design.html#nolongscripts", "summary": "Rules that help you discover design issues." } , { -"title": "ExcessiveClassLength (Apex, Design)", +"title": "NoScriptlets (Java Server Pages, Design)", "tags": "", -"keywords": "ExcessiveClassLength", -"url": "pmd_rules_apex_design.html#excessiveclasslength", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "ExcessiveParameterList (Apex, Design)", -"tags": "", -"keywords": "ExcessiveParameterList", -"url": "pmd_rules_apex_design.html#excessiveparameterlist", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "ExcessivePublicCount (Apex, Design)", -"tags": "", -"keywords": "ExcessivePublicCount", -"url": "pmd_rules_apex_design.html#excessivepubliccount", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "NcssConstructorCount (Apex, Design)", -"tags": "", -"keywords": "NcssConstructorCount", -"url": "pmd_rules_apex_design.html#ncssconstructorcount", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "NcssMethodCount (Apex, Design)", -"tags": "", -"keywords": "NcssMethodCount", -"url": "pmd_rules_apex_design.html#ncssmethodcount", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "NcssTypeCount (Apex, Design)", -"tags": "", -"keywords": "NcssTypeCount", -"url": "pmd_rules_apex_design.html#ncsstypecount", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "StdCyclomaticComplexity (Apex, Design)", -"tags": "", -"keywords": "StdCyclomaticComplexity", -"url": "pmd_rules_apex_design.html#stdcyclomaticcomplexity", -"summary": "Rules that help you discover design issues." -} -, - -{ -"title": "TooManyFields (Apex, Design)", -"tags": "", -"keywords": "TooManyFields", -"url": "pmd_rules_apex_design.html#toomanyfields", +"keywords": "NoScriptlets", +"url": "pmd_rules_jsp_design.html#noscriptlets", "summary": "Rules that help you discover design issues." } @@ -2898,6 +2714,190 @@ + + +{ +"title": "Design (Apex, Design)", +"tags": "", +"keywords": "Design", +"url": "pmd_rules_apex_design.html#design", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "AvoidDeeplyNestedIfStmts (Apex, Design)", +"tags": "", +"keywords": "AvoidDeeplyNestedIfStmts", +"url": "pmd_rules_apex_design.html#avoiddeeplynestedifstmts", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "CyclomaticComplexity (Apex, Design)", +"tags": "", +"keywords": "CyclomaticComplexity", +"url": "pmd_rules_apex_design.html#cyclomaticcomplexity", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "CognitiveComplexity (Apex, Design)", +"tags": "", +"keywords": "CognitiveComplexity", +"url": "pmd_rules_apex_design.html#cognitivecomplexity", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "ExcessiveClassLength (Apex, Design)", +"tags": "", +"keywords": "ExcessiveClassLength", +"url": "pmd_rules_apex_design.html#excessiveclasslength", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "ExcessiveParameterList (Apex, Design)", +"tags": "", +"keywords": "ExcessiveParameterList", +"url": "pmd_rules_apex_design.html#excessiveparameterlist", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "ExcessivePublicCount (Apex, Design)", +"tags": "", +"keywords": "ExcessivePublicCount", +"url": "pmd_rules_apex_design.html#excessivepubliccount", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "NcssConstructorCount (Apex, Design)", +"tags": "", +"keywords": "NcssConstructorCount", +"url": "pmd_rules_apex_design.html#ncssconstructorcount", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "NcssMethodCount (Apex, Design)", +"tags": "", +"keywords": "NcssMethodCount", +"url": "pmd_rules_apex_design.html#ncssmethodcount", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "NcssTypeCount (Apex, Design)", +"tags": "", +"keywords": "NcssTypeCount", +"url": "pmd_rules_apex_design.html#ncsstypecount", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "StdCyclomaticComplexity (Apex, Design)", +"tags": "", +"keywords": "StdCyclomaticComplexity", +"url": "pmd_rules_apex_design.html#stdcyclomaticcomplexity", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "TooManyFields (Apex, Design)", +"tags": "", +"keywords": "TooManyFields", +"url": "pmd_rules_apex_design.html#toomanyfields", +"summary": "Rules that help you discover design issues." +} + + + + + +, + + + + + + + +{ +"title": "Design (VM, Design)", +"tags": "", +"keywords": "Design", +"url": "pmd_rules_vm_design.html#design", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "AvoidDeeplyNestedIfStmts (VM, Design)", +"tags": "", +"keywords": "AvoidDeeplyNestedIfStmts", +"url": "pmd_rules_vm_design.html#avoiddeeplynestedifstmts", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "CollapsibleIfStatements (VM, Design)", +"tags": "", +"keywords": "CollapsibleIfStatements", +"url": "pmd_rules_vm_design.html#collapsibleifstatements", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "ExcessiveTemplateLength (VM, Design)", +"tags": "", +"keywords": "ExcessiveTemplateLength", +"url": "pmd_rules_vm_design.html#excessivetemplatelength", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "NoInlineJavaScript (VM, Design)", +"tags": "", +"keywords": "NoInlineJavaScript", +"url": "pmd_rules_vm_design.html#noinlinejavascript", +"summary": "Rules that help you discover design issues." +} +, + +{ +"title": "NoInlineStyles (VM, Design)", +"tags": "", +"keywords": "NoInlineStyles", +"url": "pmd_rules_vm_design.html#noinlinestyles", +"summary": "Rules that help you discover design issues." +} + + + + + +, + + + + + { "title": "The rule designer", "tags": "extendinguserdocs", @@ -3042,140 +3042,6 @@ -{ -"title": "Error Prone (XML, Error Prone)", -"tags": "", -"keywords": "Error Prone", -"url": "pmd_rules_xml_errorprone.html#error prone", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} -, - -{ -"title": "MistypedCDATASection (XML, Error Prone)", -"tags": "", -"keywords": "MistypedCDATASection", -"url": "pmd_rules_xml_errorprone.html#mistypedcdatasection", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} - - - - - -, - - - - - - - -{ -"title": "Error Prone (VM, Error Prone)", -"tags": "", -"keywords": "Error Prone", -"url": "pmd_rules_vm_errorprone.html#error prone", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} -, - -{ -"title": "EmptyForeachStmt (VM, Error Prone)", -"tags": "", -"keywords": "EmptyForeachStmt", -"url": "pmd_rules_vm_errorprone.html#emptyforeachstmt", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} -, - -{ -"title": "EmptyIfStmt (VM, Error Prone)", -"tags": "", -"keywords": "EmptyIfStmt", -"url": "pmd_rules_vm_errorprone.html#emptyifstmt", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} - - - - - -, - - - - - - - -{ -"title": "Error Prone (Java Server Pages, Error Prone)", -"tags": "", -"keywords": "Error Prone", -"url": "pmd_rules_jsp_errorprone.html#error prone", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} -, - -{ -"title": "JspEncoding (Java Server Pages, Error Prone)", -"tags": "", -"keywords": "JspEncoding", -"url": "pmd_rules_jsp_errorprone.html#jspencoding", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} - - - - - -, - - - - - - - -{ -"title": "Error Prone (Maven POM, Error Prone)", -"tags": "", -"keywords": "Error Prone", -"url": "pmd_rules_pom_errorprone.html#error prone", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} -, - -{ -"title": "InvalidDependencyTypes (Maven POM, Error Prone)", -"tags": "", -"keywords": "InvalidDependencyTypes", -"url": "pmd_rules_pom_errorprone.html#invaliddependencytypes", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} -, - -{ -"title": "ProjectVersionAsDependencyVersion (Maven POM, Error Prone)", -"tags": "", -"keywords": "ProjectVersionAsDependencyVersion", -"url": "pmd_rules_pom_errorprone.html#projectversionasdependencyversion", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} - - - - - -, - - - - - - - { "title": "Error Prone (Java, Error Prone)", "tags": "", @@ -4123,6 +3989,129 @@ +{ +"title": "Error Prone (Ecmascript, Error Prone)", +"tags": "", +"keywords": "Error Prone", +"url": "pmd_rules_ecmascript_errorprone.html#error prone", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} +, + +{ +"title": "AvoidTrailingComma (Ecmascript, Error Prone)", +"tags": "", +"keywords": "AvoidTrailingComma", +"url": "pmd_rules_ecmascript_errorprone.html#avoidtrailingcomma", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} +, + +{ +"title": "EqualComparison (Ecmascript, Error Prone)", +"tags": "", +"keywords": "EqualComparison", +"url": "pmd_rules_ecmascript_errorprone.html#equalcomparison", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} +, + +{ +"title": "InnaccurateNumericLiteral (Ecmascript, Error Prone)", +"tags": "", +"keywords": "InnaccurateNumericLiteral", +"url": "pmd_rules_ecmascript_errorprone.html#innaccuratenumericliteral", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} + + + + + +, + + + + + + + +{ +"title": "Error Prone (Java Server Pages, Error Prone)", +"tags": "", +"keywords": "Error Prone", +"url": "pmd_rules_jsp_errorprone.html#error prone", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} +, + +{ +"title": "JspEncoding (Java Server Pages, Error Prone)", +"tags": "", +"keywords": "JspEncoding", +"url": "pmd_rules_jsp_errorprone.html#jspencoding", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} + + + + + +, + + + + + + + +{ +"title": "Error Prone (PLSQL, Error Prone)", +"tags": "", +"keywords": "Error Prone", +"url": "pmd_rules_plsql_errorprone.html#error prone", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} +, + +{ +"title": "TO_DATE_TO_CHAR (PLSQL, Error Prone)", +"tags": "", +"keywords": "TO_DATE_TO_CHAR", +"url": "pmd_rules_plsql_errorprone.html#to_date_to_char", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} +, + +{ +"title": "TO_DATEWithoutDateFormat (PLSQL, Error Prone)", +"tags": "", +"keywords": "TO_DATEWithoutDateFormat", +"url": "pmd_rules_plsql_errorprone.html#to_datewithoutdateformat", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} +, + +{ +"title": "TO_TIMESTAMPWithoutDateFormat (PLSQL, Error Prone)", +"tags": "", +"keywords": "TO_TIMESTAMPWithoutDateFormat", +"url": "pmd_rules_plsql_errorprone.html#to_timestampwithoutdateformat", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} + + + + + +, + + + + + + + { "title": "Error Prone (Apex, Error Prone)", "tags": "", @@ -4261,37 +4250,28 @@ { -"title": "Error Prone (Ecmascript, Error Prone)", +"title": "Error Prone (Maven POM, Error Prone)", "tags": "", "keywords": "Error Prone", -"url": "pmd_rules_ecmascript_errorprone.html#error prone", +"url": "pmd_rules_pom_errorprone.html#error prone", "summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." } , { -"title": "AvoidTrailingComma (Ecmascript, Error Prone)", +"title": "InvalidDependencyTypes (Maven POM, Error Prone)", "tags": "", -"keywords": "AvoidTrailingComma", -"url": "pmd_rules_ecmascript_errorprone.html#avoidtrailingcomma", +"keywords": "InvalidDependencyTypes", +"url": "pmd_rules_pom_errorprone.html#invaliddependencytypes", "summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." } , { -"title": "EqualComparison (Ecmascript, Error Prone)", +"title": "ProjectVersionAsDependencyVersion (Maven POM, Error Prone)", "tags": "", -"keywords": "EqualComparison", -"url": "pmd_rules_ecmascript_errorprone.html#equalcomparison", -"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." -} -, - -{ -"title": "InnaccurateNumericLiteral (Ecmascript, Error Prone)", -"tags": "", -"keywords": "InnaccurateNumericLiteral", -"url": "pmd_rules_ecmascript_errorprone.html#innaccuratenumericliteral", +"keywords": "ProjectVersionAsDependencyVersion", +"url": "pmd_rules_pom_errorprone.html#projectversionasdependencyversion", "summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." } @@ -4308,37 +4288,57 @@ { -"title": "Error Prone (PLSQL, Error Prone)", +"title": "Error Prone (VM, Error Prone)", "tags": "", "keywords": "Error Prone", -"url": "pmd_rules_plsql_errorprone.html#error prone", +"url": "pmd_rules_vm_errorprone.html#error prone", "summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." } , { -"title": "TO_DATE_TO_CHAR (PLSQL, Error Prone)", +"title": "EmptyForeachStmt (VM, Error Prone)", "tags": "", -"keywords": "TO_DATE_TO_CHAR", -"url": "pmd_rules_plsql_errorprone.html#to_date_to_char", +"keywords": "EmptyForeachStmt", +"url": "pmd_rules_vm_errorprone.html#emptyforeachstmt", "summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." } , { -"title": "TO_DATEWithoutDateFormat (PLSQL, Error Prone)", +"title": "EmptyIfStmt (VM, Error Prone)", "tags": "", -"keywords": "TO_DATEWithoutDateFormat", -"url": "pmd_rules_plsql_errorprone.html#to_datewithoutdateformat", +"keywords": "EmptyIfStmt", +"url": "pmd_rules_vm_errorprone.html#emptyifstmt", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} + + + + + +, + + + + + + + +{ +"title": "Error Prone (XML, Error Prone)", +"tags": "", +"keywords": "Error Prone", +"url": "pmd_rules_xml_errorprone.html#error prone", "summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." } , { -"title": "TO_TIMESTAMPWithoutDateFormat (PLSQL, Error Prone)", +"title": "MistypedCDATASection (XML, Error Prone)", "tags": "", -"keywords": "TO_TIMESTAMPWithoutDateFormat", -"url": "pmd_rules_plsql_errorprone.html#to_timestampwithoutdateformat", +"keywords": "MistypedCDATASection", +"url": "pmd_rules_xml_errorprone.html#mistypedcdatasection", "summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." } @@ -4531,11 +4531,11 @@ { -"title": "Java Server Pages Rules", -"tags": "rule_referencesjsp", +"title": "JSP Support", +"tags": "", "keywords": "", -"url": "pmd_rules_jsp.html", -"summary": "Index of all built-in rules available for Java Server Pages" +"url": "pmd_languages_jsp.html", +"summary": "" } @@ -4547,11 +4547,11 @@ { -"title": "JSP Support", -"tags": "", +"title": "Java Server Pages Rules", +"tags": "rule_referencesjsp", "keywords": "", -"url": "pmd_languages_jsp.html", -"summary": "" +"url": "pmd_rules_jsp.html", +"summary": "Index of all built-in rules available for Java Server Pages" } @@ -5244,6 +5244,15 @@ } , +{ +"title": "EagerlyLoadedDescribeSObjectResult (Apex, Performance)", +"tags": "", +"keywords": "EagerlyLoadedDescribeSObjectResult", +"url": "pmd_rules_apex_performance.html#eagerlyloadeddescribesobjectresult", +"summary": "Rules that flag suboptimal code." +} +, + { "title": "OperationWithLimitsInLoop (Apex, Performance)", "tags": "", @@ -5292,11 +5301,11 @@ { -"title": "PLSQL Rules", -"tags": "rule_referencesplsql", +"title": "PLSQL", +"tags": "", "keywords": "", -"url": "pmd_rules_plsql.html", -"summary": "Index of all built-in rules available for PLSQL" +"url": "pmd_languages_plsql.html", +"summary": "" } @@ -5308,11 +5317,11 @@ { -"title": "PLSQL", -"tags": "", +"title": "PLSQL Rules", +"tags": "rule_referencesplsql", "keywords": "", -"url": "pmd_languages_plsql.html", -"summary": "" +"url": "pmd_rules_plsql.html", +"summary": "Index of all built-in rules available for PLSQL" } @@ -5468,11 +5477,11 @@ { -"title": "Rule guidelines", -"tags": "extendinguserdocs", +"title": "Guidelines for standard rules", +"tags": "devdocsextending", "keywords": "", -"url": "pmd_userdocs_extending_rule_guidelines.html", -"summary": "Rule Guidelines, or the last touches to a rule" +"url": "pmd_devdocs_major_rule_guidelines.html", +"summary": "Guidelines for rules that are included in the standard distribution" } @@ -5484,11 +5493,11 @@ { -"title": "Guidelines for standard rules", -"tags": "devdocsextending", +"title": "Rule guidelines", +"tags": "extendinguserdocs", "keywords": "", -"url": "pmd_devdocs_major_rule_guidelines.html", -"summary": "Guidelines for rules that are included in the standard distribution" +"url": "pmd_userdocs_extending_rule_guidelines.html", +"summary": "Rule Guidelines, or the last touches to a rule" } @@ -5519,44 +5528,6 @@ -{ -"title": "Security (Java Server Pages, Security)", -"tags": "", -"keywords": "Security", -"url": "pmd_rules_jsp_security.html#security", -"summary": "Rules that flag potential security flaws." -} -, - -{ -"title": "IframeMissingSrcAttribute (Java Server Pages, Security)", -"tags": "", -"keywords": "IframeMissingSrcAttribute", -"url": "pmd_rules_jsp_security.html#iframemissingsrcattribute", -"summary": "Rules that flag potential security flaws." -} -, - -{ -"title": "NoUnsanitizedJSPExpression (Java Server Pages, Security)", -"tags": "", -"keywords": "NoUnsanitizedJSPExpression", -"url": "pmd_rules_jsp_security.html#nounsanitizedjspexpression", -"summary": "Rules that flag potential security flaws." -} - - - - - -, - - - - - - - { "title": "Security (Salesforce VisualForce, Security)", "tags": "", @@ -5642,6 +5613,44 @@ +{ +"title": "Security (Java Server Pages, Security)", +"tags": "", +"keywords": "Security", +"url": "pmd_rules_jsp_security.html#security", +"summary": "Rules that flag potential security flaws." +} +, + +{ +"title": "IframeMissingSrcAttribute (Java Server Pages, Security)", +"tags": "", +"keywords": "IframeMissingSrcAttribute", +"url": "pmd_rules_jsp_security.html#iframemissingsrcattribute", +"summary": "Rules that flag potential security flaws." +} +, + +{ +"title": "NoUnsanitizedJSPExpression (Java Server Pages, Security)", +"tags": "", +"keywords": "NoUnsanitizedJSPExpression", +"url": "pmd_rules_jsp_security.html#nounsanitizedjspexpression", +"summary": "Rules that flag potential security flaws." +} + + + + + +, + + + + + + + { "title": "Security (Apex, Security)", "tags": "", diff --git a/sitemap.xml b/sitemap.xml index d7b636b981..2f776a10e2 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -55,48 +55,48 @@ - - https://pmd.github.io/pmd/pmd_rules_modelica_bestpractices.html - - - - - - https://pmd.github.io/pmd/pmd_rules_vm_bestpractices.html - - - - - - https://pmd.github.io/pmd/pmd_rules_jsp_bestpractices.html - - - - https://pmd.github.io/pmd/pmd_rules_java_bestpractices.html - - https://pmd.github.io/pmd/pmd_rules_apex_bestpractices.html - - - - https://pmd.github.io/pmd/pmd_rules_ecmascript_bestpractices.html + + https://pmd.github.io/pmd/pmd_rules_modelica_bestpractices.html + + + + + + https://pmd.github.io/pmd/pmd_rules_jsp_bestpractices.html + + + + https://pmd.github.io/pmd/pmd_rules_plsql_bestpractices.html + + https://pmd.github.io/pmd/pmd_rules_apex_bestpractices.html + + + + + + https://pmd.github.io/pmd/pmd_rules_vm_bestpractices.html + + + + https://pmd.github.io/pmd/pmd_devdocs_building.html @@ -115,24 +115,12 @@ - - https://pmd.github.io/pmd/pmd_rules_jsp_codestyle.html - - - - https://pmd.github.io/pmd/pmd_rules_java_codestyle.html - - https://pmd.github.io/pmd/pmd_rules_apex_codestyle.html - - - - https://pmd.github.io/pmd/pmd_rules_ecmascript_codestyle.html @@ -140,7 +128,7 @@ - https://pmd.github.io/pmd/pmd_rules_xsl_codestyle.html + https://pmd.github.io/pmd/pmd_rules_jsp_codestyle.html @@ -151,6 +139,18 @@ + + https://pmd.github.io/pmd/pmd_rules_apex_codestyle.html + + + + + + https://pmd.github.io/pmd/pmd_rules_xsl_codestyle.html + + + + https://pmd.github.io/pmd/pmd_userdocs_configuring_rules.html @@ -182,7 +182,7 @@ - https://pmd.github.io/pmd/pmd_rules_vm_design.html + https://pmd.github.io/pmd/pmd_rules_java_design.html @@ -194,7 +194,7 @@ - https://pmd.github.io/pmd/pmd_rules_java_design.html + https://pmd.github.io/pmd/pmd_rules_plsql_design.html @@ -206,7 +206,7 @@ - https://pmd.github.io/pmd/pmd_rules_plsql_design.html + https://pmd.github.io/pmd/pmd_rules_vm_design.html @@ -241,54 +241,54 @@ - - https://pmd.github.io/pmd/pmd_rules_xml_errorprone.html - - - - - - https://pmd.github.io/pmd/pmd_rules_vm_errorprone.html - - - - - - https://pmd.github.io/pmd/pmd_rules_jsp_errorprone.html - - - - - - https://pmd.github.io/pmd/pmd_rules_pom_errorprone.html - - - - https://pmd.github.io/pmd/pmd_rules_java_errorprone.html - - https://pmd.github.io/pmd/pmd_rules_apex_errorprone.html - - - - https://pmd.github.io/pmd/pmd_rules_ecmascript_errorprone.html + + https://pmd.github.io/pmd/pmd_rules_jsp_errorprone.html + + + + https://pmd.github.io/pmd/pmd_rules_plsql_errorprone.html + + https://pmd.github.io/pmd/pmd_rules_apex_errorprone.html + + + + + + https://pmd.github.io/pmd/pmd_rules_pom_errorprone.html + + + + + + https://pmd.github.io/pmd/pmd_rules_vm_errorprone.html + + + + + + https://pmd.github.io/pmd/pmd_rules_xml_errorprone.html + + + + https://pmd.github.io/pmd/pmd_projectdocs_faq.html @@ -358,13 +358,13 @@ - https://pmd.github.io/pmd/pmd_rules_jsp.html + https://pmd.github.io/pmd/pmd_languages_jsp.html - https://pmd.github.io/pmd/pmd_languages_jsp.html + https://pmd.github.io/pmd/pmd_rules_jsp.html @@ -472,13 +472,13 @@ - https://pmd.github.io/pmd/pmd_rules_plsql.html + https://pmd.github.io/pmd/pmd_languages_plsql.html - https://pmd.github.io/pmd/pmd_languages_plsql.html + https://pmd.github.io/pmd/pmd_rules_plsql.html @@ -538,13 +538,13 @@ - https://pmd.github.io/pmd/pmd_userdocs_extending_rule_guidelines.html + https://pmd.github.io/pmd/pmd_devdocs_major_rule_guidelines.html - https://pmd.github.io/pmd/pmd_devdocs_major_rule_guidelines.html + https://pmd.github.io/pmd/pmd_userdocs_extending_rule_guidelines.html @@ -557,12 +557,6 @@ - - https://pmd.github.io/pmd/pmd_rules_jsp_security.html - - - - https://pmd.github.io/pmd/pmd_rules_vf_security.html @@ -575,6 +569,12 @@ + + https://pmd.github.io/pmd/pmd_rules_jsp_security.html + + + + https://pmd.github.io/pmd/pmd_rules_apex_security.html diff --git a/tag_devdocs.html b/tag_devdocs.html index e064abe1fe..487d08412e 100644 --- a/tag_devdocs.html +++ b/tag_devdocs.html @@ -1686,12 +1686,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1748,12 +1748,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1807,12 +1807,6 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - - -
    Guidelines for standard rules Page @@ -1830,6 +1824,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 + + + + + + @@ -1972,7 +1972,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_extending.html b/tag_extending.html index 6c78ac7d8e..6b7fff12af 100644 --- a/tag_extending.html +++ b/tag_extending.html @@ -1686,12 +1686,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1754,12 +1754,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1790,18 +1790,6 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - - - - Rule guidelines - Page - Rule Guidelines, or the last touches to a rule - - - @@ -1819,6 +1807,18 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 + + Rule guidelines + Page + Rule Guidelines, or the last touches to a rule + + + + + + + + @@ -1996,7 +1996,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_getting_started.html b/tag_getting_started.html index 3236d8258e..0f8d4c647f 100644 --- a/tag_getting_started.html +++ b/tag_getting_started.html @@ -1656,12 +1656,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1724,12 +1724,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1924,7 +1924,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_languages.html b/tag_languages.html index 9a4ab1a4f1..e53e83918e 100644 --- a/tag_languages.html +++ b/tag_languages.html @@ -1644,12 +1644,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1706,12 +1706,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1900,7 +1900,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_metrics.html b/tag_metrics.html index d27e826c58..08790a5b6f 100644 --- a/tag_metrics.html +++ b/tag_metrics.html @@ -1662,12 +1662,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1730,12 +1730,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1924,7 +1924,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_release_notes.html b/tag_release_notes.html index 882a121727..e0bb41946d 100644 --- a/tag_release_notes.html +++ b/tag_release_notes.html @@ -1644,12 +1644,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1706,12 +1706,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1900,7 +1900,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_rule_references.html b/tag_rule_references.html index 600d00fbac..91d6812ceb 100644 --- a/tag_rule_references.html +++ b/tag_rule_references.html @@ -1662,6 +1662,8 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 + + Java Server Pages Rules @@ -1678,8 +1680,6 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - @@ -1733,6 +1733,8 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 + + @@ -1748,8 +1750,6 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - @@ -1972,7 +1972,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_tools.html b/tag_tools.html index 2093222416..b5c71d7f69 100644 --- a/tag_tools.html +++ b/tag_tools.html @@ -1668,12 +1668,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1736,12 +1736,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1936,7 +1936,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_troubleshooting.html b/tag_troubleshooting.html index fb12cef31b..14e38144ad 100644 --- a/tag_troubleshooting.html +++ b/tag_troubleshooting.html @@ -1644,12 +1644,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1706,12 +1706,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1900,7 +1900,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_userdocs.html b/tag_userdocs.html index 0c6bb761fc..4ab029f6f0 100644 --- a/tag_userdocs.html +++ b/tag_userdocs.html @@ -1722,12 +1722,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1802,12 +1802,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - - - + + + + @@ -1851,18 +1851,18 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3 - - Rule guidelines - Page - Rule Guidelines, or the last touches to a rule - - + + Rule guidelines + Page + Rule Guidelines, or the last touches to a rule + + @@ -2056,7 +2056,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3