# Design and write code more efficiently by understanding the system flows

### See runtime usages

Digma overlays observability over code, so developers are able to see the application flows triggering any code location, query, http call, or any other asset. This provides an automatic view of any runtime dependencies.

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

### Traces tied to the code

Each flow include a sample trace for that specific flow, which in turn is fully connected back to the code, so developers can transition from code to trace and vice versa while staying inside the IDE.

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

Note: Areas of the code that are especially risky to change will have the [Code Nexus](/digma-developer-guide/digma-features/analytics/code-nexus.md) insight.

### Browse all assets used by a specific endpoint

You can navigate the [assets](/digma-developer-guide/digma-core-concepts/assets.md) tree or take an overview of an entire endpoint request to list all of the different unique assets that take part in its execution flow. Assets could be sorted by recency, performance impact, and other criteria. For each of the assets, you can navigate to the related code, see other flows it affects

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

### Find dead code

Any code that is not triggered will have the `Never reached` code lens attached to it. This is a good way to detect dead code that might be a candidate for removal.

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


---

# Agent Instructions: 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.digma.ai/digma-developer-guide/use-cases/understand-the-application-flows-better-for-faster-development.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.
