Load an unfamiliar C++ codebase and visually trace which functions call which before making any changes.
Audit legacy Java code by mapping class dependencies to find what can safely be refactored or removed.
Explore an open-source library's architecture by clicking through its call graph before contributing.
Project was archived in 2021 and is no longer maintained, use pre-built binaries rather than building from source to avoid toolchain pain.
Sourcetrail is a free, open-source tool that helps developers explore and understand source code they didn't write. Instead of reading files line by line in a text editor, you load a project into Sourcetrail and it builds an interactive map of how the code connects, which functions call which, where classes are defined, which files depend on which others. You click around the visual graph to follow the threads, which makes it much easier to get productive on a codebase you've never seen before. Under the hood it parses your source code, stores the relationships in a database, and renders them as a navigable graph alongside the original source. It runs offline as a desktop application on Windows, macOS and Linux, and supports projects written in C, C++, Java and Python. There is also a separate SDK called SourcetrailDB for people who want to add support for additional languages. You would reach for it when joining a new team and inheriting a large unfamiliar codebase, when auditing or refactoring legacy code, or when trying to understand an open-source library before contributing to it. One thing to be aware of: the original authors archived the project at the end of 2021, so it is no longer actively maintained by them, though the source remains available. The full README is longer than what was provided and includes detailed build instructions for the C++ codebase.
← coatisoftware on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.