# Code Analysis

As part of the judging process for a team's submission, StackRef offers a free automated source code analysis service.

Credentials for your team's respository are found in the **Team->Status** section.

<figure><img src="/files/7FcaFMtrMFoxjXlsnfDe" alt=""><figcaption><p>Code Analysis Git Credentials</p></figcaption></figure>

{% code overflow="wrap" fullWidth="true" %}

```shell-session
$ git clone https://app.stackref.com/v1/repos/a87ff92f-702c-4940-acfc-0576500e613a
Cloning into 'a87ff92f-702c-4940-acfc-0576500e613a'...
Username for 'https://app.stackref.com': a87ff92f-702c-4940-acfc-0576500e613a-at-317915500643
Password for 'https://a87ff92f-702c-4940-acfc-0576500e613a-at-317915500643@app.stackref.com':
remote: Counting objects: 3, done.
Unpacking objects: 100% (3/3), 323 bytes | 323.00 KiB/s, done.
```

{% endcode %}

<figure><img src="/files/vbqkwmXRSmcQfuRnrw9w" alt=""><figcaption><p>Code analysis and Infracost breakdown</p></figcaption></figure>

<figure><img src="/files/HYzxDWgFsxiPj9bBMv2V" alt=""><figcaption><p>Snyk and Code Climate score summaries</p></figcaption></figure>

<figure><img src="/files/btZcUh4vvyLDBJBRNTyR" alt=""><figcaption><p>StackRef Cossell AI score results</p></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.stackref.com/team/code-analysis.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.
