Source: https://seerepo.com/compare/2dust/v2rayNG/vs/square/leakcanary
Markdown source: https://seerepo.com/compare/2dust/v2rayNG/vs/square/leakcanary.md
Description: v2rayNG and leakcanary share 3 technologies: Jetpack Compose, lifecycle-runtime-ktx, and androidx.core:core-ktx. Both are written in Kotlin.

# v2rayNG vs leakcanary

v2rayNG and leakcanary share 3 technologies: Jetpack Compose, lifecycle-runtime-ktx, and androidx.core:core-ktx. Both are written in Kotlin.

- [2dust/v2rayNG](https://seerepo.com/r/2dust/v2rayNG): A V2Ray client for Android, support Xray core and v2fly core
- [square/leakcanary](https://seerepo.com/r/square/leakcanary): A memory leak detection library for Android.

## What they share and what sets them apart

- In common: Jetpack Compose, lifecycle-runtime-ktx, androidx.core:core-ktx
- Only in v2rayNG: lifecycle-runtime-compose, androidx.appcompat:appcompat, androidx.camera:camera-compose, coil-compose, com.google.zxing:core
- Only in leakcanary: androidx.sqlite:sqlite-framework, Neo4j, com.google.dagger:hilt-android, org.jetbrains.kotlin:kotlin-stdlib, Google, androidx.startup:startup-runtime, androidx.fragment:fragment, androidx.compose.material:material-icons-core

## Side by side

| | v2rayNG | leakcanary |
|---|---|---|
| Size | 31,634 lines written, 189 code files | 113,223 lines written, 480 code files |
| Who writes it | 1.2% of its commits signed by AI. With GitHub Copilot and Claude Code | 17.3% of its commits signed by AI. With Claude Code |
| Activity | Last push November 1, 2026, 1,678 commits, 65,340 stars | Last push October 21, 2026, 2,210 commits, 30,007 stars |
| Tests | 25 test files. 16.9% of its code files have a test that imports them | 206 test files. 48.5% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, v2rayNG or leakcanary?

leakcanary, with 113,223 lines written; v2rayNG has 31,634.

The proof: [square/leakcanary's code at commit eb60b0b](https://github.com/square/leakcanary/tree/eb60b0be53732aa016c79b7774b497770ad1e4f3)

### Which has more GitHub stars, v2rayNG or leakcanary?

v2rayNG, with 65,340 stars; leakcanary has 30,007.

The proof: [2dust/v2rayNG on GitHub](https://github.com/2dust/v2rayNG)

### Which has more tests, v2rayNG or leakcanary?

leakcanary, with 206 test files; v2rayNG has 25.

The proof: [square/leakcanary's code at commit eb60b0b](https://github.com/square/leakcanary/tree/eb60b0be53732aa016c79b7774b497770ad1e4f3)

### Which was updated more recently, v2rayNG or leakcanary?

v2rayNG: its last push was on November 1, 2026, and leakcanary's on October 21, 2026.

The proof: [2dust/v2rayNG's commits on GitHub](https://github.com/2dust/v2rayNG/commits)

### Which has more commits signed by AI, v2rayNG or leakcanary?

leakcanary: an AI signed 17.3% of its commits, with Claude Code; in v2rayNG, 1.2%.

The proof: [the commits each tool signed in square/leakcanary](https://seerepo.com/r/square/leakcanary/ai)

## Sources

- 2dust/v2rayNG: Read on November 5, 2026, at commit 57907cf (https://github.com/2dust/v2rayNG/tree/57907cf354d9769200ed4717b4430d605abe0952)
- square/leakcanary: Read on November 8, 2026, at commit eb60b0b (https://github.com/square/leakcanary/tree/eb60b0be53732aa016c79b7774b497770ad1e4f3)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
