CI / cargo fmt (push) Has been cancelled
CI / cargo clippy (macos-latest) (push) Has been cancelled
CI / cargo clippy (ubuntu-latest) (push) Has been cancelled
CI / cargo clippy (windows-latest) (push) Has been cancelled
CI / cargo test (macos-latest) (push) Has been cancelled
CI / cargo test (ubuntu-latest) (push) Has been cancelled
CI / cargo test (windows-latest) (push) Has been cancelled
CI / cargo build (macos-latest) (push) Has been cancelled
CI / cargo build (ubuntu-latest) (push) Has been cancelled
CI / cargo build (windows-latest) (push) Has been cancelled
CI / cargo build --release (macos-latest) (push) Has been cancelled
CI / cargo build --release (ubuntu-latest) (push) Has been cancelled
CI / cargo build --release (windows-latest) (push) Has been cancelled
CI / CLI smoke (macos-latest) (push) Has been cancelled
CI / CLI smoke (ubuntu-latest) (push) Has been cancelled
CI / CLI smoke (windows-latest) (push) Has been cancelled
CI / Minimal E2E (macos-latest) (push) Has been cancelled
CI / Minimal E2E (ubuntu-latest) (push) Has been cancelled
CI / Minimal E2E (windows-latest) (push) Has been cancelled
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
53 lines
2.2 KiB
Markdown
53 lines
2.2 KiB
Markdown
# By the numbers
|
||
|
||
Data collected on 2026-06-04.
|
||
|
||
## Size
|
||
|
||
| Metric | Value |
|
||
| ------ | ----- |
|
||
| Total source files | 12 |
|
||
| Total lines of code | ~7,535 |
|
||
| Largest file | `src/tunnel.rs` (3,526 lines) |
|
||
| Second largest | `src/socks5.rs` (789 lines) |
|
||
| Third largest | `src/framing.rs` (776 lines) |
|
||
| Test files | 0 standalone test files (all tests are inline `#[cfg(test)]` modules) |
|
||
| Languages | Rust only |
|
||
|
||
```mermaid
|
||
xychart-beta
|
||
title "Lines of code by module"
|
||
x-axis [tunnel, socks5, framing, tls, main, generate, redact, cli, config, connkey, errors, signal]
|
||
y-axis "Lines" 0 --> 3600
|
||
bar [3526, 789, 776, 609, 601, 440, 242, 237, 118, 93, 82, 22]
|
||
```
|
||
|
||
## Activity
|
||
|
||
- **Commits:** 16 total (as of HEAD)
|
||
- **Active development period:** June 3–4, 2026 (~2 days)
|
||
- **Most changed file:** `src/tunnel.rs` — underwent major rewrites from per-request HTTPS to persistent multiplexed tunnel, then to binary framing, then to reconnect/shutdown handling.
|
||
- **Second most changed:** `.github/workflows/ci.yml` — iterated on cross-platform E2E cleanup and smoke tests.
|
||
|
||
## Bot-attributed commits
|
||
|
||
- **Bot commits:** 7 of 16 (44%)
|
||
- **Bot types:** `factory-droid[bot]`
|
||
- Note: this is a lower bound. Inline AI tools like Copilot leave no trace in git history.
|
||
|
||
## Complexity
|
||
|
||
| File | Lines | Description |
|
||
| ---- | ----- | ----------- |
|
||
| `src/tunnel.rs` | 3,526 | Core tunnel engine, listener, connector, SOCKS5 proxy, reconnect loop, stream mux, ~30 inline tests |
|
||
| `src/socks5.rs` | 789 | SOCKS5 protocol parser, greeting, auth, CONNECT, target resolution |
|
||
| `src/framing.rs` | 776 | Binary frame serialization, deserialization, reader/writer, target encoding |
|
||
| `src/tls.rs` | 609 | rustls config builders, certificate loading, identity validation, fingerprinting |
|
||
| `src/main.rs` | 601 | CLI entry point, command dispatch, connection key integration, argument parsing helpers |
|
||
|
||
## Dependency count
|
||
|
||
- **Runtime dependencies:** 26 crates
|
||
- **Dev dependencies:** 1 crate (`tempfile`)
|
||
- **Largest dependency families:** Tokio ecosystem (`tokio`, `tokio-util`, `tokio-rustls`), rustls ecosystem (`rustls`, `rustls-pki-types`, `rustls-pemfile`), Hyper ecosystem (`hyper`, `hyper-util`, `http-body-util`, `tower-service`)
|