CodeAnalysis icon indicating copy to clipboard operation
CodeAnalysis copied to clipboard

Static Code Analysis - 静态代码分析

Results 183 CodeAnalysis issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/26664563/219538650-2c539b73-5a03-49ac-a5f6-d19ed2d610a9.png)

https://github.com/terraform-linters/tflint

enhancement

https://github.com/hadolint/hadolint - 建议使用自定义插件方式集成 欢迎认领。

enhancement

任务执行异常 FileNotFoundError: [Errno 2] 没有那个文件或目录: '/home/tca/CodeAnalysis/tools/linux-7z/bin/7z': '/home/tca/CodeAnalysis/tools/linux-7z/bin/7z' 但是系统中存在这个文件 [root@CentOS171 ~]# ll /home/tca/CodeAnalysis/tools/linux-7z/bin/7z -rwxr-xr-x. 1 root root 772004 10月 21 09:39 /home/tca/CodeAnalysis/tools/linux-7z/bin/7z

背景: 我们企业也做一套全自动的代码扫描工程,由于应用以及设计的语言众多,无法一一为其单独创建对应的分析方案,这里我们需要根据创建好的分析方案模板通过程序调用api的方式为代码库创建其对应的分析方案。 麻烦尽快加一下哈,蟹蟹!

每次新建分析方案后,系统默认的文件过滤将会全部打开。每次都有需要手动去关闭,繁琐。

# 需求背景 如微信群里沟通 我们想控制 “标记处理” 只允许管理员操作,在 server/projects/analysis/apps/codelint/apis/v2.py IssueResolutionUpdateView put 方法加了判断 request.user.is_staff 的逻辑 但是好像权限数据 analysis 和 main 是分开的,想问一下这块怎么同步? # 需求 TCA 各个微服务之间权限共享

when c file have some large arrays, cppcheck will block when check the file. if other c file have use the large array, cppcheck also will block when check it.

![image](https://user-images.githubusercontent.com/46844594/211759005-f17021b1-729d-47e5-93ec-316515540e70.png) ![image](https://user-images.githubusercontent.com/46844594/211759154-8aa758b9-39b6-440a-8545-851765a3f6dc.png) 任务一直处于运行中,如何查看定位具体原因? 点击取消后,ui一直处于运行中状态,如何定位具体问题?