Änderungen von Dokument Checkstyle u. Statische Codeanalyse

Zuletzt geändert von Celina Bock am 2025/09/17 10:43

Von Version 17.3
bearbeitet von Celina Bock
am 2025/09/17 10:37
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 16.1
bearbeitet von Celina Bock
am 2025/09/17 10:35
Änderungskommentar: Neuen Anhang gdp_checks_v10.1.xml hochladen

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -21,13 +21,6 @@
21 21  
22 22  
23 23  
24 -== Sichtbarkeit ==
25 -
26 -Die Sichtbarkeit der Chekstyle Warnings und Errors muss in der Bewertungsansicht konfiguriert w
27 -
28 -
29 -
30 -
31 31  == Entfernen von Spotbugs und PMD oder Checkstyle ==
32 32  
33 33  Beim Erstellen von Aufgaben mit statischer Code Analyse erstellt Artemis ein Projekt mit [[Checkstyle>>https://maven.apache.org/plugins/maven-checkstyle-plugin/]], [[Apache PMD>>https://maven.apache.org/plugins/maven-pmd-plugin/]] und [[Spotbugs>>https://spotbugs.github.io/spotbugs-maven-plugin/]]. Wenn eines der Tools nicht benötigt wird, muss die Dependency im Projekt gelöscht werden **und** das Build Script angepasst werden.
supression.xml
Author
... ... @@ -1,1 +1,0 @@
1 -xwiki:XWiki.id300818
Größe
... ... @@ -1,1 +1,0 @@
1 -345 bytes
Inhalt
... ... @@ -1,6 +1,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>
2 -<!DOCTYPE suppressions PUBLIC "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN" "https://checkstyle.org/dtds/suppressions_1_2.dtd">
3 -<suppressions>
4 - <suppress files=".+\.(?:png|gif|jpg|jpeg|svg|html|css|js|fxml|csv)$" checks=".*"/>
5 - <suppress files="[/\\]doc[/\\]" checks=".*"/>
6 -</suppressions>