Find your content:

Search form

You are here

Issue: Salesforce UI, Developer Console and Eclipse IDE shows different code coverage for the same class. Is anyone experienced this?

 
Share

This is very much confusing and hard to believe which one is valid. Below screen shot describes the issue as the code coverage for one of the class "OpenDocumentsController" showing 100% (179/179) in Salesforce UI. And the same class the test coverage displayed as 100% (208/208) in developer console. Again, eclipse shown me different coverage which is 47%. Any suggestions? Am i doing anything wrong here?

This above class totally contains 750 lines of code.

Screen 1:

enter image description here

Screen 2: enter image description here

Screen 3: enter image description here


Attribution to: Bforce
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/32327

My Block Status

My Block Content