&loctree Got a basic web UI up, with an interactive collapsible tree view and filtering by language. So far it's all a completely statically built page, with javascript taking the raw LOC data and rendering the tree from scratch on every filter. This ran reasonably on the orca codebase, but on chromium I'm getting absolutely destroyed. Going to see how much performance I can get out of the static rendering, if that'll work or if I'll have to set up a local server to stream the data and/or do some server-side html generation.

View full feed

There are various tools that count the lines of code in a project, such as cloc or tokei. I'll use tools like this to get a very rough idea of the scope and complexity of a project. Where I've found these tools to fall short is when I want to get a deeper understanding of the shape of a codebase and answer questions such as which subsystems have the most code, or which languages are more prevelant in which areas. LocTree provides an interactive tree view of a codebase, allowing you to easily see line of code counts for every subdirectory of a project and filter it by language.