Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.
- What's New
- Function Overview
- Service Overview
- Getting Started
-
User Guide
- Working with CodeArts Check
- Purchasing CodeArts Check
- Configuring Project-level Role Permissions
- Creating a Task
- Configuring a Task
- Executing a Task
- Viewing Check Results
- Querying Audit Logs
- Reference
- Best Practices
-
API Reference
- Before You Start
- API Overview
- Calling APIs
-
APIs
-
Task Management
- Creating a Check Task
- Deleting a Check Task
- Querying Tasks
- Executing a Check Task
- Stopping a Check Task
- Querying the Status of a Task
- Querying Historical Check Results
- Querying Selected Rule Sets of a Task (Version 2)
- Querying Selected Rule Sets of a Task (Version 3)
- Querying the Check Parameters of a Rule Set (Version 2)
- Querying the Check Parameters of a Rule Set (Version 3)
- Configuring the Check Parameters of a Task
- Modifying the Rule Set in a Task
- Querying Check Failure Logs
- Obtaining the Directory Tree of a Task
- Ignoring Directories of a Task
- Querying Advanced Configurations of a Task
- Configuring Advanced Configurations for a Task
- Issue Management
- Rule Management
-
Task Management
- Application Examples
- Appendixes
- Description
-
FAQs
-
General Issues
- Why Am I Told that a Task Is Running and I Should Try Again Later?
- Why Am I Told that I Don't Have Sufficient Permissions and I Should Check and Try Again?
- Why Am I Told that Cppcheck Cannot Tokenize the Code Correctly?
- Why Am I Told that No Dependency Exists in the Maven Repository?
- Why Am I Seeing Error CC.00070400.500?
- Why Don't I Have Enough Permissions When Clicking a Task Name?
- Why Does a Project with WPF in C# Fail?
- Why Is No Data Displayed After a Task Is Complete?
- Why Does a TypeScript Task Fail with a 404 Error in the Log?
- API Issues
-
General Issues
- Videos
- General Reference
Copied.
Configuring Check Modes
You can set check modes and checked catalogs for efficiency.
Neither C# nor the secbrella engine supports merge requests.
Configuring Check Modes
- Access CodeArts Check through a project.
- Go to the task page. In the task list, click a task name.
- On the task details page, choose Settings > Check Modes.
- In the MR Check area, select Changed Files or Full Code. By default, Changed Files is selected.
- Click Save.
Configuring Checked Catalogs
You can specify certain directories to be checked in the code repository.
- By default, all code in the code repository is checked.
- If you specify one or more directories, the files in the specified directories are checked.
You can specify multiple directories by separating them with commas (,). For example:
- To check the dir1 and dir2 directories, enter dir1,dir2.
- To check dir3 in the dir1 directory, enter dir1/dir3.
- You need to specify directories instead of file names. By default, all code in the code repository is checked.
- The specified directories cannot start with a period (.).
- By default, all directories are checked if you leave the text box empty. If you specify directories, all files within them are checked except for those that have been set to be ignored.
- This function takes effect only for the files that do not need to be compiled. If file B is generated after the compilation of file A, issues in file B are not reported.
Setting an Ignored File List
You can configure the file scope by task.
- If you do not specify a file path, all code of the selected repository branch is checked.
- If you specify a file path, the files in it are ignored during a check.
In the Ignored File List area, select the file paths that do not need to be checked. Run the code check task. The files in the selected paths will not be checked.
This function takes effect for the files that (do not) need to be compiled.
- Files that do not need to be compiled: If these files are set to be ignored, they are not checked.
- Files that need to be compiled: For example, file A and file B depend on each other. If file A is set to be ignored, file A is not checked, but file A is still involved in the compilation process before the check.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot