Hacker News AI· avidianity·· 2 hr agoAI score46
Show HN: Codeint – Measure duplication and complexity drift in AI-written code
Show HN: Codeint – Measure duplication and complexity drift in AI-written code
AI summary
codeint is a Rust tool that measures software entropy in source code via four separate metrics—erosion, duplication, verbosity, and import cycles—rather than a single blended score. It ships with built-in language plugins for TypeScript/JavaScript, Rust, PHP, Dart, and Python, plus sandboxed WebAssembly plugins, and supports ratchet-based enforcement through `codeint check`, `codeint diff <base>`, and `codeint trend`. It reads tracked files and commit history directly from Git objects, scanning laravel/framework (132k production lines) in 0.47s and flutter/packages (434k production lines) in 3.68s on Apple Silicon.
Source: Hacker News AI · github.com