Skip to content

DepAnalyzer is a tool to collect the classes and methods used by a Java application

License

Notifications You must be signed in to change notification settings

ASSERT-KTH/depanalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DepAnalyzer

Build Status

What is DepAnalyzer?

DepAnalyzer allows to get a report of the dependencies used by a Java application. Given a jar file, DepAnalyzer instruments the bytecode to give a report about the name of the classes and methods of each dependency that are used, as computed via static analysis.

Usage

java -jar Dep-analyzer-1.0-SNAPSHOT-jar-with-dependencies.jar "path to the jar file" "fully qualified name of the packaged dependency"

Example

Input:

java -jar Dep-analyzer-1.0-SNAPSHOT-jar-with-dependencies.jar src/main/resources/descartes-1.2.4.jar org/pitest

Output:

Class: eu/stamp_project/mutationtest/descartes/reporting/JSONReportFactory.class
	Class used: org/pitest/mutationtest/ListenerArguments    Methods used: [getStartTime, getEngine, getOutputStrategy]
	Class used: org/pitest/mutationtest/engine/MutationEngine    Methods used: [getMutatorNames]
Class: eu/stamp_project/mutationtest/descartes/reporting/models/MethodRecord.class
	Class used: org/pitest/classinfo/ClassName    Methods used: [getNameWithoutPackage, asInternalName, getPackage, asJavaName]
	Class used: org/pitest/mutationtest/ClassMutationResults    Methods used: [getMutations]
	Class used: org/pitest/mutationtest/DetectionStatus    Methods used: [isDetected]
	Class used: org/pitest/mutationtest/MutationResult    Methods used: [getDetails, getStatus]
	Class used: org/pitest/mutationtest/engine/Location    Methods used: [getMethodName, equals, getMethodDesc, getClassName]
    ...

License

Distributed under the MIT License. See LICENSE for more information.

Funding

DepClean is partially funded by the Wallenberg Autonomous Systems and Software Program (WASP).

Wallenberg Autonomous Systems and Software Program (WASP)

About

DepAnalyzer is a tool to collect the classes and methods used by a Java application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages