Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
com.signalfx.public:pmd-biased-language
Advanced tools
PMD rules for detecting the use of racially charged or biased language
This repository contains a PMD RuleSet for detecting and preventing the use of racially charged or biased language in Java codebases.
Use the maven-pmd-plugin
and include this ruleset (and its dependency
on the com.signalfx.public:pmd-biased-language
artifact) in your
plugin configuration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.13.0</version>
<executions>
<execution>
<id>pmd-test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.signalfx.public</groupId>
<artifactId>pmd-biased-language</artifactId>
<version>1.0.1</version>
</dependency>
</dependencies>
<configuration>
<rulesets>
<ruleset>pmd-biased-language/pmd.xml</ruleset>
</rulesets>
<excludeRoots>
<excludeRoot>target/generated-sources</excludeRoot>
</excludeRoots>
<includeTests>true</includeTests>
<linkXRef>false</linkXRef>
<printFailingErrors>true</printFailingErrors>
</configuration>
</plugin>
The default priority of the rules in this ruleset is 3, like most PMD
rules. PMD also uses a default failurePriority
of 5, meaning all rules
fail your build. If you want to use this ruleset as a warning only, you
can override the priority of its rules to 5:
<rule ref="pmd-biased-language/pmd.xml">
<priority>5</priority>
</rule>
And set <failurePriority>4</failurePriority>
in the configuration of
your maven-pmd-plugin
execution.
This PMD ruleset, its rule definitions, and the rule implementations that it contains, are all released under the terms of the Apache Software License 2.0.
$ mvn -DperformRelease=true clean deploy
pom.xml
file$ mvn -DperformRelease=true clean deploy -P release
pom.xml
file again to go to the next snapshot version.FAQs
PMD rules for detecting the use of racially charged or biased language
We found that com.signalfx.public:pmd-biased-language demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.