function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hiteshghiahiteshghia 

weird code coverage result and problem running all tests

Hi ,

First question is which code coverage percentage is the most accurate and correct, the one we get when we run all tests from Force.com IDE, the one we get when we go to Setup -> Apex Classes -> Run All Tests or the one we get when we go toSetup -> Apex Classes -> Calculate your organizations Code Coverage. I get different percentage's when I get the code coverage in the three mentioned above ways. Also when I see the actual lines covered a lot of code comments, System.debugs and white spaces are marked red. Some help here will be great , I am completely lost as to what is happening.

Also since yesterday when I run tests with : Setup -> Apex Classes -> Run All Tests, I am not seeing any result , i.e it doesnt show the individual classes code coverge nor does it show the summary result, its all blank??

 

Please help!

 

Thanks

- Hitesh

hiteshghiahiteshghia

Anyone?