eclemma icon indicating copy to clipboard operation
eclemma copied to clipboard

Warning about non-matching classes

Open marchof opened this issue 10 years ago • 0 comments

It seems to be a common problem, that exec files are imported into Eclipse executed with different class files. The same situation arises if tools like Powermock are used which modify classes at runtime. JaCoCo offers an API to detect such situations:

org.jacoco.core.analysis.IClassCoverage.isNoMatch()

It would be helpful for users if a hint could be shown in such situations:

  • Annotate classes with non matching exec data in coverage view (e.g. icon overlay)
  • Show disposable hint in coverage view if non-matching classes do exist. This could be tricky if different versions of the same class exist in the workspace. Here the hint should only be shown if non of them do match.

marchof avatar Dec 07 '15 05:12 marchof