During some analysis of JUnit tests, I observed a wrong method invocation count. Indeed, if I add a "System.out" in the concerned method, the number of calls is not the same than what is in the Yourkit snapshot.
For example, the analysis is done on ManageBehaviorPCsDeployment a test class from Capella.
The method
Code: Select all
org.polarsys.capella.core.sirius.analysis.CapellaServices.forceRefresh(DDiagram)
Code: Select all
org.eclipse.acceleo.query.runtime.impl.JavaMethodService.internalInvoke(Object[])
Do you have an explanation ?
For information, I use "YourKit Java Profiler 2020.9-b416".
Regards,
Laurent