0

I am trying to identify which classes and, if possible methods, are used by a running java app.

In the JaCoCo Coverage Analysis Diagram at https://www.eclemma.org/jacoco/trunk/doc/implementation.html they mention the On-the-fly instrumentation available via their Java Agent.

I am fairly new to java and I was able to add the maven plugin to the project but I am confused as to what I am supposed to do now. I assume I somehow need to run this and pass the process id of the running app and then use the "file system" or "tcp" options to retrieve the used classes/methods captured.

Any details/explanations will be highly appreciated.

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
Cristian G
  • 460
  • 1
  • 4
  • 22

0 Answers0