Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/Tencent/CodeAnalysis

Static Code Analysis - 静态代码分析
https://github.com/Tencent/CodeAnalysis

code-analysis code-quality code-quality-analyzer code-review program-analysis python37

Last synced: 29 days ago
JSON representation

Static Code Analysis - 静态代码分析

Lists

README

        





TCA, Tencent Cloud Code Analysis


code-named: CodeDog

[![license](https://img.shields.io/badge/License-MIT-brightgreen.svg?style=flat)](LICENSE) [![docs](https://img.shields.io/badge/docs-read-brightgreen.svg?style=flat)](https://tencent.github.io/CodeAnalysis/)

English | [简体中文](README_ZH.md)

## TCA Official Website

[https://cloud.tencent.com/product/tcap](https://cloud.tencent.com/product/tcap)

## TCA Github Pages

[https://tencent.github.io/CodeAnalysis/](https://tencent.github.io/CodeAnalysis/)

[https://github.com/TCATools](https://github.com/TCATools)

## Repo Mirror

[https://git.code.tencent.com/Tencent_Open_Source/CodeAnalysis.git](https://git.code.tencent.com/Tencent_Open_Source/CodeAnalysis.git)

## What is TCA

Tencent Cloud Code Analysis (TCA for short, code-named CodeDog inside the company early) is a comprehensive platform for code analysis and issue tracking. TCA consist of three components, server, web and client. It integrates of a number of self-developed tools, and also supports dynamic integration of code analysis tools in various programming languages.

Code analysis is a technology, using lexical analysis, syntax analysis, control-flow analysis, data-flow analysis to make a comprehensive analysis of the code, so as to verify whether the code meets the requirements of normative, security, reliability, maintainability and other indicators.

Using TCA can help team find normative, structural, security vulnerabilities and other issues in the code, continuously monitor the quality of the project code and issue alerts. At the same time, TCA opens up APIs to support connection with upstream and downstream systems, so as to integrate code analysis capabilities, ensure code quality, and be more conducive to inheriting an excellent team code culture.

![组件图](https://tencent.github.io/CodeAnalysis/media/Components.png)

![流程图](https://tencent.github.io/CodeAnalysis/media/Flow.png)

## Experience

[Apply Link](http://tca.tencent.com)

## Key Features

1. **Language support**: It supports Java/C++/Objective-C/C#/JavaScript/Python/Go/PHP and more, covering common programming languages.
2. **Code inspection**: Discover code quality defects, code specification problems, code security vulnerabilities, invalid codes, etc. At present, many self-developed and well-known open source analysis tools have been integrated. The layered architecture can support rapid self-service management tools for teams.
3. **Code measurement**: Support comprehensive measurement of code from the three dimensions of code cyclomatic complexity, code repetition rate and code statistics.
4. **DevOps integration**: The client can be started via the command line. Standard APIs support connection to upstream and downstream systems, and various DevOps systems.

## Getting Started

- [How to deploy](https://tencent.github.io/CodeAnalysis/en/quickStarted/)
- [How to use TCA Action](https://github.com/TCATools/TCA-action/blob/main/README.md)
- [How to use client](https://tencent.github.io/CodeAnalysis/en/guide/客户端/本地分析.html)

## Community

- WeChat Official Account: 「腾讯云静态分析」. Follow and send "Join the group" to join the official open source communication WeChat group.
- WeChat Group:

- QQ Group: 361791391
- [Discussion](https://github.com/Tencent/CodeAnalysis/discussions)
- [Wiki](https://github.com/Tencent/CodeAnalysis/wiki)
- [White Paper](腾讯云代码分析白皮书.pdf)

## Changelogs

- Check our [Changelog](CHANGELOG.md)

## Contributing

- Check out [CONTRIBUTING](CONTRIBUTING.md) to see how to develop with TCA.
- [Tencent WeOpen Star Project](https://github.com/weopenprojects/WeOpen-Star/issues/19#issue-1228583868)(From May 2022 to September 2022)
- [Tencent Open Source Incentive Program](https://opensource.tencent.com/contribution) encourages the participation and contribution of developers. We look forward to your active participation.

## License

TCA is [MIT licensed](LICENSE)

### TCA Team Member

![腾讯云代码分析团队成员](https://tencent.github.io/CodeAnalysis/media/TeamMembers.png)