Help Center/ CodeArts Check/ Service Overview/ What Is CodeArts Check?
Updated on 2024-07-01 GMT+08:00

What Is CodeArts Check?

CodeArts Check is a cloud-based service that checks codes. With years of experience in automatic static check and enterprise application, CodeArts Check provides rich check services on code style, common quality, cyber security risk, and other elements. It also includes comprehensive check reports, convenient bug handling, and many other efficient, easy-to-use functions for enterprises to effectively improve code quality.

The cloud service and IDE plug-in are two forms of CodeArts Check. In addition, it provides a feature package with in-depth security check.

CodeArts Check Functions

Table 1 CodeArts Check functions

Function

Description

Coding issue check

Use rule sets to check issues in your own code.

Code security check

Use rule sets to check code security risks and issues.

Code style check

Use rule sets to check whether your code matches the selected style.

Code health score

A comprehensive metric, which is related to the alarm impact, quantity, and code quantity. The code health score is automatically calculated.

Issue management

Handle issues found in code checks based on issue descriptions, status, check rules, file paths, source code, and fix suggestions.

Cyclomatic complexity

Evaluate code quality risks based on the code cyclomatic complexity report.

NBNC (non-blank non-comment)

Number of valid lines of code (LOC) excluding blank lines and comment lines.

Duplication rate

Evaluate code quality risks based on the duplication rate report.

Scheduled check

Use the function of scheduling code checks every week and every day to balance rest and coding.

Check result notification

After the check is complete, the messages are sent to notify related personnel of the check results so that they can handle issues in time.

Check in multiple languages

Check code in Java, C++, JavaScript, Go, Python, C#, TypeScript, CSS, HTML, PHP, Lua, Rust, Shell, and Kotlin.

IDE Plug-in of CodeArts Check

It is a powerful assistant for developers to protect the code quality.

  • Provides industry standard (including Huawei Cloud) check, one-click code style formatting, and automatic code fixing, adhering to the concepts of simplicity, high speed, and real-time monitoring.
  • Checks code accurately and efficiently, and builds three-layer protection during coding, merging, and version release with cloud services jointly.
  • Displays all built-in lightweight IDE rules that are a subset of cloud rules in the cloud, implements security scan shifting left, and covers 30+ defect categories.
  • Supports Java, C, C++, and Python. The IDE plug-in has been rolled out on four mainstream IDE platforms: VSCode IDE, Intellij IDEA, CodeArts IDE, and Cloud IDE.

Enhanced Package of CodeArts Check

The package identifies code security risks and vulnerabilities cc.

  • Covers security check other than the yearly/monthly package (such as parameter value errors, encryption and data verification issues).
  • Enhances security check and analysis for vulnerability detection items in the industry (such as cross-function check, cross-file check, taint analysis, semantic analysis).