Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pmd/pmd

An extensible multilanguage static code analyzer.
https://github.com/pmd/pmd

Merge pull request #4397 from oowekyala:clem.pmd7-refactor-cpd

[core] Refactor CPD #4397

056b339eb42bb7107a482273396d448087122994 authored over 1 year ago by Andreas Dangel <[email protected]>
Merge branch 'master' into issue-2847-new-rule-explicit-types

5d873fd241eb4e54e19204f4f107a95a22a2db4b authored over 1 year ago by Andreas Dangel <[email protected]>
[java] UseExplicitTypes - move to category codestyle

e33be0ba488605a10121371d59206e30fad1c5e3 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] UseExplicitTypes - improve rule documentation

34cd92c55ef64e7548f90db8d1406595b87e3138 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Release notes (#4397)

fc0b3ad1456332d09852d375c76c9b363d41d5f8 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Release notes and API changes (#3919, #4204, #4323, #4397)

f65a7cb45031a3034b26ec092e940886cc86d7eb authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] CPD Language Properties

ad4a19fbe2b3b6db612d49ada6e40b82596a4866 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Update CPD supported languages

a2765a17f02f8cd784775f001342381b616b58ef authored over 1 year ago by Andreas Dangel <[email protected]>
Add correct tokenizers for vm, pom, wsdl and xsl

1aefe472c3000075b2a2fefa4368b992bbefc933 authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Fix potential NPE in SourceManager

when SoftReferences have been freed.

c1109b48fa77519d54d06c10bbede1edcccec619 authored over 1 year ago by Andreas Dangel <[email protected]>
[core] CPD GUI - fix empty SourceManager

- Introduce ExitAction
- Sort languages by name

908f48070249e85194986a25ed23843fc7c3c221 authored over 1 year ago by Andreas Dangel <[email protected]>
All language modules: getInstance()

Use a consistent implementation of getInstance().
Now all modules resolve against the LanguageRe...

32afa53f8e586003336d4e3dd880f939df9d252f authored over 1 year ago by Andreas Dangel <[email protected]>
Fix checkstyle

80856732ccea260ac11a87ffd40bd79fcd5ebd78 authored over 1 year ago by Andreas Dangel <[email protected]>
[php] Recognize "//" as eol comment

41ff4beb2bd7319dc700cdbe1b462e97f8828be0 authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Move PmdCapableLanguage to n.sf.pmd.lang

8511c7b0e1344ee6d32929ae79b9db23fa98c3bf authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Add minimal javadoc for CpdAnalysis

6298d87e71d66d2bc908a7d9ec61843eb1be240c authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Create CpdLanguageProperties

681c52836c5acf19d39c183cf90f3f18c104d7b1 authored over 1 year ago by Andreas Dangel <[email protected]>
Merge branch 'master' into pr-4397

932ac33d15e5a5ceccdc246c5a0a3e4ed0f93387 authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Configurations - keep fields private

3984dc2493a10b275c98b5258b96ca32a94cfee3 authored over 1 year ago by Andreas Dangel <[email protected]>
[cli] Fix javadoc

5200cc9e8a5ed610a9a82c9396547ad07ca0591a authored over 1 year ago by Andreas Dangel <[email protected]>
[cli] Remove todo about slf4j

c6a63da88719d5ca4c8abaf7e8796f1c4f40a95b authored over 1 year ago by Andreas Dangel <[email protected]>
[cli] Move option "--relativize-paths-with" up to AbstractAnalysisPmdSubcommand

It applies to both PMD and CPD

67cbb947efff16ea2be29c7fd860cf5f2feeb720 authored over 1 year ago by Andreas Dangel <[email protected]>
[apex] Remove cpd property CASE_SENSITIVE

df08d0860854c9bfbfa852bc6bb048b8e7db54b7 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Mention pmd-languages-deps and module

9ce9b24f2a9e5694eff637a5b828aa56aeb2dbd8 authored over 1 year ago by Andreas Dangel <[email protected]>
Merge pull request #4380 from oowekyala:port-properties

[core] Update properties framework #4380

027fb4b9f435b00031dbc5de867ae4e3f75c3ccc authored over 1 year ago by Andreas Dangel <[email protected]>
Merge pull request #4643 from adangel/issue-4521-mobile-website

[doc] Make side fixed only for big screens

9aa81016b025511b63bc06d6ded57a09edc23c22 authored over 1 year ago by Juan Martín Sotuyo Dodero <[email protected]>
Fix Checkstyle errors by changing tab indentation to spaces

mvnw clean verify - now passes.

4151ca13f2c3d2337a382f9805b78352f102a525 authored over 1 year ago by Richard Corfield <[email protected]>
A neater set instantiation

8f190675358255186c7092e2bdc76c43aeaf20af authored over 1 year ago by Richard Corfield <[email protected]>
Remove the tests related to issue 4650

This commit will need to be reverted in 4650's branch.

2ab8447654a7610ddd8a27dcc5fb210488e256d4 authored over 1 year ago by Richard Corfield <[email protected]>
[ci] Use adjusted m-pmd-p for dogfood

10a50b8677db8d482a3cae6fdb5184483b25bb69 authored over 1 year ago by Andreas Dangel <[email protected]>
Add unit tests for the behavior I hope to see

Two of these tests are failing. It doesn't recognise constants.
I guess that it never has recogn...

bcbaffcf21020f9804924203ec3649212c7a71c8 authored over 1 year ago by Richard Corfield <[email protected]>
Add SObjectType and SObjectField to list of injectable SOQL variable types

d85a1a7cfe7efb12971317809a07d55b7c4962ee authored over 1 year ago by Richard Corfield <[email protected]>
[doc] Fix dead links

a9ed11b7be966aa7569551fe2f2185f3c357750e authored over 1 year ago by Andreas Dangel <[email protected]>
Suppress PMD warnings (UnnecessaryConstructor)

86fdc446d4391f1092f40d0e2c39edee52003346 authored over 1 year ago by Andreas Dangel <[email protected]>
Merge branch 'master' into pr-4397

894d9fba84995cddfcb4c23305f613138cfdb8a9 authored over 1 year ago by Andreas Dangel <[email protected]>
[core] revert property collection syntax <seq>

Refs #4305

24257a0207b1519eaefd5e5dba500dfb06c250cc authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Support min/max as property constraints in RuleSetWriter

Refs #1204

5846666dba6f5f213a320074fddc677bb959cd51 authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Add tests in RuleSetFactoryMessages

- moved deprecated delimiter test to messages
- added value as attribute and tag test

5eea2f3e949e36dba16d4365b5a3474f4c172e5a authored over 1 year ago by Andreas Dangel <[email protected]>
[core] NumericConstraints - add tests for above/below

79d6e8bc48318121b6f6e176d2124aaf1912c56d authored over 1 year ago by Andreas Dangel <[email protected]>
[core] PropertyDescriptor - remove deprecated methods

Update tests and usages for valueFrom/asDelimitedString

3ea4031d0ee2abf65a6f6b757ebb908a95cee364 authored over 1 year ago by Andreas Dangel <[email protected]>
[ci] Update Dangerfile - fix link to download regression report

[skip ci]

8681e8d7f93dc3e33647a8daf1cd610edb21581d authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Minor refactorings

ea11fcda54639f4d4396c48d91fbfe931725c316 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Update release notes (rule properties)

#1204 #4301 #4302 #4303

28c017ca8affa47b100b627ee599b30dbc3cabe4 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Update doc about (rule) properties

Refs #4303

67fac20ac723a2a85a9f2f169f6e675f3b759636 authored over 1 year ago by Andreas Dangel <[email protected]>
[ci] Stop uploading regression tester record to chunk.io

faa2d0ae563db058cb5dab281317f9d01b263189 authored over 1 year ago by Andreas Dangel <[email protected]>
Merge branch 'master' into pr-4380

b73611f0133473e12ce26d0554067797ae529684 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Make side fixed only for big screens

Also wrap the inline-toc in an accordion to
save some space.
Remove some of the unneeded javascr...

f980c1f17bac399cf31bbd0decbbb3d85cce1b22 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Add JDK21 to the build for integration testing

Note: This is using 21-ea for now

a93c8f2b7bd526209be1826d1f368c4ecb1d9c1f authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Update release notes (JDK 21 Support)

99948c8fb69edb229849ffd325db29f31ab4a461 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Avoid using Thread.fillInStackTrace() for token context

This requires to use the option TOKEN_MANAGER_USES_PARSER

41643dd020dd83016e68fac5f0655a5342ba0883 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Fix CPD tests, use latest java version

Now the files need to be syntactically valid java sources.

d061883ca6feb85e352ca468b186cb22fd4f1383 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Fix more parsing errors after supporting String Templates

000f2e86fd057f555eb9a4724601de0369f47aba authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Support Unnamed Classes and Instance Main Methods for Java 21 Preview

JEP 445

f4c86b25ae06002288ccc581eddf5ab7cc710c31 authored over 1 year ago by Andreas Dangel <[email protected]>
Fix code duplication

38a5e827e95f4e9450d14fe13fcdaf8dc8999013 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Fix Tokenizer for CPD after supporting String Templates

630626ca82a4798d8205b57a7eb9c9e3ede04756 authored over 1 year ago by Andreas Dangel <[email protected]>
Fix pmd-dist tests

c2710c9a9146cc48433d54d7e73ba630659d802f authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Support Unnamed Patterns and Variables for Java 21 Preview

JEP 443

216dd094059fecb2987a6fa0f003e7c71d868d64 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Support String Templates for Java 21 Preview

JEP 430

715d58fef3dd9b343384d5c61ee37a5df886ed85 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Update tests for java 21

Only Pattern Matching for switch

05d55d0d7af48dbcab557384a0bf1aaabe083ab0 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Update impl for pattern matching for switch for java 21

- renamed ASTSwitchGuard to ASTGuard

3bdb921548347b9860b48ee6147e557594d4d78d authored over 1 year ago by Andreas Dangel <[email protected]>
Fix checkstyle

b5d00b7e422eb2026863e37d6a4c4f3d95036747 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Update impl for record patterns for java 21

- renamed ASTComponentPatternList to ASTPatternList

2488107b232514d04484c866ef21da8f91ae7aba authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Remove version java 19-preview

9fa7565807f95e99df0fe757556a11140773ff1d authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Add tests for java 21-preview

Copied from 20-preview

0ea6336044ffa7973d96453bfd3343ec546867d8 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Bump asm from 9.4 to 9.5

0566eedfb42a389cf68cb99b4baeee50ac4f7652 authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Add new versions 21 and 21-preview

0cd0b40edeb1100274371f30bfde3ac935894dd1 authored over 1 year ago by Andreas Dangel <[email protected]>
Bump maven from 3.9.2 to 3.9.4

2b0cadf0ed8ba29fd7207df61c4f08b13f375279 authored over 1 year ago by Andreas Dangel <[email protected]>
Bump cyclonedx-maven-plugin from 2.7.6 to 2.7.9

510608f9af6d45ce9eda7678d4123be4d2c31a65 authored over 1 year ago by Andreas Dangel <[email protected]>
Update pmd-dist/src/main/resources/scripts/pmd

Co-authored-by: Juan Martín Sotuyo Dodero <[email protected]>

56ae02ad3547e80dc082624a9f38c42e4c45aa7f authored over 1 year ago by Shai Bennathan <[email protected]>
Issue: Launch failure via bin/bash

Currently if run.sh is launched via 'bin/bash run.sh', when run.sh is not in the local directory...

295ee304a49539597e351a88b25adb7328e3bbd3 authored over 1 year ago by Shai Bennathan <[email protected]>
Merge pull request #4637 from krdabrowski:fix-4634

[java] fix #4634 - JUnit4TestShouldUseTestAnnotation false positive with TestNG #4637

1021b3b7d4addb2ac2b5229124eb7ff1524337a7 authored over 1 year ago by Andreas Dangel <[email protected]>
Add @krdabrowski as a contributor

7b5a70e3c72a5d87dfaf91e79f31f05f68d0fc3d authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Update release notes (#4637, #4634)

8523adc53b7956b01e13ed3184d2a79af1184f58 authored over 1 year ago by Andreas Dangel <[email protected]>
Refs https://github.com/pmd/pmd/issues/4634

- fix the JUnit4TestShouldUseTestAnnotation rule for TestNG,
- add test
- update changelog

91d7cc2f214fdf673517b57a8869995cdc57904e authored over 1 year ago by Krystian Dabrowski <[email protected]>
Fix line/col numbers in TokenMgrError

Ref #4635

Col number of zero may happen when the error is reported
on a newline. In the rest of...

310f68aa52a0a989434e33acf1a0fb564d1ca488 authored over 1 year ago by Clément Fournier <[email protected]>
Update migration guide (Final touches)

- Final touches

a065600e48601a3cf7ea25ad9fe914f97222cbe7 authored over 1 year ago by Andreas Dangel <[email protected]>
Update migration guide (Java AST)

- Final touches for Java AST changes:
add jdoc links, add details collapsible
- Move info from r...

55f74601ed56799eef1b71414e6dff7a33874b07 authored over 1 year ago by Andreas Dangel <[email protected]>
Update migration guide (Language versions, Build Tools)

- Language versions
- Build Tools

41964fe6b204e77d801fcee2bbb35b55b4a851e9 authored over 1 year ago by Andreas Dangel <[email protected]>
Update migration guide

- Extending PMD
- Release downloads
- CLI changes
- Custom distributions
- Rule Tests
- CPD endc...

cb493bb53758cdcb40b6e8586347e8309d335610 authored over 1 year ago by Andreas Dangel <[email protected]>
Apply suggestions from review

Co-authored-by: Juan Martín Sotuyo Dodero <[email protected]>

5813391a9871785994e2495088dbd8dba5d2277e authored over 1 year ago by Andreas Dangel <[email protected]>
[java] Update JavaDesignerBindings: Expose Operator as main attribute

for AssignmentExpression and UnaryExpression

6f278c4a4226723b0777a4f23f99d40d1da32b70 authored over 1 year ago by Andreas Dangel <[email protected]>
Update migration guide (Java AST: Expressions)

- Field access, array access, variable access
- this/super expressions
- type expressions
- meth...

0bc59a818a6e1cb449a90c8d6778bf152c90eebd authored over 1 year ago by Andreas Dangel <[email protected]>
Improve stats reporting

5355594b5109ac946316b596a10cffd8dcfb11ed authored over 1 year ago by Clément Fournier <[email protected]>
Add close routines for class stubs

644f85836b848c373f8c4dccdd7ebff9032f8e15 authored over 1 year ago by Clément Fournier <[email protected]>
Update migration guide (Java AST: Expressions)

Literals, Method calls, Constructor calls

3164e93e948251b35e649d37b9475c98d6830025 authored over 1 year ago by Andreas Dangel <[email protected]>
Update migration guide (Java AST: Statements)

b53214e9c6d19030416c9b10aa6d0d64d255ef94 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Update release notes (#4628) [skip ci]

c4df61d257e9398c9664c17f31a5e52585adc9cb authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Add a note for aux classpath missing doc

05668150b10b6d0eefd655141730ad417a14a91d authored over 1 year ago by Andreas Dangel <[email protected]>
Fix StringIndexOutOfBoundsException for default packages

ec2882a4f3499e7ca0783b870f7991391ffe5eb3 authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Support loading classes from runtime images

That's one missing piece to support running PMD on a different JRE
than the one used for analyzi...

1fcb1077d037acd21b9238d9eb7a4e6b521d7fcf authored over 1 year ago by Andreas Dangel <[email protected]>
Merge pull request #4621 from oowekyala:issue4620-classloading-child-first

[core] Make ClasspathClassLoader::getResource child first #4621

3e2de671907a2b2984880e50105072fd6c26116c authored over 1 year ago by Andreas Dangel <[email protected]>
Simplify test case

42aee1d3d841e2c63aa9ce8662b3c41ccf387ff2 authored over 1 year ago by Andreas Dangel <[email protected]>
[doc] Update release notes - removed apex rules

3a6fe3d507ed7685a148b8c390fbad9e66138856 authored over 1 year ago by Andreas Dangel <[email protected]>
Update migration guide (Java AST: Flattened Statements)

43948893e31f6062c5791b31430157e173b3d5e4 authored over 1 year ago by Andreas Dangel <[email protected]>
Update release notes

9673a23912b0e98e306218da02f92cf6a0c4a02b authored over 1 year ago by Clément Fournier <[email protected]>
Add test

11ca2952e5a379b6bbc94a024b5c29504d6fad1d authored over 1 year ago by Clément Fournier <[email protected]>
Make ClasspathClassLoader::getResource child first

b327c13679987f2636262c61c6ddadb2954f58df authored over 1 year ago by Clément Fournier <[email protected]>
Add tests for UseDiamondOperator

refs #4619

0557c5c85eccdb98577590e3425170e236646649 authored over 1 year ago by Clément Fournier <[email protected]>
Update migration guide (Java AST: Body declarations, Module declarations, anonymous class declarations, method and constructor declarations, formal parameters, void type)

ec201c9af6ceaad11ff542f3bc928c88bb797e78 authored over 1 year ago by Andreas Dangel <[email protected]>
[core] Deal with errors from threads in multithreading mode

If an error occurs in multithreading mode, PMD now
rethrows this. Such errors indicate a serious...

6fc45493e7a1abe1b007395c02dfa83ba7c32f26 authored over 1 year ago by Andreas Dangel <[email protected]>