-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Для контроля качества кода предлагаю добавить индикативное (non-fail) сканирование проекта через spotbugs-maven-plugin с конфигурацией
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<FindBugsFilter>
<!-- http://spotbugs.readthedocs.io/en/latest/filter.html -->
<Match>
<Bug pattern="NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION"/>
</Match>
<Match>
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
</Match>
<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
</Match>
<Match>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<Match>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<Match>
<Bug pattern="EI_EXPOSE_STATIC_REP2"/>
</Match>
<Match>
<Bug pattern="MS_EXPOSE_REP"/>
</Match>
</FindBugsFilter>Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request