3

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.

2 Answers 2

3

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.

2
  • 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?
    – Bforce
    Jun 26, 2014 at 14:25
  • 1
    Use the "clear code coverage" button, then click "run all tests". This should clear the problem.
    – sfdcfox
    Jun 26, 2014 at 14:51
2

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

You must log in to answer this question.

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