Files
VV-ISTIC-TP2/sujet.md
Romain Lefeuvre 7b185c9c0c 2025 init
2025-11-18 14:41:54 +01:00

1.2 KiB

Static analysis

Instructions

Some of the exercises in this practical session use PMD, JavaParser or require a full project as input.

To obtain and use PMD, consult the instructions given in https://pmd.github.io/pmd/pmd_userdocs_installation.html

The folder javaparser-starter contains the code of an application that uses JavaParser to print all public classes and public methods from a given project. You can use this example as a starting point for all exercises using JavaParser.

We recommend you use the following projects as input for the exercises:

Feel free to use any other project you want.

Exercises

  1. TCC vs LCC

  2. Using PMD

  3. Extending PMD

  4. No getter!

  5. Cyclomatic Complexity with JavaParser

  6. Class cohesion with JavaParser (bonus)