+ Start a Discussion
venkyyyvenkyyy 

Code coverage lines not displaying in developer console

Hi Folks,

After running test class, am able to see the percentage of the code covered, but unable to see covered code lines in developer console or any where.

Let me know if any body got this issue, and wat is the get rid of this issue.

Thank you in advance..
BharathimohanBharathimohan
Venky,

1. Run your test within dispatch console by going to Test > New Run
2. Once test class run is done, the status will be shown on Tests tab
3. Now on the right side section "Overall Code Coverage", double click your class to see the covered/uncovered lines

If your class still does not indicate covered/uncovered lines, then the test class your ran did not have any impact on the apex class you are seeing. Meaning, the test class is not relevant to your apex class or it did not invoke/cover the apex class.

Regards,
Bharathimohan Ramamurthy
Salesforce For All (http://salesforceforall.blogspot.com/)
PrashanthNeoPrashanthNeo
Hi Venky,
Try this solution here (http://salesforce.stackexchange.com/questions/24082/code-coverage-on-dev-console) 

Goto setup -> Develop -> Apex Test Execution and click the Options button.

Make sure "Store Only Aggregated Code Coverage" is UNCHECKED

Thanks,
Prashanth