scc 4.0: Hotspot Analysis Finds the Files That Need the Most Attention
Sloc Cloc and Code 4.0 (scc) – Finding the files that need the most attention

scc, the popular code counter, jumps to version 4.0 with a new hotspot feature that multiplies complexity by commit frequency to identify files that are both complex and frequently changed. This metric, inspired by Adam Tornhill's work, helps developers focus on code that is hard to work with, not just buggy. The release also includes change coupling analysis to reveal hidden dependencies between files. Benchmarks show the new feature is slower than the usual scc run, but still fast enough for practical use.
Google failed because a hotspot flag gives you no action, but a similar idea pointed at an unfamiliar codebase becomes an onboarding map.
- vivzkestrel
- saw this other post on your blog
- https://boyter.org/2010/08/mysql-backups-done-easily/
- is an sqldump actually a backup?
- cnnrrss
Congratulations on the release boyter! scc has been a really useful tool for probing projects. Looking forward to the new features.
- aslakhellesoy
Very interesting. This reminds me a lot of the CRAP metric - a combination of cyclomatic complexity and code coverage.
It would be intersting to combine your «attention» metric with CRAP.