# Code Style

## &#x20;简介

Code Style引擎是一种代码质量分析工具，对合约代码进行静态分析，以识别编码问题、潜在错误和不符合规范的代码。主要特点包括：

1. 代码风格检查：确保代码遵循预设编码规范，提高一致性和可读性。
2. 潜在错误检测：静态分析揭示可能导致崩溃、性能降低或逻辑错误的问题，提供修复建议。
3. 代码优化建议：分析性能瓶颈和不必要的复杂度，提供结构和性能优化方案。
4. 可维护性分析：评估代码可维护性，识别需重构部分，提高可维护性和可扩展性。

使用Code Style引擎有助于确保合约代码的稳定性、可维护性，提高项目质量和可靠性。


---

# 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.metatrust.io/docs-zh/introduction/metascan/code-style.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.
