# Tencent/TscanCode

A static code analyzer for C++, C#, Lua

Repository: https://github.com/Tencent/TscanCode
Canonical: https://ross.abutalabs.com/products/tscancode
Language: C++
License: NOASSERTION
License Family: other
Topics: static-code-analysis, lua, cpp, csharp
Last push: 2023-12-25T08:33:11+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4179, "days_push": 982, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2115, forks 601 (observed 2026-08-28T04:06:16.079937+00:00)

## What it is
TscanCode is a fast and accurate static code analyzer from Tencent that detects defects in C/C++, C#, and Lua code without requiring a build environment. It runs via a single command or GUI, supports custom rule packages, and reports issues like null pointer dereferences in XML output.

## Use cases
- find null pointer bugs in c++ code
- static analysis for lua scripts
- scan c# projects for code defects
- run static code analysis without compiling the project
- detect potential crashes before runtime
- customize static analysis rules for my codebase

## When to choose
- you need multi-language static analysis for C/C++, C#, or Lua
- you want a fast analyzer that works without a strict build environment
- you need extensible checkers or a GUI with false-positive marking

## When to avoid
- you need analysis for languages other than C/C++, C#, or Lua
- you require actively developed tooling with frequent updates
- you need deep compiler-integrated analysis like clang-tidy

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: linter, developer-tools
- domain: developer-tools, programming-languages, parsers
- platform: windows, cpp, cli
- tags: static-analysis, csharp, lua, code-quality, bug-detection, static-code-analysis, linux, macos

## Member repositories
- Tencent/TscanCode (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:16.079937+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:53:21.392357+00:00, confidence not recorded.
  - readme: https://github.com/Tencent/TscanCode (fetched 2026-08-28T04:06:16.079937+00:00, sha 425475876d3f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
