Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 1021 Bytes

error-prone.md

File metadata and controls

35 lines (19 loc) · 1021 Bytes

Error Prone

Description

  • Error Prone: Detecta (y corrige) errores comunes en Java durante la compilación.

  • Modulo errorprone-bugpatterns con un paquete de reglas customizadas lista para utilizar

Se incluyen 3 perfiles en este pom para usar error prone:

  • error-prone-warn: Print all the finding as warnings
  • error-prone: Normal execution to find the bugs specified in the configuration
  • patch: Apply fixes automatically to the bugs found

Build

mvn clean install -f quality-rules/errorprone-bugpatterns/pom.xml

Usage

mvn clean compile -Perror-prone-warn

mvn clean compile -Perror-prone

mvn clean compile -Ppatch

Customisation

Write your own BugChecker

Useful links