I have four applications that run using the same codebase.
I have instrumented all of them successfully.
The problem is that Application A uses half of the codebase of package X, and Application B uses the *other* half of package X.
So, for example, one Application will call the "initialize" function, the other application will be sent this, say, and then call the "toString" function to save it to a db.
When I look at my jacoco report, given this pattern of usage, I see only an average of 20% coverage, whereas I suspect the *actual* coverage is closer to 60%.
I'm using (pretty much, the code sample isn't complete but you get the idea) the same code from here:
https://stackoverflow.com/a/31250878/1061426thanks