You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized some excess dependencies defined in the module declaration for some of the modules in this project. These dependencies are defined in module-info.java files via different types of module directives, such as requires, exports, etc., that are not actually used in the source code of applications.
According to the specification of project Jigsaw, these types of dependencies may lead to various software issues. For example, such dependencies may lead to security vulnerabilities due to overexposure of module internals. As another example, excess dependencies may undermine proper encapsulation, reducing software maintainability.
I found the following excess dependencies defined in the module declarations:
1- module "com.mechanitis.demo.sense.client" requires module "javafx.controls", while none of the classes in module "com.mechanitis.demo.sense.client" uses any packages of the required module "javafx.controls".
2- module "com.mechanitis.demo.sense.client" requires module "javafx.base", while none of the classes in module "com.mechanitis.demo.sense.client" uses any packages of the required module "javafx.base".
3- module "com.mechanitis.demo.sense.client" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.client" uses any packages of the required module "java.logging".
4- module "com.mechanitis.demo.sense.flow" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.flow" uses any packages of the required module "java.logging"
5- module "com.mechanitis.demo.sense.mood" requires module "com.mechanitis.demo.sense.flow", while none of the classes in module "com.mechanitis.demo.sense.mood" uses any packages of the required module "com.mechanitis.demo.sense.flow"
6- module "com.mechanitis.demo.sense.mood" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.mood" uses any packages of the required module "java.logging"
7- module "com.mechanitis.demo.sense.service" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.service" uses any packages of the required module "java.logging"
8- module "com.mechanitis.demo.sense.twitter" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.twitter" uses any packages of the required module "java.logging"
9- module "com.mechanitis.demo.sense.user" requires module "com.mechanitis.demo.sense.flow", while none of the classes in module "com.mechanitis.demo.sense.user" uses any packages of the required module "com.mechanitis.demo.sense.flow"
10- module "com.mechanitis.demo.sense.flow" exports package "com.mechanitis.demo.sense.flow", while no other package within the application uses it.
11- module "om.mechanitis.demo.sense.client" exports package "com.mechanitis.demo.sense.client" to module "javafx.graphics", while none of the classes in module "javafx.graphics" uses the exported package "com.mechanitis.demo.sense.client".
Do you believe removal or reduction of these excess dependencies would improve maintainability or security of your project?
I would highly appreciate it if you could help me understand the reason behind specification of such excess dependencies in your project.
The text was updated successfully, but these errors were encountered:
I realized some excess dependencies defined in the module declaration for some of the modules in this project. These dependencies are defined in module-info.java files via different types of module directives, such as requires, exports, etc., that are not actually used in the source code of applications.
According to the specification of project Jigsaw, these types of dependencies may lead to various software issues. For example, such dependencies may lead to security vulnerabilities due to overexposure of module internals. As another example, excess dependencies may undermine proper encapsulation, reducing software maintainability.
I found the following excess dependencies defined in the module declarations:
1- module "com.mechanitis.demo.sense.client" requires module "javafx.controls", while none of the classes in module "com.mechanitis.demo.sense.client" uses any packages of the required module "javafx.controls".
2- module "com.mechanitis.demo.sense.client" requires module "javafx.base", while none of the classes in module "com.mechanitis.demo.sense.client" uses any packages of the required module "javafx.base".
3- module "com.mechanitis.demo.sense.client" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.client" uses any packages of the required module "java.logging".
4- module "com.mechanitis.demo.sense.flow" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.flow" uses any packages of the required module "java.logging"
5- module "com.mechanitis.demo.sense.mood" requires module "com.mechanitis.demo.sense.flow", while none of the classes in module "com.mechanitis.demo.sense.mood" uses any packages of the required module "com.mechanitis.demo.sense.flow"
6- module "com.mechanitis.demo.sense.mood" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.mood" uses any packages of the required module "java.logging"
7- module "com.mechanitis.demo.sense.service" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.service" uses any packages of the required module "java.logging"
8- module "com.mechanitis.demo.sense.twitter" requires module "java.logging", while none of the classes in module "com.mechanitis.demo.sense.twitter" uses any packages of the required module "java.logging"
9- module "com.mechanitis.demo.sense.user" requires module "com.mechanitis.demo.sense.flow", while none of the classes in module "com.mechanitis.demo.sense.user" uses any packages of the required module "com.mechanitis.demo.sense.flow"
10- module "com.mechanitis.demo.sense.flow" exports package "com.mechanitis.demo.sense.flow", while no other package within the application uses it.
11- module "om.mechanitis.demo.sense.client" exports package "com.mechanitis.demo.sense.client" to module "javafx.graphics", while none of the classes in module "javafx.graphics" uses the exported package "com.mechanitis.demo.sense.client".
Do you believe removal or reduction of these excess dependencies would improve maintainability or security of your project?
I would highly appreciate it if you could help me understand the reason behind specification of such excess dependencies in your project.
The text was updated successfully, but these errors were encountered: