Find your content:

Search form

You are here

Data displaying in Overall Code Coverage section in developer console is not consistent

 
Share

The data displaying in Overall Code Coverage section in developer console is not consistent, but displays incorrect code coverage sometimes 100% and sometimes with lesser number. For example, OpenDocumentsController listed in that displays 100% (179/179) though the lines of code in the controller class is 434. When i click the controller from that section and the code coverage is displays as 29% and many lines are red blocked. In the image below it shows as 0% whereas actual class in Apex Classes display 100%. Which one is correct?

Experts please advice

How can i see correct data on Overall Code Coverage section in dev console? Is there any other alternative way to run the test classes? Where else i can ensure the code coverage is correct or not?

enter image description here

enter image description here

enter image description here


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

My Block Status

My Block Content