# Code Analysis (/docs/guides/code-analysis)



Rock8Cloud provides two types of code analysis:

1. **Language Detection** - Fast analysis to detect programming languages (covered on this page)
2. **AI Analysis** - AI-powered project overview and agent instructions (coming soon)

***

## Language Breakdown [#language-breakdown]

Each repo service shows a language bar in the **Project Overview** tab. It displays:

* A **color-coded bar** showing the proportion of each language
* A **list of languages** with their percentages
* The **primary language** shown in the service header for quick reference

Only source code is counted - data files, documentation, generated code, and vendored dependencies are excluded so the breakdown reflects your actual codebase.

## Running an Analysis [#running-an-analysis]

1. Open a repo service
2. Go to the **Project Overview** tab
3. Click **Analyze** (or **Re-analyze** if a previous analysis exists)

Results appear within a few seconds. You can re-run the analysis at any time to get an updated breakdown after code changes.

## Related [#related]

* **AI Analysis** - AI-powered project summaries and agent instructions (coming soon)
