-
查看徽标状态 - 代码检查 CodeArts Check
执行完代码检查任务后,您可通过徽标状态查看代码健康度,并标识在代码仓库中。 代码检查服务中设置各个告警级别的影响度如下: 致命:5 严重:3 一般:1 提示:0.1 健康度=SUM ∑(告警数量*告警级别影响度)/代码量,各个健康度对应的标识如下: A:健康度<=0.001 B:0.001 <
-
删除自定义规则集 - 代码检查 CodeArts Check
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
配置代码检查任务自定义规则集 - 代码检查 CodeArts Check
“检查语言”不支持修改。 系统预置规则集无法修改。 只有创建者可以修改自定义规则集。 删除自定义检查规则集 单击规则集所在行的,选择“删除”即可删除检查规则集。 只有创建者可以删除自定义规则集。 系统规则集和已被使用的自定义规则集无法删除。 如果需要删除已被使用的规则集,需将关
-
错误码 - 代码检查 CodeArts Check
getTaskBasicInfo failed 调用getTaskBasicInfo接口异常 待会重试或者联系客服 200 CC.00050015 task is running 任务正在执行,稍后重试 稍后重试 200 CC.00050016 create task failed 新建任务出错!创建未成功!
-
使用前必读 - 代码检查 CodeArts Check
过程中,您需要用到账号、用户和密码等信息。 区域(Region) 从地理位置和网络时延维度划分,同一个Region内共享弹性计算、块存储、对象存储、VPC网络、弹性公网IP、镜像等公共服务。Region分为通用Region和专属Region。 通用Region指面向公共租户提供通用云服务的Region。
-
创建自定义规则集 - 代码检查 CodeArts Check
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
查询任务执行状态 - 代码检查 CodeArts Check
task_status Integer 任务状态,0表示检查中,1表示检查失败,2表示检查成功,3表示任务中止 progress ProgressDetailV2 object 检查进度 表4 ProgressDetailV2 参数 参数类型 描述 ratio String 进度百分比 info
-
使用预置规则检查GitCode代码仓中的代码质量 - 代码检查 CodeArts Check
n。 单击,即可复制生成的Token。 说明: Token生成后,请及时保存,下次刷新页面将无法读取,需要重新生成新Token。 注意填写有效的Token描述信息,避免误删除导致构建失败。 无需使用时及时删除Token,避免信息泄露。 是 单击“确定” 新建GitCode代码检查任务
-
返回结果 - 代码检查 CodeArts Check
"2024-05-21T09:03:41.000000", "domain_id": "d78cbac1..........", "xdomain_id": "30086000........", "xdomain_type": "", "default_project_id":
-
示例1:查询任务列表 - 代码检查 CodeArts Check
ae12056478a7919f", "creatorName":"name", "domainId":"78d0e09c1ad0425b9b4f3a8fdd066164", "domainName":"name", "gitUrl":"git@xxxxx/portal-ts.git"
-
终止检查任务 - 代码检查 CodeArts Check
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
设置每个项目对应语言的默认规则集配置 - 代码检查 CodeArts Check
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
获取任务的目录树 - 代码检查 CodeArts Check
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
认证鉴权 - 代码检查 CodeArts Check
"password": "********", "domain": { "name": "domainname" } }
-
构造请求 - 代码检查 CodeArts Check
"domain_id": "accountid", "name": "username", "password": "**********", "email": "email", "description":
-
查询任务列表 - 代码检查 CodeArts Check
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
任务配置屏蔽目录 - 代码检查 CodeArts Check
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
修改缺陷状态 - 代码检查 CodeArts Check
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
任务配置高级选项 - 代码检查 CodeArts Check
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
API类问题 - 代码检查 CodeArts Check
API类问题 使用公共API时提示没有权限 使用公用API时提示项目不存在