2025 init
This commit is contained in:
11
exercises/jp-tcc.md
Normal file
11
exercises/jp-tcc.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Class cohesion with JavaParser
|
||||
|
||||
With the help of JavaParser implement a program that computes the Tight Class Cohesion (TCC) for each class in a given Java project. The program should take as input the path to the source code of the project. It should produce a report in the format of your choice (TXT, CSV, Markdown, HTML, etc.) containing a table showing for each class: the package, name and TCC value.
|
||||
Your application should also produce a histogram showing the distribution of CC values in the project. Compare the histogram of two or more projects.
|
||||
Finally, your application should also produce the dependency graph of each class (cf. example [here](https://people.irisa.fr/Benoit.Combemale/pub/course/vv/vv-textbook-v0.1.pdf#cohesion-graph)). The graph should be written using the [GraphViz DOT format](https://www.graphviz.org/)
|
||||
|
||||
Ignore inherited members to compute TCC of a class.
|
||||
|
||||
Include in this repository the code of your application. Remove all unnecessary files like compiled binaries. Do include the reports and plots you obtained from different projects. See the [instructions](../sujet.md) for suggestions on the projects to use.
|
||||
|
||||
You may use [javaparser-starter](../code/javaparser-starter) as a starting point.
|
||||
Reference in New Issue
Block a user