Code coverage not showing at all

Issue #362 resolved
Kevan Moothien created an issue

Code coverage is not showing. Only overall coverage is being displayed in the coverage window.

Comments (10)

  1. Scott Wells repo owner

    Kevan, can you add the following to Help>Debug Log Settings:

    com.illuminatedcloud.intellij.coverage.ApexCoverageSuite
    

    and show coverage again? Then please send me the relevant portion of idea.log (available via Help>Show Log in Explorer/Finder).

  2. Scott Wells repo owner

    Sorry for the delayed response, Kevan. I had a very busy weekend. I'll take a look in the next day or two and let you know what I find.

  3. Scott Wells repo owner

    Actually I do have a quick recommendation, Kevan. I'm seeing quite a few warnings of the form:

    2016-08-01 14:23:35,649 [16515116]   WARN - .intellij.psi.util.ApexPsiUtil - Attempting to add an invalid element as a cache dependency. 
    

    That's a pretty good indication that the caches & indices are stale. Would you mind going into Illuminated Cloud's connection settings and clicking the Rebuild button, then letting the IDE restart, then seeing if this problem with code coverage still exists?

  4. Scott Wells repo owner

    Kevan, would you mind providing a new log of you showing code coverage since you've rebuild caches & indices? I'll take a look this weekend and see if I can get you an answer.

  5. Scott Wells repo owner

    Here's a test build that I'm hoping resolves these issues. I'd appreciate it if you could install and test it before I release it broadly. Just download IlluminatedCloud-14.zip and, from within IntelliJ IDEA, use Settings>Plugins>Install Plugin from Disk to install it. After the IDE restarts, please try to show coverage again. It will now be possible to background the dialog if you'd like, but once loading completes, hopefully you'll be able to see coverage in the editor gutter. Please let me know what you find.

  6. Log in to comment