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.
What's new in 1.6.26
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 | | Windows x86-64 (archive) | oxide-sloc-windows-x64.zip / oxide-sloc-windows-x64.tar.gz | Same exe, zipped/tarred — used by scripts/run.sh + install.sh prebuilt path (.tar.gz preferred on locked-down hosts) | | 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 | | SBOM (CycloneDX) | oxide-sloc.cdx.json / sbom.cdx.json | Syft + cargo-cyclonedx software bill of materials | | SBOM (SPDX) | oxide-sloc.spdx.json | Syft software bill of materials (SPDX 2.3) | | Vulnerability report | grype-report.txt | Grype scan of the CycloneDX SBOM |
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. Supply chain scanned with Syft (SBOM), Grype, and Trivy — full results also in the repository's Security → Code scanning tab. See docs/supply-chain.md. The GPG public key used for signing is oxide-sloc-signing-key.asc.