# Scanning Anonymous Methods

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 on the “Ignored Methods”

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FZbXpLhRkw2bX3DQps4KW%2FScreenshot%202025-08-18%20at%2010.37.14.png?alt=media&#x26;token=114ba747-ce89-4bc9-9f57-c134ec737900" alt=""><figcaption></figcaption></figure>

* Make sure you can locate the ignored code (**grayed out)** under the coverage report

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FOncrTlKqVmpglx9JYn05%2Fignored.jpg?alt=media&#x26;token=e6ef2774-904c-413e-a130-7d0a0ac128a1" alt=""><figcaption></figcaption></figure>

* 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}**

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2Fic2Vm7rc7XjIjlaGmGf5%2Fignore2.jpg?alt=media&#x26;token=b98316b4-8ec6-477b-9403-c0952f7e05cc" alt=""><figcaption></figcaption></figure>

Once you verified that, you can then update the ignore configuration to include Anonymous Methods from the next build:

* Go to “Settings” > “Data Scope” > "Code Scope"

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FuEGLw3JPlWrGpPDZ2qTg%2FScreenshot%202025-08-18%20at%2010.40.59.png?alt=media&#x26;token=f860c265-5c33-4c6e-8a6a-249bab742fee" alt="" width="218"><figcaption></figcaption></figure>

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FTu3d42BYHuUdHxMd5zjy%2FScreenshot%202025-08-18%20at%2010.42.33.png?alt=media&#x26;token=d8f1073c-bd51-4076-9d86-826c7b8acefb" alt="" width="291"><figcaption></figcaption></figure>

* Choose your application, and uncheck the “Anonymous Methods”

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FSiwGWaEiK0q1AIpevCSq%2FScreenshot%202025-08-21%20at%2016.51.25.png?alt=media&#x26;token=89bd9edf-b5a3-4a43-9810-28aaa4b5aedb" alt="" width="375"><figcaption></figcaption></figure>

From the next build, your Anonymous methods will be included in the the coverage report

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FJg61atnTBZLVCC9O9kp3%2Fignore3%20(1).jpg?alt=media&#x26;token=74463c45-4471-45b5-b8b0-c92fc244e1e1" alt=""><figcaption></figcaption></figure>
