Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I clicked "Estimate your organization's code coverage" in Apex Classes from Setup Menu,

enter image description here

I got the following error.

enter image description here

Why this error coming? Is there any other alternate approach to find my organization's overall code coverage? Please suggest.

share|improve this question

Try compiling all your code. I believe you'll get a compilation error. Correct any errors, clear your code coverage, then run all tests. After this, you should be able to calculate your code coverage.

share|improve this answer
Thanks @sfdcfox. I did and it is displaying as "Compilation Complete" and Compilation Successful. Then I tried "Estimate your organization's coder coverage" still getting same issue. Where should i see compilation errors? – Baskaran S Jun 26 '14 at 14:25
Use the "clear code coverage" button, then click "run all tests". This should clear the problem. – sfdcfox Jun 26 '14 at 14:51

You should go to developer console and choose Test->Run all, once the tests run you will have coverage displayed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.