Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the static code analysis tool Perfumator to all images #9

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

chrisknedl
Copy link
Contributor

@chrisknedl chrisknedl commented Aug 16, 2024

Motivation

In order to provide students with positive feedback, the tool Perfumator (https://fimgit.fim.uni-passau.de/silbereise/perfumator-java) is added to the base image and therefore all other images. It is not enough to only add the tool in the dejagnu image, since Perfumes should also be part of the static code analysis of the Software Testing course.

Technical Details

The Perfumator cannot be built with any Java version later than Java 20, and the setup guide explicitly states that Java 17 should be used, therefore we install Java 17 for the build. In the second stage of the base Dockerfile, the actual Java version and Maven are installed, and the Perfumator jar is copied from the first step to the final image.

@chrisknedl chrisknedl requested a review from b-fein August 16, 2024 16:30
@chrisknedl chrisknedl self-assigned this Aug 16, 2024
base/perfumator-java Show resolved Hide resolved
base/perfumator-java Show resolved Hide resolved
base/Dockerfile Show resolved Hide resolved
@b-fein b-fein force-pushed the gamification branch 8 times, most recently from 341329f to 7be5325 Compare August 21, 2024 05:27
The tool statically analyses Java code to notify the user about ‘code
perfumes’, i.e. commending the correct application of good programming
practices (the opposite of ‘code smells’, i.e. issues).

More detailed information about the tool and code perfumes can be found
in [1].

[1] https://arxiv.org/abs/2406.16348
@b-fein b-fein merged commit f3d72cd into main Aug 21, 2024
16 checks passed
@b-fein b-fein deleted the gamification branch August 21, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants