Skip to content

Updated Version of Ai integration part in catrobat as a phd work#5182

Draft
Salah-Mct wants to merge 2 commits into
Catrobat:mainfrom
Salah-Mct:master
Draft

Updated Version of Ai integration part in catrobat as a phd work#5182
Salah-Mct wants to merge 2 commits into
Catrobat:mainfrom
Salah-Mct:master

Updated Version of Ai integration part in catrobat as a phd work

d3d6bb1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 1, 2026 in 1m 51s

Quality Gate failed

Failed conditions
2 Security Hotspots
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 33 in catroid/src/main/java/org/catrobat/catroid/content/bricks/ReadChatListFromDeviceBrick.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeYnkZ0EE30SQhpc&open=AZ1KBeYnkZ0EE30SQhpc&pullRequest=5182

Check warning on line 138 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/tracking/ObjectTracker.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the synchronized class "Vector" by an unsynchronized one such as "ArrayList" or "LinkedList".

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeh0kZ0EE30SQhrV&open=AZ1KBeh0kZ0EE30SQhrV&pullRequest=5182

Check warning on line 1 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/ml/LibSVM.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBehekZ0EE30SQhqa&open=AZ1KBehekZ0EE30SQhqa&pullRequest=5182

Check warning on line 272 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/tracking/ObjectTracker.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Cast one of the operands of this division operation to a "float".

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeh0kZ0EE30SQhrN&open=AZ1KBeh0kZ0EE30SQhrN&pullRequest=5182

Check warning on line 80 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/env/ImageUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeiIkZ0EE30SQhrg&open=AZ1KBeiIkZ0EE30SQhrg&pullRequest=5182

Check warning on line 29 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/env/FileUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "ROOT" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeihkZ0EE30SQhr5&open=AZ1KBeihkZ0EE30SQhr5&pullRequest=5182

Check warning on line 1 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/ml/BlazeFace.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBehokZ0EE30SQhrB&open=AZ1KBehokZ0EE30SQhrB&pullRequest=5182

Check warning on line 812 in catroid/src/main/java/org/catrobat/catroid/content/ActionFactory.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "scope" local variable.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeaEkZ0EE30SQhpu&open=AZ1KBeaEkZ0EE30SQhpu&pullRequest=5182

Check warning on line 109 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/env/ImageUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeiIkZ0EE30SQhrq&open=AZ1KBeiIkZ0EE30SQhrq&pullRequest=5182

Check warning on line 177 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/env/ImageUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused private "convertARGB8888ToYUV420SP" method.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeiIkZ0EE30SQhri&open=AZ1KBeiIkZ0EE30SQhri&pullRequest=5182

Check warning on line 381 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/tracking/ObjectTracker.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Cast one of the operands of this division operation to a "float".

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeh0kZ0EE30SQhrQ&open=AZ1KBeh0kZ0EE30SQhrQ&pullRequest=5182

Check warning on line 150 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/ml/BlazeFace.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBehokZ0EE30SQhqt&open=AZ1KBehokZ0EE30SQhqt&pullRequest=5182

Check warning on line 746 in catroid/src/main/java/org/catrobat/catroid/AgeGender/VisitorAnalysisActivity.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this block of code, fill it in, or add a comment explaining why it is empty.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBekKkZ0EE30SQhsp&open=AZ1KBekKkZ0EE30SQhsp&pullRequest=5182

Check warning on line 88 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/env/Size.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use isEmpty() to check whether the collection is empty or not.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeiRkZ0EE30SQhrv&open=AZ1KBeiRkZ0EE30SQhrv&pullRequest=5182

Check warning on line 402 in catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/fragment/RecyclerViewFragment.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this instance-reference to a static reference.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBecCkZ0EE30SQhpz&open=AZ1KBecCkZ0EE30SQhpz&pullRequest=5182

Check warning on line 29 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/env/FileUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make ROOT a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeihkZ0EE30SQhrz&open=AZ1KBeihkZ0EE30SQhrz&pullRequest=5182

Check warning on line 748 in catroid/src/main/java/org/catrobat/catroid/AgeGender/VisitorAnalysisActivity.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this block of code, fill it in, or add a comment explaining why it is empty.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBekKkZ0EE30SQhsr&open=AZ1KBekKkZ0EE30SQhsr&pullRequest=5182

Check warning on line 160 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/ml/BlazeFace.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBehokZ0EE30SQhqx&open=AZ1KBehokZ0EE30SQhqx&pullRequest=5182

Check warning on line 296 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/ml/BlazeFace.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBehokZ0EE30SQhq3&open=AZ1KBehokZ0EE30SQhq3&pullRequest=5182

Check warning on line 416 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/tracking/ObjectTracker.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use isEmpty() to check whether the collection is empty or not.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeh0kZ0EE30SQhra&open=AZ1KBeh0kZ0EE30SQhra&pullRequest=5182

Check warning on line 1 in catroid/src/main/java/org/catrobat/catroid/ObjectTrainAndRecognition/infer/EmbeddingKnn.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeexkZ0EE30SQhp1&open=AZ1KBeexkZ0EE30SQhp1&pullRequest=5182

Check warning on line 54 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/ml/LibSVM.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused private "scale" method.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBehekZ0EE30SQhqd&open=AZ1KBehekZ0EE30SQhqd&pullRequest=5182

Check warning on line 294 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/ml/BlazeFace.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBehokZ0EE30SQhrK&open=AZ1KBehokZ0EE30SQhrK&pullRequest=5182

Check warning on line 403 in catroid/src/main/java/org/catrobat/catroid/FaceRecognizer/tracking/ObjectTracker.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the synchronized class "Vector" by an unsynchronized one such as "ArrayList" or "LinkedList".

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBeh0kZ0EE30SQhrX&open=AZ1KBeh0kZ0EE30SQhrX&pullRequest=5182

Check warning on line 124 in catroid/src/main/java/org/catrobat/catroid/ObjectTrainAndRecognition/persist/ModelSnapshotIO.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do something with the "boolean" value returned by "delete".

See more on https://sonarcloud.io/project/issues?id=Catrobat_Catroid&issues=AZ1KBefHkZ0EE30SQhqE&open=AZ1KBefHkZ0EE30SQhqE&pullRequest=5182