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
aks0011aks0011 

Ways to check which line of code is being covered or not within a class after writing a test class.??

HI,

Is there any other way to check the problems in code coverage except using developer console. May you are also facing the same problem with Developer console. Please let me know if anyone knows about it.

thanks....
Ashish_SFDCAshish_SFDC
Hi , 

Lines of code that are covered by tests are blue. Lines of code that aren’t covered are red. Lines of code that don’t require coverage (for example, curly brackets, comments, and System.debug calls) are left white.

https://help.salesforce.com/HTViewHelpDoc?id=code_dev_console_tests_coverage.htm&language=en_US

Regards,
Ashish