From cebeca467f4e575c967797f38b5cf9402c514ac1 Mon Sep 17 00:00:00 2001 From: Claudecio Martins Date: Tue, 20 Oct 2026 14:33:29 -0300 Subject: [PATCH] test(coverage): add jacoco check thresholds and update spotbugs filter --- config/spotbugs/exclude.xml | 147 ++++++++++++++++++++++++++++++++- modules/cybercore-app/pom.xml | 33 ++++++++ modules/cybercore-core/pom.xml | 37 +++++++++ modules/cybercore-ui/pom.xml | 37 +++++++++ 4 files changed, 251 insertions(+), 3 deletions(-) diff --git a/config/spotbugs/exclude.xml b/config/spotbugs/exclude.xml index e3949df..4fa3fa6 100644 --- a/config/spotbugs/exclude.xml +++ b/config/spotbugs/exclude.xml @@ -1,6 +1,6 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/cybercore-app/pom.xml b/modules/cybercore-app/pom.xml index 5cb16cd..d83b40d 100644 --- a/modules/cybercore-app/pom.xml +++ b/modules/cybercore-app/pom.xml @@ -157,6 +157,39 @@ + + + org.jacoco + jacoco-maven-plugin + + + jacoco-check + verify + + check + + + + + BUNDLE + + + LINE + COVEREDRATIO + 0.70 + + + BRANCH + COVEREDRATIO + 0.45 + + + + + + + + diff --git a/modules/cybercore-core/pom.xml b/modules/cybercore-core/pom.xml index b4388fc..90dad3b 100644 --- a/modules/cybercore-core/pom.xml +++ b/modules/cybercore-core/pom.xml @@ -61,4 +61,41 @@ test + + + + + org.jacoco + jacoco-maven-plugin + + + jacoco-check + verify + + check + + + + + BUNDLE + + + LINE + COVEREDRATIO + 0.60 + + + BRANCH + COVEREDRATIO + 0.40 + + + + + + + + + + diff --git a/modules/cybercore-ui/pom.xml b/modules/cybercore-ui/pom.xml index dd7fc5f..8a01074 100644 --- a/modules/cybercore-ui/pom.xml +++ b/modules/cybercore-ui/pom.xml @@ -53,4 +53,41 @@ test + + + + + org.jacoco + jacoco-maven-plugin + + + jacoco-check + verify + + check + + + + + BUNDLE + + + LINE + COVEREDRATIO + 0.05 + + + INSTRUCTION + COVEREDRATIO + 0.05 + + + + + + + + + +