'Source trail' that can visualize the source code for free & easily, it seems to be useful for large-scale development and understanding of legacy code
Software that provides high-performance and secure services is very much appreciated by users. However, the development of such software tends to be complicated and the amount of source code tends to increase. ' Sourcetrail ' is free open source software that visualizes the dependencies in the source code, such as 'how functions and variables are related', which is important for large-scale development, in an easy-to-understand graph.
Sourcetrail --The open-source cross-platform source explorer
As modern software continues to become more sophisticated, the amount of code handled by developers has increased significantly. From this trend, a ' microservice architecture ' that can divide services for each function and simplify management for each service has emerged, but there are also ' monolithic ' systems that consist of a single multifunctional service. Exists.
The amount and complexity of code handled by developers has increased more than 100 times in the last 10 years-GIGAZINE
Coati Software, but was open sourced in 2019.
Complex source code is difficult to understand the whole relationship just by reading. With Sourcetrail, it is possible to visualize the dependencies of functions and variables in code written in C, C ++, Java, and Python in a graph. Sourcetrail was originally provided as a commercial license by the developer
Source code search engine 'Sourcetrail' OSS, released on GitHub: CodeZine
Sourcetrail --Introduction --YouTube
You can see how to use Sourcetrail by watching the official movie below.
First, start Sourcetrail and load the project.
it may take time to create an index if the code base is large.
The source code is indexed. In addition, it seems that
For example, in the Functions category, you can visualize function dependencies.
You can search for objects by entering keywords in the search window on the upper left.
Functions are displayed in orange, variables are displayed in blue, and classes are displayed in gray.
It also visualizes class relationships so that you can see them at a glance.
Visual Studio Code you will be able to display are prepared plug-in for, functions and classes that were selected on Visual Studio Code in Sourcetrail.
sourcetrail --Visual Studio Marketplace