forbidden-apis VS gradle-errorprone-plugin

Compare forbidden-apis vs gradle-errorprone-plugin and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
forbidden-apis gradle-errorprone-plugin
4 1
313 347
0.3% -
6.5 6.0
24 days ago 9 days ago
Java Kotlin
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

forbidden-apis

Posts with mentions or reviews of forbidden-apis. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-09.
  • Stop Using Utcnow and Utcfromtimestamp
    3 projects | news.ycombinator.com | 9 Oct 2022
    > All this stuff would be a lot easier if timezones always had to be stated explicitly.

    On Java, you can use the forbidden-apis build plugin (https://github.com/policeman-tools/forbidden-apis) to fail the build whenever a timezone or locale or charset is not specified explicitly (it forbids the methods from the Java API which use an implicit timezone/locale/charset). I don't know whether there's something similar for Python; it might be harder because Python is much more dynamic (though it might be possible to use monkeypatching to warn whenever the bad methods are used).

  • Decluttering Google Guava
    7 projects | /r/java | 19 Jun 2022
    Is https://github.com/policeman-tools/forbidden-apis something that might help you in the interim?
  • What are some useful static analyzers for Java?
    9 projects | /r/java | 2 Jan 2022
    Besides the classic pmd/stopbugs/jacoco/owasp, a favorite of mine is forbidden-apis.

gradle-errorprone-plugin

Posts with mentions or reviews of gradle-errorprone-plugin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-02.

What are some alternatives?

When comparing forbidden-apis and gradle-errorprone-plugin you can also consider the following projects:

jreleaser - :rocket: Release projects quickly and easily with JReleaser

playforia-minigolf - Client & Server for Minigolf Game known from Playforia/Playray/Appeli. Written in Java.

Spotbugs - SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.

find-sec-bugs - The SpotBugs plugin for security audits of Java web applications and Android applications. (Also work with Kotlin, Groovy and Scala projects)

rewrite - Automated mass refactoring of source code.

fb-contrib - a FindBugs/SpotBugs plugin for doing static code analysis for java code bases

Checkstyle - Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

NullAway - A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead

PMD - An extensible multilanguage static code analyzer.

findbugs-slf4j - A SpotBugs/FindBugs plugin to verify usage of SLF4J