forbidden-apis
findbugs-slf4j
Our great sponsors
forbidden-apis | findbugs-slf4j | |
---|---|---|
4 | 1 | |
313 | 73 | |
0.3% | - | |
6.5 | 0.0 | |
about 1 month ago | about 1 year ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
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
-
Stop Using Utcnow and Utcfromtimestamp
> 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
Is https://github.com/policeman-tools/forbidden-apis something that might help you in the interim?
-
What are some useful static analyzers for Java?
Besides the classic pmd/stopbugs/jacoco/owasp, a favorite of mine is forbidden-apis.
-
Retrofit Java
Regarding the "deleting them if not necessary any or are deprecated or do not make sense anymore ", something you can use today is this nice maven plugin:forbidden-apis.
findbugs-slf4j
-
What are some useful static analyzers for Java?
SpotBugs have a lot of extensions such as https://find-sec-bugs.github.io/ https://github.com/KengoTODA/findbugs-slf4j and more, I recommend adding them as well
What are some alternatives?
jreleaser - :rocket: Release projects quickly and easily with JReleaser
gradle-errorprone-plugin - Gradle plugin to use the error-prone compiler for Java
NullAway - A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead
playforia-minigolf - Client & Server for Minigolf Game known from Playforia/Playray/Appeli. Written in Java.
fb-contrib - a FindBugs/SpotBugs plugin for doing static code analysis for java code bases
find-sec-bugs - The SpotBugs plugin for security audits of Java web applications and Android applications. (Also work with Kotlin, Groovy and Scala projects)
Spotbugs - SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.
rewrite - Automated mass refactoring of source code.
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.