> For the complete documentation index, see [llms.txt](https://docs.ci.trust-in-soft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ci.trust-in-soft.com/reference/status-badge.md).

# Add a status badge

## Quick guide

Add a status badge <img src="/files/-MBhso_LPLE7xFkZhUzd" alt="" data-size="line"> to your project's README by copying and pasting the below markdown template and inserting into it your project name and corresponding GitHub account:&#x20;

`[![TrustInSoft CI](https://ci.trust-in-soft.com/projects/<ACCOUNT_NAME>/<PROJECT_NAME>.svg?branch=master)](https://ci.trust-in-soft.com/projects/<ACCOUNT_NAME>/<PROJECT_NAME>)`

## More about the badge

A badge status is computed based on the statuses of the analyses that belong to the **latest** **valid** build. A build is **valid** if its result is complete, meaning that the build has not been canceled nor it is queued/running.

There are 3 possible statuses:

| Status  | Definition                                                                                                              |
| ------- | ----------------------------------------------------------------------------------------------------------------------- |
| Passing | All of the analyses in the latest valid build have the status "No undefined behavior".                                  |
| Failing | At least one analysis in the latest valid build does not have the status "No undefined behavior" so it should be fixed. |
| Unknown | There is not valid build for this project/branch.                                                                       |
