> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/others/scanning-anonymous-methods.md).

# 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="/files/Wa07yUK3dyayGPTixJgy" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/wt5E3VhnowJ7Ae8lWA0N" 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="/files/F2vOh4Oh7zbZ3QcrAIab" 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="/files/KHzP9nptVJyySuYNdufZ" alt="" width="218"><figcaption></figcaption></figure>

<figure><img src="/files/6spH4uhmbgkZeyxWWBXV" alt="" width="291"><figcaption></figcaption></figure>

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

<figure><img src="/files/UfE5MZpPSJGsj4HaUsS4" alt="" width="375"><figcaption></figcaption></figure>

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

<figure><img src="/files/RLiqF4yYvRbWXYFYhDZM" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/others/scanning-anonymous-methods.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
