Does salesforce count calls to system.debug() against the code coverage?
Answer / Ram Gopal
Yes, Salesforce counts calls to `System.debug()` against Code Coverage. If you want to exclude specific lines from Code Coverage, you can use `NDC.push('your_tag')` before calling `System.debug()`, and then `NDC.pop()` at the end of the block or method you want to exclude.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is cloud computing security?
Can you tell the number of active assignment rules for a lead/case?
What is the character limit for custom labels?
How access to reports and dashboard is controlled in salesforce? : salesforce reports and dashboards
Is it possible to change master-detail relationship to lookup relationship? : salesforce objects & fields
What is a visualforce page?
Explain salesforce.com security implementation with respect to profiles, roles, and hierarchy, sharing rules, owd(org-wide default settings)?
What are Organization Wide Defaults?
When should apex be used?
What is difference between soql and sosl?
What is a Sharing Rule?
What is the use of the aura:method tag in lightning ? : salesforce lightning component