Could io.github.scouter-project:scouter-webapp:2.17.1 drop off redundant dependencies?#925
Open
slimming-fat wants to merge 2 commits intoscouter-project:masterfrom
Open
Could io.github.scouter-project:scouter-webapp:2.17.1 drop off redundant dependencies?#925slimming-fat wants to merge 2 commits intoscouter-project:masterfrom
slimming-fat wants to merge 2 commits intoscouter-project:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, I found that io.github.scouter-project:scouter-webapp:2.17.1’s pom file introduced 100 dependencies. However, among them, 6 libraries (6% have not been used by your project), the redundant dependencies are listed below.
6 redundant libraries have not been maintained by developers for more than 3 years(outdated dependencies).
Reduce these unused dependencies can help prevent introducing bugs/vulnerabilities from outdated dependencies. Meanwhile, it can minimize the project size. To safely remove redundant dependencies, I constructed a complete call graph (resolved most of Java reflection and dynamic binding) , and validated that they have not been used by the client code.
This PR io.github.scouter-project:scouter-webapp:2.17.1 for removing the redundant dependencies have passed the tests.
Best regards
Redundant dependencies
Redundant direct dependencies:
Redundant indirect dependencies:
Outdated dependencies
org.jboss.logging:jboss-logging:3.1.3.GA ( 3653 days without maintenance)
com.fasterxml:classmate:1.0.0 ( 3429 days without maintenance)
org.ow2.asm:asm:5.1 ( 2558 days without maintenance)
javax.activation:activation:1.1.1 ( 4882 days without maintenance)
org.ow2.asm:asm-tree:5.1 ( 2558 days without maintenance)
org.ow2.asm:asm-commons:5.1 ( 2558 days without maintenance)