# Add a status badge

## Quick guide

Add a status badge <img src="https://3982345336-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpYF4Rmm1tt0M5Cn4E0%2F-MBhsFOEd2sB_sUKhlyS%2F-MBhso_LPLE7xFkZhUzd%2FScreenshot%202020-07-08%20at%2012.05.23.png?alt=media&#x26;token=a478487f-efa0-44b2-b1c2-2e91f9454926" 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.                                                                       |
