# Code Quality

The Code Quality (Lint) engine is a code quality analysis tool that performs static analysis on contract code to identify coding issues, potential errors, and non-compliant code. Its main features include:

* Code style checking: Ensuring that the code follows preset coding standards to improve consistency and readability.
* Potential error detection: Static analysis reveals problems that may cause crashes, reduced performance, or logic errors, and provides repair suggestions.
* Code optimization recommendations: Analyzing performance bottlenecks and unnecessary complexity and providing structural and performance optimization solutions.
* Maintainability analysis: Evaluating code maintainability, identifying parts that need refactoring, and improving maintainability and scalability.

Using the Lint engine helps ensure contract code stability and maintainability, improves project quality and reliability.


---

# 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/introduction/metascan/code-quality.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.
