遵循以下最佳实践的项目将能够自愿的自我认证,并显示他们已经实现了核心基础设施计划(OpenSSF)徽章。 显示详细资料
[](https://www.bestpractices.dev/projects/7199)
<a href="https://www.bestpractices.dev/projects/7199"><img src="https://www.bestpractices.dev/projects/7199/badge"></a>
Error Prone extensions: extra bug checkers and a large battery of Refaster rules.
The project is hosted on GitHub, which uses Git. Git is distributed. Repository on GitHub, which uses git. git is distributed.
The project can be tested using Apache Maven's canonical mvn test and mvn install commands: https://github.com/PicnicSupermarket/error-prone-support#-developing-error-prone-support.
mvn test
mvn install
The project has has a continuous integration setup using GitHub Actions that runs all tests, static analysis and a "self check"; this CI setup is active for both pull requests and merged changes: https://github.com/PicnicSupermarket/error-prone-support/blob/master/.github/workflows/build.yaml.
// X-Content-Type-Options was not set to "nosniff".
Coverage of changes introduced by a pull request is validated by means of Pitest, a mutation testing library, and as a result the code has very high branch coverage: https://github.com/PicnicSupermarket/error-prone-support/tree/master/.github/workflows, https://sonarcloud.io/component_measures?metric=branch_coverage&id=PicnicSupermarket_error-prone-support.
The project code contains checkState, verify, checkArgument and requireNotNull checks where relevant. Coverage of changes introduced by a pull request is validated by means of Pitest, a mutation testing library, and changes are only merged if all conditions that can reasonably be covered, are: https://github.com/PicnicSupermarket/error-prone-support/tree/master/.github/workflows, https://sonarcloud.io/component_measures?metric=branch_coverage&id=PicnicSupermarket_error-prone-support.
checkState
verify
checkArgument
requireNotNull
后退