How to include Anonymous Methods in your scan
By Default, Anonymous methods are being ignored during a scan. Customers might use anonymous methods in their code and would like to include those in their Coverage Report.
In order to do that, you would first have to confirm that the code has been actually ignored:
From the dashboard, locate the Application/Branch/Build
Toggle off the “Show only code that is scoped and unignored”
make sure you can locate the ignored code (grayed out) under the coverage report
you can also verify that in the RAW file of the build, under S3: /sl-agents-files-usw/PROD-{CUSTOMER_NAME}/build-diff-files/raw/{CUSTOMER_NAME}/{APP_NAME}/{BRANCH}/{BUILD}
once you verified that, you can then update the ignore configuration to include Anonymous Methods from the next build:
From the Dashboard, go to “Settings”
Under “Data Scope” click “Ignored Code”
Click
Choose your application, and uncheck the “Anonymous Methods”
Click “Done”
From the next build, your Anonymous methods will be included in the the coverage report