I want to know the lines of my apex class which are not covered by the test classes. I know its only possible in developer console now. But seems to be some issue there again.

I ran all tests in developer console. And I opened the controller in the console that I want the coverage for. But it shows no coverage. When I checked in the browser though for this class, it shows 80%. But here it shows nothing, doesn't show which line are convered and not.

The dropdown in the image below should ideally show me the list of all test classes and All classes. but it itsn't. What is the problem? Please let me know. Or any other alternatives please?


developer console

  • possible duplicate of Code coverage on dev console. Try the link
    – highfive
    Commented May 9, 2014 at 10:26
  • hmm. BruceLee does appear to have the code coverage drop down in their developer console though, so not sure if this is a dupe? Commented May 9, 2014 at 10:56

2 Answers 2


This issue is because of the Latest release from salesforce side. CS16 sandboxes all have the same problem. I tried CS15 sandbox, and it works absolutely fine.


It appears that in latest Winter 2016 upgrade a bug was introduced where code coverage line highlights are missing from the Salesforce Developer Console

You can get them back by selecting the 'Test > Always Run Asynchronously' checkbox and re-running your test.


  • Yea, this is an existing bug, not just with 2016 upgrade.
    – sfdcFanBoy
    Commented Jan 20, 2016 at 7:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .