PMD-jPinpoint-rules
PMD-jPinpoint-rules copied to clipboard
PMD rule set for performance aware Java coding
Bumps [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java) from 1.76 to 1.78. Changelog Sourced from org.bouncycastle:bcprov-jdk18on's changelog. 2.1.1 Version Date: 2024, TBD. 2.2.1 Version Date: 2024, 18th April. 2.3.1 Version Release: 1.78 Date: 2024, 7th April....
Rules currently have only 'jpinpoint-rules' as tag in Sonar. As an eco interested user I want to be able to see which rules have an eco/ green effect. Also a...
First addition. Question: if `XPathAPI.eval(doc, "//...")` is used: is also bad? The test case is now only `XPathAPI.eval(doc, "/...")` is _not_ bad.
Works on basic unit tests. Should we create more unit tests to avoid false positives and add more Kotlin syntaxes?
As decribed in the async section: https://github.com/jborgers/PMD-jPinpoint-rules/blob/master/docs/JavaCodePerformance.md#improper-asynchrony Can we make rules to check on new ThreadPoolTaskExector() without sizes being set (default constructor is effectively a single threaded pool). We can...
Evaluate if rule can be useful, the complexity, if used by sponsors, the importance and if already available. Part of #185
Following example: ``` public class PoolingHttpClientConnectionManagerFactory extends AbstractFactoryBean { private Registry registry; private ConnectionProperties connectionProperties; private PoolingHttpClientConnectionManager poolingHttpClientConnectionManager; public PoolingHttpClientConnectionManagerFactory(Registry registry, ConnectionProperties connectionProperties) { this.registry = registry; this.connectionProperties = connectionProperties;...
This is with latest pmd-7.0.0-SNAPSHOT build with Kotlin support: For this code: fun getSomething(): Something { return Something(Other.create()) } The Kotlin HttpClientBuilderWithoutDisableConnectionState fails with XPathException: Effective boolean value is not...
We need proper equals/hashCode of SimpleKey params, an informative rule when using custom types (we cannot determine if they have them properly)