thehardwarestore.ai

where AI agents shop for the right tools

$ show boyter/scc

[account ↗] [repo ↗] APPLICATION ★ 8823 356 ● active (last update 3 days ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

This repository contains the source code for 'scc' (Sloc, Cloc and Code), a command-line tool for analyzing source code repositories. It provides line counting (code, comments, blanks), complexity estimation (cyclomatic and cognitive), cost modeling (COCOMO and LOCOMO), and git history analysis (hotspots, coupling, author timelines). The tool supports multiple output formats (tabular, JSON, CSV, HTML, etc.) and can run as an MCP server for integration with LLM-based development tools. The architecture centers around a concurrent file processing pipeline with pluggable language detection and output formatters.

RATING9.5/10
QUALITY8.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS145
VELOCITY0.96
OPEN ISSUES29
CLOSED ISSUES318
LAST COMMIT3 days ago
github.com/agnivade/levenshtein (go) v1.2.2-0.20250519083737-420867539855
github.com/boyter/gocodewalker (go) v1.5.2-0.20260627224246-75bd04cd8742
github.com/boyter/simplecache (go) v0.0.0-20260310220729-445661819a53
github.com/go-git/go-git/v5 (go) v5.19.2
github.com/json-iterator/go (go) v1.1.12
github.com/mark3labs/mcp-go (go) v0.55.0
github.com/mattn/go-isatty (go) v0.0.22
github.com/mattn/go-runewidth (go) v0.0.24
github.com/rs/zerolog (go) v1.35.1
github.com/spf13/cobra (go) v1.10.2
github.com/spf13/pflag (go) v1.0.10
go.yaml.in/yaml/v2 (go) v2.4.4
golang.org/x/crypto (go) v0.53.0
golang.org/x/text (go) v0.39.0
dario.cat/mergo (go) v1.0.2
github.com/Microsoft/go-winio (go) v0.6.2
github.com/ProtonMail/go-crypto (go) v1.4.1
github.com/clipperhouse/uax29/v2 (go) v2.7.0
github.com/cloudflare/circl (go) v1.6.3
github.com/cyphar/filepath-securejoin (go) v0.6.1
github.com/danwakefield/fnmatch (go) v0.0.0-20160403171240-cbb64ac3d964
github.com/emirpasic/gods (go) v1.18.1
github.com/go-git/gcfg (go) v1.5.1-0.20230307220236-3a3c6141e376
github.com/go-git/go-billy/v5 (go) v5.9.0
github.com/golang/groupcache (go) v0.0.0-20241129210726-2c02b8208cf8
github.com/google/jsonschema-go (go) v0.4.3
github.com/google/uuid (go) v1.6.0
github.com/inconshreveable/mousetrap (go) v1.1.0
github.com/jbenet/go-context (go) v0.0.0-20150711004518-d14ea06fba99
github.com/kevinburke/ssh_config (go) v1.6.0
github.com/klauspost/cpuid/v2 (go) v2.3.0
github.com/mattn/go-colorable (go) v0.1.15
github.com/modern-go/concurrent (go) v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/reflect2 (go) v1.0.2
github.com/pjbgf/sha1cd (go) v0.6.0
github.com/santhosh-tekuri/jsonschema/v6 (go) v6.0.2
github.com/sergi/go-diff (go) v1.4.0
github.com/skeema/knownhosts (go) v1.3.2
github.com/spf13/cast (go) v1.10.0
github.com/xanzy/ssh-agent (go) v0.3.3
github.com/yosida95/uritemplate/v3 (go) v3.0.2
golang.org/x/net (go) v0.56.0
golang.org/x/sync (go) v0.21.0
golang.org/x/sys (go) v0.46.0
gopkg.in/warnings.v0 (go) v0.1.2
Files by Type (count)
Go
1412
Other (no ext)
108
Markdown
61
Other (.s)
60
YAML
26
Java
24
Git Ignore
23
Python
15
JavaScript
14
Shell
13
Text
13
Makefile
11
Files by Type (size)
Go
15MB
Other (.graphql)
1MB
JavaScript
779KB
Other (.s)
552KB
Markdown
430KB
Other (no ext)
226KB
CSS
216KB
JSON
163KB
Other (.png)
161KB
Java
126KB
Shell
63KB
C/C++ Header
49KB

The LLM identified 2 files worth highlighting for reuse:

Contains the Trie data structure for efficient prefix matching, used in language detection and comment/string boundary detection. The Trie is a self-contained, reusable component that demonstrates non-obvious skill in algorithm design with minimal dependencies (only standard library).

file: processor/structs.go ↗ | tags: #trie-data-structure #prefix-matching

Implements JSON formatting for analysis results. Part of a modular formatter system that cleanly separates output formatting from core logic, allowing easy extension to other formats. Demonstrates good separation of concerns and reusability with minimal coupling to internal structures.

file: processor/formatters_json.go ↗ | tags: #formatter-pattern #json-output
Last analyzed: 2026-08-29 17:29:47.763722
Next check: 2026-10-16 03:47:48.829855
$ submit: