oxide-sloc

Nima Shafie·NimaShafie.OxideSLOC

Rust-based SLOC analysis and unit test metrics workbench

oxide-sloc is a code metrics workbench that performs SLOC (Source Lines of Code) analysis and unit test detection across 41 programming languages. It provides a CLI, a localhost web UI, rich HTML reports, and PDF export. Features include language breakdown, IEEE 1045-1992 counting standards, git webhook integration, and test/production code separation.

winget install --id NimaShafie.OxideSLOC --exact --source winget

Latest 1.6.18·August 24, 2026

Release Notes

Download

Platform File Notes
Linux x86-64 oxide-sloc-linux-x86_64 Static binary (musl) — works on any x86-64 Linux
Linux arm64 oxide-sloc-linux-arm64 Requires glibc ≥ 2.17 (Raspberry Pi 4, AWS Graviton, Ampere, etc.)
Windows x86-64 oxide-sloc-windows-x86_64.exe Windows 10/11
macOS x86-64 oxide-sloc-macos-x86_64 Intel Mac
macOS Apple Silicon oxide-sloc-macos-arm64 M1/M2/M3/M4 Mac
Vendor archive vendor.tar.gz.aa + .ab + .ac + vendor.checksums.sha256 Rust dependency sources (split gzip parts) for air-gapped builds

Checksums for all release assets are in SHA256SUMS.txt. GPG detached signatures (.sig), Sigstore cosign bundles (.bundle), and SLSA provenance attestations (.sigstore.json) are included for each binary. The GPG public key used for signing is oxide-sloc-signing-key.asc.

Quick install

# Linux x86-64
curl -Lo oxide-sloc https://github.com/oxide-sloc/oxide-sloc/releases/download/v1.6.18/oxide-sloc-linux-x86_64
chmod +x oxide-sloc && sudo mv oxide-sloc /usr/local/bin/

# Linux arm64
curl -Lo oxide-sloc https://github.com/oxide-sloc/oxide-sloc/releases/download/v1.6.18/oxide-sloc-linux-arm64
chmod +x oxide-sloc && sudo mv oxide-sloc /usr/local/bin/

# macOS (Apple Silicon)
curl -Lo oxide-sloc https://github.com/oxide-sloc/oxide-sloc/releases/download/v1.6.18/oxide-sloc-macos-arm64
chmod +x oxide-sloc && sudo mv oxide-sloc /usr/local/bin/

# macOS (Intel)
curl -Lo oxide-sloc https://github.com/oxide-sloc/oxide-sloc/releases/download/v1.6.18/oxide-sloc-macos-x86_64
chmod +x oxide-sloc && sudo mv oxide-sloc /usr/local/bin/

# Windows — rename and add to PATH
ren oxide-sloc-windows-x86_64.exe oxide-sloc.exe

# Verify checksum (Linux / macOS)
sha256sum --check SHA256SUMS.txt

# Verify GPG signature (Linux / macOS)
gpg --import oxide-sloc-signing-key.asc
gpg --verify oxide-sloc-linux-x86_64.sig oxide-sloc-linux-x86_64

# Verify cosign bundle (keyless — requires cosign installed).
# The identity flags pin the signature to this repo's release workflow.
cosign verify-blob \
  --bundle oxide-sloc-linux-x86_64.bundle \
  --certificate-identity-regexp '^https://github.com/oxide-sloc/oxide-sloc/\.github/workflows/release\.yml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  oxide-sloc-linux-x86_64

Air-gapped build

# Download source + vendor archive from this release, then on the air-gapped machine:
bash scripts/internal/airgap-build.sh

Or build from source (requires Rust 1.98+)

cargo install --git https://github.com/oxide-sloc/oxide-sloc oxide-sloc

What's Changed

• chore:update dist Windows binaries (v1.6.17) by @oxide-sloc-toolchain-bot[bot] in https://github.com/oxide-sloc/oxide-sloc/pull/119 • chore:update dist Linux binary (v1.6.17) by @oxide-sloc-toolchain-bot[bot] in https://github.com/oxide-sloc/oxide-sloc/pull/120

Full Changeloghttps://github.com/oxide-sloc/oxide-sloc/compare/v1.6.17...v1.6.18

Installer type: zip

x64DAB5B02EB7056A777BCB6D43ECB8E41F7F3DE8DA0F3EA5BD77A13ECC5C47133F

Details

Homepage
https://github.com/oxide-sloc/oxide-sloc
License
AGPL-3.0
Publisher
Nima Shafie
Support
https://github.com/oxide-sloc/oxide-sloc/issues
Moniker
oxide-sloc

Tags

clicode-analysisdeveloper-toolsmetricsrustslocsource-lines-of-code

Older versions (6)

1.6.17
x64690CE94E58F9C9E672D3AEFAF7ECA86E2DD3E06AFEABDA74837EA03C1913EFA8
1.6.16
x6444B8B2B02646A13022667E77B28E56D5D9A1CEEFE403BD8DC559DA13EF205718
1.5.70
x64DFD8A47A866A729249DEFA95F49A60FDF769E0A2965C025F1E734A664842D000
1.5.68
x6480BCD95C76CF733031B8F2A996B83743A24B16B6299341D408F4C54A80AD4F3B
1.5.66
x6418588D4797C70099DF9DB80C123886BB38523F4532586E548024EE3C034EA04D
1.5.6
x64316E3B22059FBE47409065268A7B8A4F313C0CD945DBAE87864AB9EDB014F107